- added detection magic for the datadir
[supertux.git] / src / globals.h
1 /*
2   globals.h
3   
4   Super Tux - Global Variabls
5   
6   by Bill Kendrick
7   bill@newbreedsoftware.com
8   http://www.newbreedsoftware.com/supertux/
9   
10   April 11, 2000 - March 15, 2004
11 */
12
13
14 #ifndef SUPERTUX_GLOBALS_H
15 #define SUPERTUX_GLOBALS_H
16
17 #include <string>
18 #include <SDL.h>
19 #include "text.h"
20 #include "menu.h"
21
22 extern std::string datadir;
23
24 extern SDL_Surface * screen;
25 extern text_type black_text, gold_text, white_text, white_small_text, white_big_text, blue_text, red_text, yellow_nums;
26
27 extern int use_gl, use_joystick, use_fullscreen, debug_mode, show_fps;
28
29 extern char* level_startup_file;
30 extern bool launch_worldmap_mode;
31
32 /* SuperTux directory ($HOME/.supertux) and save directory($HOME/.supertux/save) */
33 extern char *st_dir, *st_save_dir;
34
35 #ifdef JOY_YES
36 extern SDL_Joystick * js;
37 #endif
38
39 #endif /* SUPERTUX_GLOBALS_H */