Two things here:
1) The reason for #define'ing multiple statics has nothing to do with readabili…
Sven —
cmuratori Most of the time, Handmade Hero will not be buildable as separate source files. It's o…
Most of the time, Handmade Hero will not be buildable as separate source files. It's only an acc…
AFAIK this is just straight-up Windows API nonsense. It was supposed to give the physical dimens…
I guess I don't see what is "ad hoc" about the current scheme, though. Assuming you move out of …
Thom —
Hey everybody. I've been a game programmer professionally for about a year now, and I recently st…
[quote=5sw]
When you read a function defined with such a macro you don't know which parameters it…
I've tried several text editors, but none does have really convinced me. Since Handmade Hero show…
Sven —
Nimbal The macros for dealing with function pointers I can somewhat understand. With their curren…
Justin —
5sw @insanoflex512 Nope, not at all. Was there anything unclear in my explanation why I don't lik…
As mentioned Casey already addressed this - he is trying to communicate intent. The important th…
Casey is using a technique called a "unity build." The basic idea is that, from the compiler's p…
insanoflex512 okay so you saw macros and said "Blasphemy!"
:lol:
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, …
These are supposed to give the physical size of the screen i millimeters. But I noticed they diff…
Ianuarius
Casey says that he doesn't think people should be given the option to rebind the keys.…
Sven —
@insanoflex512 Nope, not at all. Was there anything unclear in my explanation why I don't like th…
5sw Definitely not with global_variable, local_persist and internal.
For GAME_UPDATE_AND_RENDER …
Casey mentioned he only wants 1 (well 2 now with the platform separatly) compile unit, so for him…
rathersleepy You may find this useful. The (free) source code download for this book:
Modern X86…
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 mu…
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 comp…
Sven —
I am really concerned about the (ab)use of macros here. The three different defines for static ma…
Dejan —
A discussion in the game subforum got me thinking about ways to architect platform independent co…
Tom —
Hi I am trying to port the game using libgdx java framework.
Does the game licence allow me to d…
Roni —
Setting the SUBSYSTEM did not fix it alone but I got it working by changing main to wmain. Seems …