- turned menu into a class, still a lot of public variables around and menu_item...
[supertux.git] / src / setup.h
1 /*
2   setup.h
3   
4   Super Tux - Setup
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 #ifndef SUPERTUX_SETUP_H
14 #define SUPERTUX_SETUP_H
15
16 #include "menu.h"
17 #include "sound.h"
18 #include "type.h"
19
20 int faccessible(const char *filename);
21 int fcreatedir(const char* relative_dir);
22 int fwriteable(const char *filename);
23 string_list_type dsubdirs(const char *rel_path, const char* expected_file);
24 string_list_type dfiles(const char *rel_path, const char* glob, const char* exception_str);
25 void free_strings(char **strings, int num);
26 void st_directory_setup(void);
27 void st_general_setup(void);
28 void st_video_setup_sdl(void);
29 void st_video_setup_gl(void);
30 void st_video_setup(void);
31 void st_audio_setup(void);
32 void st_joystick_setup(void);
33 void st_shutdown(void);
34 void st_menu(void);
35 void st_abort(const std::string& reason, const std::string& details);
36 void process_options_menu(void);
37 void process_save_load_game_menu(int save);
38 void update_load_save_game_menu(Menu* pmenu, int load);
39 void parseargs(int argc, char * argv[]);
40
41 #endif /*SUPERTUX_SETUP_H*/
42