Changeset 39 for abuse/trunk/src/loadgame.cpp
- Timestamp:
- Mar 2, 2008, 12:29:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/loadgame.cpp
r4 r39 1 #include <string.h> 2 1 3 #include "specs.hpp" 2 4 #include "jwindow.hpp" … … 8 10 #include "cache.hpp" 9 11 #include "gui.hpp" 12 #include "dev.hpp" 10 13 #include "id.hpp" 11 14 #include "demo.hpp" 12 15 #include "game.hpp" 13 #include <string.h>14 16 15 17 extern void *save_order; // load from "saveordr.lsp", contains a list ordering the save games … … 18 20 19 21 extern window_manager *eh; 20 extern char *symbol_str(char *name);21 22 22 23 #define MAX_SAVE_GAMES 5 … … 64 65 return eh->new_window(mx,yres/2-(WINDOW_FRAME_TOP+ih*5)/2,-1,-1,buts[0]); 65 66 } 66 67 FILE *open_FILE(char *filename, char *mode);68 67 69 68 int get_save_spot() … … 141 140 } 142 141 143 int load_game(int show_all, char *title) // return 0 if the player escapes, else return the number of the game to load142 int load_game(int show_all, char const *title) // return 0 if the player escapes, else return the number of the game to load 144 143 { 145 144 int total_saved=0;
Note: See TracChangeset
for help on using the changeset viewer.