From eaef2ce48a36a786dc60248dcc5e746865570b2d Mon Sep 17 00:00:00 2001 From: oy Date: Tue, 22 Mar 2011 00:31:42 +0100 Subject: added notification for unsaved map data and a confirmation for overwriting an existing map in the editor. Closes #115 --- src/game/client/gameclient.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/client/gameclient.h') diff --git a/src/game/client/gameclient.h b/src/game/client/gameclient.h index 0c899805..e807592f 100644 --- a/src/game/client/gameclient.h +++ b/src/game/client/gameclient.h @@ -42,6 +42,7 @@ class CGameClient : public IGameClient class IDemoPlayer *m_pDemoPlayer; class IDemoRecorder *m_pDemoRecorder; class IServerBrowser *m_pServerBrowser; + class IEditor *m_pEditor; CLayers m_Layers; class CCollision m_Collision; @@ -78,6 +79,7 @@ public: class CRenderTools *RenderTools() { return &m_RenderTools; } class CLayers *Layers() { return &m_Layers; }; class CCollision *Collision() { return &m_Collision; }; + class IEditor *Editor() { return m_pEditor; } int NetobjNumCorrections() { return m_NetObjHandler.NumObjCorrections(); } const char *NetobjCorrectedOn() { return m_NetObjHandler.CorrectedObjOn(); } -- cgit 1.4.1