Hristo —
This is why you never turn off the unused variables and parameters warning! I have a question abou…
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…
A lot of people find the libraries easy to use and helpful. It looks like stb_truetype.h could f…
If you already have something to draw rectangle bitmaps into the main bitmap, it should be fairly…
I recently made a small game using the *buffer format casie is using, independent of the os. i fou…
Casey[/quote] I completely missed that, thank you for clearing that up.
Yep, there's nothing special about return(0). Or return((0)) for that matter :) It's free to add…
I've found that coding conventions are one thing that no two random C programmer ever agrees on. S…
Also, some compilers actually optimize zero-setting for-loops into memset calls. Googling about th…
If you're not using SIMD instructions () where applicable, you are already writing what Casey cal…
Good point. I didn't think about small blocks.
Casey[/quote] Ah ok. Sorry about that. Maybe have to work on "the tone of my posts". I ment no off…
Yeah, my input is 440bytes per frame. I haven't looked to see how big Casey's version is. But even…
In general, I don't like the tone of your posts, so I will not be reading them in the future.Case…
The file is large because it is actually saving the memory that is allocated, not just the 64 meg…
There's not much more to it. If the program is running the game loop calls this update:aDelta eac…
Casey[/quote] I looked back at the video and it was just me misunderstanding what happened in the …
You're making the invalid assumption that memory access is the bottleneck, as if program perform…
The point is less memory reads per instruction.
Casey[/quote] Ah yes. But thats a different thing. Some instructions must have 16 bytes alignment?…
Maybe the OP is not calling your Win32RecordInput(&Win32State, NewInput) in the game loop? @mojobo…
SIMD I havent any experience with. But for sure, it can't make your memory or cache faster. This …
Err, that's what the codebase already does? Not sure what you guys are saying here... when you st…
This is highly erroneous. Data alignment makes a massive difference, full stop. If you write sl…
Yeah, just to follow up on this further: it's a bad idea to do something like "I tested to see if …
Actually, the answer is usually "it depends" :) Sometimes the system memset is actually because …
I was just about to mention something to Kladdehelvete about SIMD, but I see Casey took care of it…
This is highly erroneous. Data alignment makes a massive difference, full stop. If you write sl…