On a 4Gb 64 bit win 7 laptop as well, and my limit is around the 1Gb mark (to be safe am now only …
To be fair to the designers, "const" is fundamentally about compiler-checked documentation, which…
Shouldn't the collision rules hash be off the entity struct? Rather than a global table? Also: In …
Well, as long as you can do memset directly on the data segment, nothing in it is truly constant..…
But it just shows the stupidity involved in the situation. They didn't understand , one of which …
(Didn't quite get to this today, but I'll try to get to it tomorrow!)Casey
Stefan —
Casey mentions on day 24 that virtualAlloc memory is always contiguous. I'm guessing, but maybe vi…
I reduced it to 1Gb now and sometimes it still doesnt work the first few times. Then all of a sudd…
The main reason why it's there is because the committee wanted to push people off C-style casts a…
Important caveat, though: he's specifically talking about , not all function calls.Casey
Nope! That's totally a typo... I'm 0 for 2 on day 67 :( NEED MORE CAFFEINE. I'll make a note to…
Chris —
Yeah, const_cast sucks for sure. I suspect they threw it in there just because they already had po…
Just curious, but in the AddRadiusTo() method in handmade_math.h shouldn't it be the following: A…
You have to set hanmadeinternal as compiler flag, or else it'll fail. Search the forum for a corre…
His rants are usually pretty hilarious. It would be awesome if these were archived somewhere as we…
Const basically never helps with optimizations. The places where it can help are so rare, I thin…
Ah! Thanks for catching that... I will go write that down so we remember to fix it tomorrow.Case…
Chris —
Sometimes it's :) I agree that's const is nice for documentation though. It's swell when you're …
Chris —
I apologize for not being totally clear about that one. Bigpet is totally correct about that synta…
so I am not really a emacs user. but can understand it since I a vim user. If you are going to use…
Chris —
I've also done something similar in the past:
I had a similar error whenever I tried compiling handmade hero during the first few weeks, due to …
Well there is no INTERNAL in the source, only internal. I'd suggest making sure you did copy paste…
I love how Casey can just go on like that for like a full 5 minutes with a completely straight fac…
The C++ FQA (the smug answer to the C++ FAQ) has a great way of explaining this. C++'s unofficial…
In that case I'm out of ideas, sorry I couldn't be of more help.
Ale —
Thanks StarchyPancakes, but I didn't touch the original code just paste from the download... I don…
It looks like it's either getting an error from the previous line or you have a typo in that curre…
Ale —
Sorry guys, Iam just in day 11 with the Hero, I got a problem with the compilation in VS12 this ap…
There are many not checks on EntityFlag_Nonspatial. Maybe it would better to rename it to EntityFl…