- fixed problem with last_menu not being able to handle menues deeper than two submenues
[supertux.git] / src / setup.h
index 3686d3f..1c09579 100644 (file)
@@ -20,6 +20,7 @@
 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);
@@ -34,8 +35,11 @@ void st_shutdown(void);
 void st_menu(void);
 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* pmenu, int load);
+
+/** Return true if the gameloop() was entered, false otherwise */
+bool process_load_game_menu();
+
+void update_load_save_game_menu(Menu* pmenu);
 void parseargs(int argc, char * argv[]);
 
 #endif /*SUPERTUX_SETUP_H*/