- added 1up to tileset
[supertux.git] / src / setup.h
index 60470a2..6e1b165 100644 (file)
@@ -7,7 +7,7 @@
   bill@newbreedsoftware.com
   http://www.newbreedsoftware.com/supertux/
   
-  April 11, 2000 - April 13, 2000
+  April 11, 2000 - March 15, 2004
 */
 
 #ifndef SUPERTUX_SETUP_H
 #include "sound.h"
 #include "type.h"
 
-int faccessible(char *filename);
-int fcreatedir(char* relative_dir);
-int fwriteable(char *filename);
-string_list_type dsubdirs(char *rel_path, char* expected_file);
-string_list_type dfiles(char *rel_path, char* expected_file);
+int faccessible(const char *filename);
+int fcreatedir(const char* relative_dir);
+int fwriteable(const char *filename);
+FILE * opendata(const char * filename, const char * mode);
+string_list_type dsubdirs(const char *rel_path, const char* expected_file);
+string_list_type dfiles(const char *rel_path, const char* glob, const char* exception_str);
 void free_strings(char **strings, int num);
 void st_directory_setup(void);
 void st_general_setup(void);
@@ -32,10 +33,15 @@ void st_audio_setup(void);
 void st_joystick_setup(void);
 void st_shutdown(void);
 void st_menu(void);
-void st_abort(char * reason, char * details);
+void st_abort(const std::string& reason, const std::string& details);
 void process_options_menu(void);
-void process_save_load_game_menu(int save);
-void update_load_save_game_menu(menu_type* pmenu, int load);
+
+void process_save_game_menu();
+
+/** Return true if the gameloop() was entered, false otherwise */
+bool process_load_game_menu();
+
+void update_load_save_game_menu(Menu* pmenu, int load);
 void parseargs(int argc, char * argv[]);
 
 #endif /*SUPERTUX_SETUP_H*/