Nope! That's totally a typo... I'm 0 for 2 on day 67 :( NEED MORE CAFFEINE.
I'll make a note …
Chris —
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:
…
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…
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 —
C++'s unofficial motto should be: "Theoretically, yes. In practice, no."
Sometimes it's "Yes and …
Chris —
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 —
I've also done something similar in the past:
https://github.com/ChrisG0x20/five-pixel-font
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 past…
I love how Casey can just go on like that for like a full 5 minutes with a completely straight fa…
sol_hsa Reading this thread has been really surprising, I would have expected "const" to help the…
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 d…
It looks like it's either getting an error from the previous line or you have a typo in that curr…
Ale —
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…
Shouldn't the first flag value be set to 1 (1 << 0) instead of 2 (1 << 1) ?
The isSe…
Hristo —
This is a good suggestion but I don't want to take the source code yet (not at least for a few mo…
Uran —
I didn't know where to post this so i posted it here.
Here is Casey's answer to post ads on the …
Bigpet —
Well "v2 d = { 7, 8 };" is a C++ thing, just not the same as the C thing with the same syntax. Fo…
There was a post on the forum about adding debugtext on screen:
https://forums.handmadehero.org/…
ChrisG0x20 Just because I didn't see it yet on the thread. Here is an example of const helping th…
Stefan —
Why don't you try running Casey's code to see if it behaves the same on your system?
ChrisG0x20 v2 d = { 7, 8 }; This is basically the same as the previous option only with an additi…
Hristo —
This is why you never turn off the unused variables and parameters warning!
I have a question ab…