◆ saveGame()
void ZVision::SaveManager::saveGame |
( |
uint |
slot, |
|
|
const Common::String & |
saveName, |
|
|
bool |
useSaveBuffer |
|
) |
| |
Copies the data from the last auto-save into a new save file. We can't use the current state data because the save menu IS a room. The file is named using ZVision::generateSaveFileName(slot)
- Parameters
-
slot | The save slot this save pertains to. Must be [1, 20] |
saveName | The internal name for this save. This is NOT the name of the actual save file. |
◆ loadGame()
Loads the state data from the save file that slot references. Uses ZVision::generateSaveFileName(slot) to get the save file name.
- Parameters
-
slot | The save slot to load. Must be [1, 20] |
The documentation for this class was generated from the following file: