datadir finding fix part 2
[supertux.git] / lib / app / globals.cpp
index 51230e1..67819d0 100644 (file)
@@ -25,6 +25,9 @@
 
 namespace SuperTux {
 
+TinyGetText::DictionaryManager dictionary_manager;
+TinyGetText::Dictionary* dictionary = 0;
+
 /** The datadir prefix prepended when loading game data file */
 std::string datadir;
 std::string package_symbol_name;
@@ -53,6 +56,7 @@ bool use_joystick;
 bool use_fullscreen;
 bool debug_mode;
 bool show_fps;
+bool debug_grid = false;
 
 int joystick_num = 0;
 char* level_startup_file = 0;
@@ -66,7 +70,8 @@ std::string st_dir, st_save_dir;
 SDL_Joystick * js;
 
 /* Returns 1 for every button event, 2 for a quit event and 0 for no event. */
-int wait_for_event(SDL_Event& event,unsigned int min_delay, unsigned int max_delay, bool empty_events)
+int wait_for_event(SDL_Event& event, unsigned int min_delay,
+    unsigned int max_delay, bool empty_events)
 {
   int i;
   Timer maxdelay;