Beispiel #1
0
/*
 *  Main procedure.  Creates game controller, user interface and OpenGL context.
 */
int main(int argc, char *argv[]) {

	// Create window
	CreateInterface();
	
	// Create OpenGL Context
    GLContext g;

    // Create game controller
    GameController game_controller(g);

    // Start game loop
    StartGameLoop(game_controller, g);
	
	
	return 0;

}
Beispiel #2
0
int main() {
    DummyStrategy dummy_strategy;
    GameController game_controller(&dummy_strategy);
    game_controller.Start(false);
    return 0;
}