I don't use VisualStudio but it is fairly typical that .cpp files will be compiled separately and…
When you get errors, which file are you compiling? Win32Handmade.cpp?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
3…
But is Win32Handmade.cpp included in this file you are showing? Or is this file included in Win32…
I have the typedef's in Win32Handmade.cpp. I just notices a VS2013 settings file in the hh source…
no, not me. i am not even saying i agree. i just told you what i think HE meant.
ps. you don't n…
Bah, I can't read :) stdint.h with uint32_t is not the problem! oliholli explained correctly what…
I guess you still haven't typedef'd uint32, uint64, etc. The compiler is looking at uint32 above …
Oh, you want to overload every single operator/function also? In this case operator +=. I don't t…
My nickname, "Pseudonym", was chosen 25 years ago when I was reading GEB as an impressionable tee…
This error means that "uint32_t" is unknown to compiler. Have you included <stdint.h> somew…
Are you using a single translation unit? Maybe some of your includes are not in proper order?
no, that wouldn't help, since you are actually adding the .Value members (that are all floats). m…
Ok, so the first error is
Error 1 error C2146: syntax error : missing ';' before identifier 'Sa…
Just start with first error. Don't look at big error list from bottom or middle.
Typically by fi…
So maybe on my computer they aren't in the same compile unit. I'm sure I've missed something. I'm…
As far as I know the biggest difference is that with DirectInput on Xbox controller left and righ…
I asked Casey on the stream the other day if he'd read the book "GEB" (Godel, Escher, Bach) by Do…
Just finished watching day 45 and I had a quick question about the geometric movement search (or …
Wilson —
@zoo
Thanks for all the insights about math. It really boils down to what you talked about, tha…
Blog post is about C, not C++.
Not sure I understand what you are suggesting. Something like this?
1
2
3
4
5
6
7
8
9
10…
Sometimes I wonder if I can make a career over how to avoid c++. As long as I do it in c++ it can…
Cant you create a xcoord type, ycoord type and so on, to let the compiler find those typos? Yes y…
What do you mean different types? char, float and double? How that will work? Afaik all types nee…
Shouldn't you really make the Z, X and Y coords different TYPES? Seems to me you make a lot of ty…
Blake —
Aaah okay. I've heard of unity builds but didn't realize that's what he was doing in the stream. …
win32_handmade.cpp includes math.h, typedef the "custom" types and then includes handmade.h and h…
I have been working through the days, and mostly everything has been working, but my code is 'a l…
Mox —
Hi,
I believe the SetCamera code contains a typo.
The code that checks the dormant entities posi…