int main(int argc, char **argv) { CApp app; app.setStartScreen(new IntroScreen()); app.setStartScreen(new NewGameScreen()); return app.OnExecute(); }
//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(); }
int main(int argc, char* argv[]) { CApp theApp; return theApp.OnExecute(); }
int main() { CApp theApp; return theApp.OnExecute(); }
int main(int argc, char* argv[]) { srand(time(0)); CApp theApp; return theApp.OnExecute(); }
int main(int argc, char **argv) { CApp theApp; preparePath(argv[0]); return theApp.OnExecute(argc, argv); }