Exemplo n.º 1
0
int main(int argc, char **argv) {
	CApp app;
	app.setStartScreen(new IntroScreen());
	app.setStartScreen(new NewGameScreen());

	return app.OnExecute();
}
Exemplo n.º 2
0
//Starting point of program
int main(int argc, char* argv[]){
    CApp theApp;

    // START DISPLAY SDL VERSION
    SDL_version compiled;
    SDL_VERSION(&compiled);
    printf("We compiled against SDL version %d.%d.%d ...\n",
           compiled.major, compiled.minor, compiled.patch);
    // END DISPLAY SDL VERSION

    return theApp.OnExecute();
}
Exemplo n.º 3
0
int main(int argc, char* argv[]) {
    CApp theApp;

    return theApp.OnExecute();
}
Exemplo n.º 4
0
int main() {
  CApp theApp;
  
  return theApp.OnExecute();
}
Exemplo n.º 5
0
int main(int argc, char* argv[]) {
	srand(time(0));
    CApp theApp;
 
    return theApp.OnExecute();
}
Exemplo n.º 6
0
int main(int argc, char **argv) {
    CApp theApp;
 
	preparePath(argv[0]);
    return theApp.OnExecute(argc, argv);
}