Andrew Bromage  — 3 years, 4 months

cmuratori They didn't understand that there are two concepts at play, one of which is always impo…

Shouldn't the collision rules hash be off the entity struct? Rather than a global table? Also: I…
Jari Komppa  — 3 years, 4 months

Well, as long as you can do memset directly on the data segment, nothing in it is truly constant.…
Casey Muratori  — 3 years, 4 months

But it just shows the stupidity involved in the situation. They didn't understand that there are…

(Didn't quite get to this today, but I'll try to get to it tomorrow!) - Casey

Casey mentions on day 24 that virtualAlloc memory is always contiguous. I'm guessing, but maybe v…

I reduced it to 1Gb now and sometimes it still doesnt work the first few times. Then all of a sud…
Andrew Bromage  — 3 years, 4 months

ChrisG0x20 I suspect they threw it in there just because they already had pointer aliasing anyway…
Casey Muratori  — 3 years, 4 months

Important caveat, though: he's specifically talking about inlined functions, not all function cal…

Nope! That's totally a typo... I'm 0 for 2 on day 67 :( NEED MORE CAFFEINE. I'll make a note …
Chris  — 3 years, 4 months

Yeah, const_cast sucks for sure. I suspect they threw it in there just because they already had p…

Just curious, but in the AddRadiusTo() method in handmade_math.h shouldn't it be the following: …
Roderic Bos  — 3 years, 4 months

You have to set hanmadeinternal as compiler flag, or else it'll fail. Search the forum for a corr…

His rants are usually pretty hilarious. It would be awesome if these were archived somewhere as w…
Casey Muratori  — 3 years, 4 months

sol_hsa Reading this thread has been really surprising, I would have expected "const" to help the…

Ah! Thanks for catching that... I will go write that down so we remember to fix it tomorrow. -…
Chris  — 3 years, 5 months

C++'s unofficial motto should be: "Theoretically, yes. In practice, no." Sometimes it's "Yes and …

I apologize for not being totally clear about that one. Bigpet is totally correct about that synt…

so I am not really a emacs user. but can understand it since I a vim user. If you are going to u…
Chris  — 3 years, 5 months

I've also done something similar in the past: https://github.com/ChrisG0x20/five-pixel-font
Iker Murga  — 3 years, 5 months

I had a similar error whenever I tried compiling handmade hero during the first few weeks, due to…
Kasper Sauramo  — 3 years, 5 months

Well there is no INTERNAL in the source, only internal. I'd suggest making sure you did copy past…

I love how Casey can just go on like that for like a full 5 minutes with a completely straight fa…
Andrew Bromage  — 3 years, 5 months

sol_hsa Reading this thread has been really surprising, I would have expected "const" to help the…
Ruy Calderon  — 3 years, 5 months

In that case I'm out of ideas, sorry I couldn't be of more help.
Ale  — 3 years, 5 months

Thanks StarchyPancakes, but I didn't touch the original code just paste from the download... I d…
Ruy Calderon  — 3 years, 5 months

It looks like it's either getting an error from the previous line or you have a typo in that curr…
Ale  — 3 years, 5 months

Sorry guys, Iam just in day 11 with the Hero, I got a problem with the compilation in VS12 this …

There are many not checks on EntityFlag_Nonspatial. Maybe it would better to rename it to EntityF…

Just a copy/paste error, but Entity is used in place of TestEntity when checking flags: 1 2if(IsS…