Forum archive
HELP: inner workings of src code
- I am trying to understand the way how Duke Nukem 3D starts up a game from initial execution, to game loop. But the source codes are so big and huge and really complex.
I was wondering if someone who knows the insides of the Duke Nukem 3D source code to write a quick outline of the functions getting called, the game init stage, then to the game loop stage. This would help a lot for potential developers to quickly get a grip on the inner workings of the game. - Start at main(), or app_main() if looking at the JFDuke3D code, and step through it that way. There's a comment on the start of the main loop that should be rather difficult to miss. There's really not a whole lot of stuff going on before the game begins.
Jonathon