mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Refactoing of pathfinder <-> client/AI interaction to remove dependency on selected hero
- finished removal of server-side setSelection - disabled some broken code (AI & cheats). TODO: fix
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "BattleAction.h"
|
||||
#include "IGameEventsReceiver.h"
|
||||
#include "CGameStateFwd.h"
|
||||
|
||||
/*
|
||||
* CGameInterface.h, part of VCMI engine
|
||||
@@ -45,6 +46,7 @@ struct StackLocation;
|
||||
class CStackInstance;
|
||||
class CCommanderInstance;
|
||||
class CStack;
|
||||
class CPathsInfo;
|
||||
class CCreature;
|
||||
class CLoadFile;
|
||||
class CSaveFile;
|
||||
@@ -73,7 +75,7 @@ public:
|
||||
};
|
||||
|
||||
/// Central class for managing human player / AI interface logic
|
||||
class CGameInterface : public CBattleGameInterface, public IGameEventsReceiver
|
||||
class DLL_LINKAGE CGameInterface : public CBattleGameInterface, public IGameEventsReceiver
|
||||
{
|
||||
public:
|
||||
virtual void init(shared_ptr<CCallback> CB){};
|
||||
|
||||
Reference in New Issue
Block a user