OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions | Variables
SaveLoad.cpp File Reference
#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, BlobCreateSaveData (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

SavegameListpSavegameList = new SavegameList
 

Function Documentation

◆ AutoSave()

void AutoSave ( )

◆ CreateSaveData()

std::pair< SaveGameHeader, Blob > CreateSaveData ( bool  resetWorld,
std::string_view  title 
)

◆ DoSavegame()

void DoSavegame ( int  uSlot)

◆ GetCurrentQuickSave()

std::string GetCurrentQuickSave ( )

◆ GetQuickSaveSlot()

int GetQuickSaveSlot ( )

◆ LoadGame()

void LoadGame ( int  uSlot)

◆ makeSaveLodInfo()

static LodInfo makeSaveLodInfo ( )
static

◆ QuickLoadGame()

void QuickLoadGame ( )

◆ QuickSaveGame()

void QuickSaveGame ( )

◆ SaveGame()

SaveGameHeader SaveGame ( bool  isAutoSave,
bool  resetWorld,
std::string_view  path,
std::string_view  title 
)

◆ SaveNewGame()

void SaveNewGame ( )

Variable Documentation

◆ pSavegameList

SavegameList* pSavegameList = new SavegameList