Sven —
Yes, this makes it easier to write. But code is written once but read many times more. And these …
Justin —
Yeah, basically, you didn't really learn why he did it, you just said it was macro abuse. I do ag…
As mentioned Casey already addressed this - he is trying to communicate intent. The important thi…
Casey is using a technique called a "unity build." The basic idea is that, from the compiler's pe…
Remember. Playing a game is serious buisness! Maybe even more so than writing them. I know people …
The macros for dealing with function pointers I can somewhat understand. With their current use, t…
These are supposed to give the physical size of the screen i millimeters. But I noticed they diffe…
I agree 100% with this. I wouldn't even consider playing a game that don't have this feature. And…
Sven —
@insanoflex512 Nope, not at all. Was there anything unclear in my explanation why I don't like tho…
For GAME_UPDATE_AND_RENDER I must have missed the explanation. Can you remember on which day this…
Casey mentioned he only wants 1 (well 2 now with the platform separatly) compile unit, so for him …
Great, thank you! This book can be useful too : X86 Assembly Language and C Fundamentals Hardcov…
Justin —
okay so you saw macros and said "Blasphemy!"
Sven —
I think the best way to go would be to have the platform layer take care of all the options using …
Sven —
Definitely not with global_variable, local_persist and internal. For GAME_UPDATE_AND_RENDER I must…
robby —
Hi 5sw, so you don't agree the reasons casey was explaining when using those macros?
Sven —
Yes, but this isn't helping if the .h file is included in two different .cpp files which are compi…
Sven —
I am really concerned about the (ab)use of macros here. The three different defines for static mak…
Dejan —
A discussion in the game subforum got me thinking about ways to architect platform independent cod…
Tom —
Hi I am trying to port the game using libgdx java framework. Does the game licence allow me to do …
Roni —
Setting the SUBSYSTEM did not fix it alone but I got it working by changing to . Seems like it wa…
Is it SDL.lib SDLmain.lib or SDL2.lib SDL2main.lib? Have you tried to set the /SUBSYSTEM for the l…
Roni —
I have become a huge fan of Casey's .bat-file building during this project and now I'm trying to u…
Oh I'm not suggesting doing all the math in 64 bit! Once you have the offset for a player (or what…
Every h file has this in it: #if not hfilename (Filecontent) #define hfilename #endif
64-bit integer is definitely not a good option, because we'd end up having to do a bunch of 64-bit…
Well, some of ssylvan's concerns have already been answered through this week, but I believe Casey…
If the implementation of PushSize_() is going to stay in handmade.h, it should be defined as inlin…
Casey, if you are thinking of adding more time at the end of the stream to review everything, I wo…