Sven —
Aren't you worried that using this approach compile times will get much too long later on?
Most of the time, Handmade Hero will not be buildable as separate source files. It's only an acci…
AFAIK this is just straight-up Windows API nonsense. It was supposed to give the physical dimensi…
I guess I don't see what is "ad hoc" about the current scheme, though. Assuming you move out of c…
Thom —
Hey everybody. I've been a game programmer professionally for about a year now, and I recently sta…
On second thought, I fully agree with you that those function signature macros aren't really usef…
I've tried several text editors, but none does have really convinced me. Since Handmade Hero showe…
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…