X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsupertux%2Fmain.hpp;h=277280b5b4491c61c935a96cabebd8eb013a2a34;hb=313702b84f43dc98bbeea32a2261e408533dbf58;hp=e76dfcc3c1d125de58fce1d60535d1da32390e9f;hpb=477ff26b2f06ee1743996a0feba8ebe0e6c28ba4;p=supertux.git diff --git a/src/supertux/main.hpp b/src/supertux/main.hpp index e76dfcc3c..277280b5b 100644 --- a/src/supertux/main.hpp +++ b/src/supertux/main.hpp @@ -17,26 +17,16 @@ #ifndef HEADER_SUPERTUX_SUPERTUX_MAIN_HPP #define HEADER_SUPERTUX_SUPERTUX_MAIN_HPP -#ifdef _WIN32 -# define WRITEDIR_NAME PACKAGE_NAME -#else -# define WRITEDIR_NAME "." PACKAGE_NAME -#endif - class Main { private: - void init_audio(); - void init_config(); - void init_physfs(const char* argv0); - void init_rand(); - void init_sdl(); void init_tinygettext(); void init_video(); - void quit_audio(); + + void launch_game(); public: - /** We call it run() instead of main() as main collides with + /** We call it run() instead of main() as main collides with #define main SDL_main from SDL.h */ int run(int argc, char** argv); };