mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Added GameInstance class
- available as global GAME - integrates LOCPLINT (CPlayerInterface) - integrates CGI->mh (CMapHandler) - integrates CSH (CServerHandler)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "../../lib/CConfigHandler.h"
|
||||
#include "../gui/CursorHandler.h"
|
||||
#include "../GameEngine.h"
|
||||
#include "../GameInstance.h"
|
||||
#include "../gui/EventDispatcher.h"
|
||||
#include "../gui/MouseButton.h"
|
||||
#include "../gui/WindowHandler.h"
|
||||
@@ -157,7 +158,7 @@ void InputSourceTouch::handleEventFingerDown(const SDL_TouchFingerEvent & tfinge
|
||||
}
|
||||
case TouchState::TAP_DOWN_DOUBLE:
|
||||
{
|
||||
CSH->getGlobalLobby().activateInterface();
|
||||
GAME->server().getGlobalLobby().activateInterface();
|
||||
break;
|
||||
}
|
||||
case TouchState::TAP_DOWN_LONG_AWAIT:
|
||||
|
||||
Reference in New Issue
Block a user