mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Gamestate is now passed as shared pointer
This commit is contained in:
@@ -69,6 +69,9 @@ public:
|
||||
CGameState();
|
||||
virtual ~CGameState();
|
||||
|
||||
CGameState * gameState() final { return this; }
|
||||
const CGameState * gameState() const final { return this; }
|
||||
|
||||
void preInit(Services * services, IGameCallback * callback);
|
||||
|
||||
void init(const IMapService * mapService, StartInfo * si, Load::ProgressAccumulator &, bool allowSavingRandomMap = true);
|
||||
|
||||
Reference in New Issue
Block a user