OpenEnroth 73e68f7
|
#include "SaveLoad.h"
#include <cassert>
#include <algorithm>
#include <string>
#include <memory>
#include <utility>
#include "Engine/Engine.h"
#include "Engine/EngineFileSystem.h"
#include "Engine/LOD.h"
#include "Engine/Localization.h"
#include "Engine/Party.h"
#include "Engine/MapInfo.h"
#include "Engine/Time/Timer.h"
#include "Engine/Graphics/ImageLoader.h"
#include "Engine/Graphics/Outdoor.h"
#include "Engine/Graphics/Indoor.h"
#include "Engine/Graphics/Image.h"
#include "Engine/Graphics/Renderer/Renderer.h"
#include "Engine/Objects/SpriteObject.h"
#include "Engine/Snapshots/CompositeSnapshots.h"
#include "GUI/GUIWindow.h"
#include "GUI/UI/UIGame.h"
#include "GUI/UI/UIStatusBar.h"
#include "Media/Audio/AudioPlayer.h"
#include "Library/Snapshots/SnapshotSerialization.h"
#include "Library/Image/Pcx.h"
#include "Library/Logger/Logger.h"
#include "Library/LodFormats/LodFormats.h"
#include "Library/Lod/LodWriter.h"
Functions | |
static LodInfo | makeSaveLodInfo () |
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 | |
SavegameList * | pSavegameList = new SavegameList |
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 | ) |
|
static |
void QuickLoadGame | ( | ) |
void QuickSaveGame | ( | ) |
SaveGameHeader SaveGame | ( | bool | isAutoSave, |
bool | resetWorld, | ||
std::string_view | path, | ||
std::string_view | title | ||
) |
void SaveNewGame | ( | ) |
SavegameList* pSavegameList = new SavegameList |