mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Rework CCallback <-> CClient interaction
- callback is now part of lib instead of weird class that is shared by client and AI while being part of client - callback interacts with client class via minimal interface class - removed no longer used unlockGsWhileWaiting field
This commit is contained in:
@@ -206,6 +206,9 @@ public: // public interface for use by client via GAME->interface() access
|
||||
///returns true if all events are processed internally
|
||||
bool capturedAllEvents();
|
||||
|
||||
void registerBattleInterface(std::shared_ptr<CBattleGameInterface> battleEvents);
|
||||
void unregisterBattleInterface(std::shared_ptr<CBattleGameInterface> battleEvents);
|
||||
|
||||
CPlayerInterface(PlayerColor Player);
|
||||
~CPlayerInterface();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user