git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6121
837edb03-e0f3-0310-88ca-
d4d4e8b29345
int main(int argc, char** argv)
{
- return Main().SDL_main(argc, argv);
+ return Main().run(argc, argv);
}
/* EOF */
#endif
int
-Main::main(int argc, char** argv)
+Main::run(int argc, char** argv)
{
int result = 0;
void wait_for_event(float min_delay, float max_delay);
public:
- int main(int argc, char** argv);
+ /** We call it run() instead of main() as main collides with
+ #define main SDL_main from SDL.h */
+ int run(int argc, char** argv);
};
#endif