So basically the code that actually does stuff in the game, managing it overall, yes?
And the stuff before it is all of the initialization code, like the title screen, allocating memory, loading files, setting up weapons and NPC's, preparing rects, etc.?
I wonder how it determines that though.