programming

more startup : sep 04

for a standalone game:

gbGame game(".games"); finds the current game directory and loads its .game

game.show(); shows the gui from the already created guiClass from the .game

class gbGameGui
{

public:

gbGameGui(gbGame* game);

public:

virtual void show();

};

with the editor

edEditor editor(".games"); does all the same game init stuff plus all the editor stuff editor.show() shows the editor.

note edEditor is not derived from gbGameGui