X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=lib%2Fapp%2Fglobals.cpp;h=53277787a02ae40f108375284203efbd3c1399b0;hb=c0093d25093395cb62fc2526ab42be65a9f015b8;hp=67819d0aa706d2c640204b4995cce24fa5e84043;hpb=6e843b1780f62f45b7021bd8c38181aa211588ee;p=supertux.git diff --git a/lib/app/globals.cpp b/lib/app/globals.cpp index 67819d0aa..53277787a 100644 --- a/lib/app/globals.cpp +++ b/lib/app/globals.cpp @@ -33,7 +33,10 @@ std::string datadir; std::string package_symbol_name; std::string package_name; std::string package_version; - + +int screen_width = SCREEN_WIDTH; +int screen_height = SCREEN_HEIGHT; + JoystickKeymap::JoystickKeymap() { a_button = 0; @@ -51,21 +54,16 @@ JoystickKeymap joystick_keymap; SDL_Surface * screen; MouseCursor * mouse_cursor; -bool use_gl; -bool use_joystick; -bool use_fullscreen; -bool debug_mode; -bool show_fps; -bool debug_grid = false; - +#if 0 int joystick_num = 0; char* level_startup_file = 0; bool launch_leveleditor_mode = false; bool launch_worldmap_mode = false; bool flip_levels_mode = false; +#endif /* SuperTux directory ($HOME/.supertux) and save directory($HOME/.supertux/save) */ -std::string st_dir, st_save_dir; +std::string user_dir; SDL_Joystick * js;