1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Gamestate is now passed as shared pointer

This commit is contained in:
Ivan Savenko
2025-03-20 18:07:08 +00:00
parent cd7732456a
commit 6d65641a43
27 changed files with 239 additions and 277 deletions

View File

@@ -28,7 +28,7 @@ class DLL_LINKAGE CMapInfo : public Serializeable
public:
std::unique_ptr<CMapHeader> mapHeader; //may be nullptr if campaign
std::unique_ptr<Campaign> campaign; //may be nullptr if scenario
StartInfo * scenarioOptionsOfSave; // Options with which scenario has been started (used only with saved games)
std::unique_ptr<StartInfo> scenarioOptionsOfSave; // Options with which scenario has been started (used only with saved games)
std::string fileURI;
std::string originalFileURI; // no need to serialize
std::string fullFileURI; // no need to serialize