7 bill@newbreedsoftware.com
8 http://www.newbreedsoftware.com/supertux/
10 April 11, 2000 - March 15, 2004
13 #ifndef SUPERTUX_SETUP_H
14 #define SUPERTUX_SETUP_H
20 int faccessible(const char *filename);
21 int fcreatedir(const char* relative_dir);
22 int fwriteable(const char *filename);
23 FILE * opendata(const char * filename, const char * mode);
24 string_list_type dsubdirs(const char *rel_path, const char* expected_file);
25 string_list_type dfiles(const char *rel_path, const char* glob, const char* exception_str);
26 void free_strings(char **strings, int num);
27 void st_directory_setup(void);
28 void st_general_setup(void);
29 void st_video_setup_sdl(void);
30 void st_video_setup_gl(void);
31 void st_video_setup(void);
32 void st_audio_setup(void);
33 void st_joystick_setup(void);
34 void st_shutdown(void);
36 void st_abort(const std::string& reason, const std::string& details);
37 void process_options_menu(void);
39 void process_save_game_menu();
41 /** Return true if the gameloop() was entered, false otherwise */
42 bool process_load_game_menu();
44 void update_load_save_game_menu(Menu* pmenu, int load);
45 void parseargs(int argc, char * argv[]);
47 #endif /*SUPERTUX_SETUP_H*/