We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Casey Muratori
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…
»
Dustin Specht
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:
»
Iker Murga
I had a similar error whenever I tried compiling handmade hero during the first few weeks, due to …
»
Kasper Sauramo
Well there is no INTERNAL in the source, only internal. I'd suggest making sure you did copy paste…
»
Nines Baobaberson
I love how Casey can just go on like that for like a full 5 minutes with a completely straight fac…
»
Andrew Bromage
The C++ FQA (the smug answer to the C++ FAQ) has a great way of explaining this. C++'s unofficial…
»
Ruy Calderon
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…
»
Ruy Calderon
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…
»
Kim Jørgensen
There are many not checks on EntityFlag_Nonspatial. Maybe it would better to rename it to EntityFl…
»
Matt Campbell
Just a copy/paste error, but Entity is used in place of TestEntity when checking flags:
»
Simon Anciaux
Shouldn't the first flag value be set to 1 (1 << 0) instead of 2 (1 << 1) ? The isSet function ret…
»
Hristo
This is a good suggestion but I don't want to take the source code yet (not at least for a few mon…
»
Uran
I didn't know where to post this so i posted it here. Here is Casey's answer to post ads on the s…
»
Bigpet
Well "v2 d = { 7, 8 };" is a C++ thing, just not the same as the C thing with the same syntax. For…
»
Roderic Bos
There was a post on the forum about adding debugtext on screen: it suggested sysfont.hpp which wo…
»
Jari Komppa
I wouldn't call that "helping ocmpiler generate better code" but rather "obscure language featur…
»
Stefan
Why don't you try running Casey's code to see if it behaves the same on your system?
»
Mārtiņš Možeiko
No, this is not same as previous. This is not even C++. This is pure C syntax. You can initialize…
»
Hristo
This is why you never turn off the unused variables and parameters warning! I have a question abou…
»
d7samurai
I use a simple fixed-size lookup table with the character code as the key even for Unicode (reser…
»
Chris
Just because I didn't see it yet on the thread. Here is an example of const helping the compiler g…
»
Chris
I just read the chapter about this in Scott Meyers's latest book ( ). Without reprinting the whol…
»
Patrick Lahey
A lot of people find the libraries easy to use and helpful. It looks like stb_truetype.h could f…
»
Neil Blakey-Milner
If you already have something to draw rectangle bitmaps into the main bitmap, it should be fairly…
»
The_8th_mage
I recently made a small game using the *buffer format casie is using, independent of the os. i fou…
»