int main(int argc, char **argv) {
	CApp app;
	app.setStartScreen(new IntroScreen());
	app.setStartScreen(new NewGameScreen());

	return app.OnExecute();
}
Example #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();
}
Example #3
0
int main(int argc, char* argv[]) {
    CApp theApp;

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