X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fapp%2Fglobals.h;h=850707d732891cb8fa9a663299d0676a32950649;hb=c0093d25093395cb62fc2526ab42be65a9f015b8;hp=83d57edb855355a66d89d1bc8ca16666d25bb88d;hpb=97ebb26d836f8dc44cbf74fc6383ce17b2b98416;p=supertux.git diff --git a/lib/app/globals.h b/lib/app/globals.h index 83d57edb8..850707d73 100644 --- a/lib/app/globals.h +++ b/lib/app/globals.h @@ -38,9 +38,6 @@ namespace SuperTux class MouseCursor; extern std::string datadir; - extern std::string package_symbol_name; - extern std::string package_name; - extern std::string package_version; struct JoystickKeymap { @@ -58,27 +55,16 @@ namespace SuperTux extern JoystickKeymap joystick_keymap; - extern SDL_Surface* screen; - extern MouseCursor * mouse_cursor; - extern bool use_gl; - extern bool use_joystick; - extern bool use_fullscreen; - extern bool debug_mode; - extern bool show_fps; - extern bool debug_grid; +#define SCREEN_WIDTH 800 +#define SCREEN_HEIGHT 600 /** The number of the joystick that will be use in the game */ extern int joystick_num; - extern char* level_startup_file; - extern bool launch_leveleditor_mode; - extern bool launch_worldmap_mode; - extern bool flip_levels_mode; - - /* SuperTux directory ($HOME/.supertux) and save directory($HOME/.supertux/save) */ - extern std::string st_dir; - extern std::string st_save_dir; + + /* SuperTux directory ($HOME/.supertux) */ + extern std::string user_dir; extern SDL_Joystick * js;