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.
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…
»
mojobojo
Casey[/quote] I completely missed that, thank you for clearing that up.
»
Casey Muratori
Yep, there's nothing special about return(0). Or return((0)) for that matter :) It's free to add…
»
Jari Komppa
I've found that coding conventions are one thing that no two random C programmer ever agrees on. S…
»
Jari Komppa
Also, some compilers actually optimize zero-setting for-loops into memset calls. Googling about th…
»
Livet Ersomen Strøm
If you're not using SIMD instructions () where applicable, you are already writing what Casey cal…
»
Andrew Bromage
Good point. I didn't think about small blocks.
»
Livet Ersomen Strøm
Casey[/quote] Ah ok. Sorry about that. Maybe have to work on "the tone of my posts". I ment no off…
»
David Owens II
Yeah, my input is 440bytes per frame. I haven't looked to see how big Casey's version is. But even…
»
Casey Muratori
In general, I don't like the tone of your posts, so I will not be reading them in the future.Case…
»
Casey Muratori
The file is large because it is actually saving the memory that is allocated, not just the 64 meg…
»
Rowan Crawford
There's not much more to it. If the program is running the game loop calls this update:aDelta eac…
»
mojobojo
Casey[/quote] I looked back at the video and it was just me misunderstanding what happened in the …
»
d7samurai
You're making the invalid assumption that memory access is the bottleneck, as if program perform…
»
David Owens II
The point is less memory reads per instruction.
»