#include <sections.h>
Go to the source code of this file.
Functions | |
Boolean | hFiles (EventPtr event) SAVE_SECTION |
Handler for the list of cities dialog. | |
Boolean | hFilesNew (EventPtr event) SAVE_SECTION |
Handler for the new file form. | |
int | UILoadAutoGame (void) SAVE_SECTION |
Load the game form the auto-save slot. | |
void | UISaveAutoGame (void) SAVE_SECTION |
Save the autosave game. | |
void | UISaveMyCity (void) SAVE_SECTION |
save the city that is currently being used. | |
void | UIClearAutoSaveSlot (void) SAVE_SECTION |
Delete the game stored in the auto-save slot. |
exports the handlers and a couple of convenience functions
Definition in file savegame.h.
|
Handler for the list of cities dialog. Ensures that the list is populated with all the cities in the save game slots. Definition at line 323 of file savegame.c. References CleanSaveGameList(), DeleteFromList(), filesSetup(), formID_pocketCity, Int16, LoadFromList(), and UpdateSaveGameList(). |
|
Handler for the new file form. Makes sure that the text field is given focus. Definition at line 90 of file savegame.c. References cityNewSetup(), cnCreateButtonPressed(), cnFieldContentChanged(), cnRepeatPressed(), and UInt16. |
|
Save the autosave game. The autosave slot is simply the name of the current autosave city. Definition at line 80 of file savegame.c. References SetAutoSave(), and UISaveMyCity(). |
|
save the city that is currently being used. Needs to find the city in the set of saved cities Definition at line 71 of file savegame.c. References SaveGameByName(). Referenced by UISaveAutoGame(). |