Possible fix for expression that's always false
[supertux.git] / src / supertux / main.hpp
index 4f231d1..277280b 100644 (file)
 class Main
 {
 private:
-  void init_config();
   void init_tinygettext();
-  void init_physfs(const char* argv0);
-  void print_usage(const char* argv0);
-  bool parse_commandline(int argc, char** argv);
-  void init_sdl();
-  void init_rand();
-  void init_audio();
-  void quit_audio();
-  bool pre_parse_commandline(int argc, char** argv);
+  void init_video();
+
+  void launch_game();
 
 public:
-  int  main(int argc, char** argv);
-  void init_video();
-  void wait_for_event(float min_delay, float max_delay);
+  /** 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