|
OpenEnroth cf228e9
|
#include <array>#include <unordered_map>#include <string>#include <utility>#include "Engine/Graphics/Overlays.h"#include "Engine/Party.h"#include "Engine/Tables/NPCTable.h"#include "Engine/Time/Time.h"#include "Engine/Time/Timer.h"#include "Utility/Memory/Blob.h"Classes | |
| struct | SaveGameHeader |
| struct | SaveGame |
| struct | SaveGameLite |
| struct | SavegameList |
Functions | |
| void | loadGame (int uSlot) |
| std::pair< SaveGameHeader, Blob > | createSaveData (bool resetWorld, std::string_view title) |
| SaveGameHeader | saveGame (bool isAutoSave, bool resetWorld, std::string_view path, std::string_view title={}) |
| void | autoSave () |
| void | doSavegame (int uSlot) |
| void | saveNewGame () |
| void | quickSaveGame () |
| int | getQuickSaveSlot () |
| void | quickLoadGame () |
| std::string | getCurrentQuickSave () |
Variables | |
| constexpr int | MAX_SAVE_SLOTS = 45 |
| std::unordered_map< std::string, Blob > | pMapDeltas |
| SavegameList * | pSavegameList |
| void autoSave | ( | ) |
| std::pair< SaveGameHeader, Blob > createSaveData | ( | bool | resetWorld, |
| std::string_view | title | ||
| ) |
| void doSavegame | ( | int | uSlot | ) |
| std::string getCurrentQuickSave | ( | ) |
| int getQuickSaveSlot | ( | ) |
| void loadGame | ( | int | uSlot | ) |
| void quickLoadGame | ( | ) |
| void quickSaveGame | ( | ) |
| SaveGameHeader saveGame | ( | bool | isAutoSave, |
| bool | resetWorld, | ||
| std::string_view | path, | ||
| std::string_view | title = {} |
||
| ) |
| void saveNewGame | ( | ) |
|
constexpr |
|
extern |
Runtime storage for map deltas from the currently loaded save.
|
extern |