X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=lib%2Fapp%2Fglobals.h;h=83d57edb855355a66d89d1bc8ca16666d25bb88d;hb=133d94d5b145f325c38c8c15c9ea561bfffb092d;hp=2894b2b384c77c427528ca5fa6d617c1ae17d05b;hpb=aae9774f7f454eea1935c22ec705707665d162f1;p=supertux.git diff --git a/lib/app/globals.h b/lib/app/globals.h index 2894b2b38..83d57edb8 100644 --- a/lib/app/globals.h +++ b/lib/app/globals.h @@ -26,13 +26,17 @@ #include "SDL.h" -#include "../video/font.h" -#include "../gui/menu.h" -#include "../gui/mousecursor.h" +#include "video/font.h" +#include "tinygettext.h" namespace SuperTux { + extern TinyGetText::DictionaryManager dictionary_manager; + extern TinyGetText::Dictionary* dictionary; + + class MouseCursor; + extern std::string datadir; extern std::string package_symbol_name; extern std::string package_name; @@ -63,6 +67,7 @@ namespace SuperTux extern bool use_fullscreen; extern bool debug_mode; extern bool show_fps; + extern bool debug_grid; /** The number of the joystick that will be use in the game */ extern int joystick_num; @@ -72,8 +77,8 @@ namespace SuperTux extern bool flip_levels_mode; /* SuperTux directory ($HOME/.supertux) and save directory($HOME/.supertux/save) */ - extern char* st_dir; - extern char* st_save_dir; + extern std::string st_dir; + extern std::string st_save_dir; extern SDL_Joystick * js;