- replaced YES/NO with true/false
[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 bool use_gl;
28 extern bool use_joystick;
29 extern bool use_fullscreen;
30 extern bool debug_mode;
31 extern bool show_fps;
32
33 /** The number of the joystick that will be use in the game */
34 extern int joystick_num;
35 extern char* level_startup_file;
36 extern bool launch_worldmap_mode;
37
38 /* SuperTux directory ($HOME/.supertux) and save directory($HOME/.supertux/save) */
39 extern char *st_dir, *st_save_dir;
40
41 extern SDL_Joystick * js;
42
43 #endif /* SUPERTUX_GLOBALS_H */