about summary refs log tree commit diff
path: root/src/game/client/gameclient.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-03-22 00:31:42 +0100
committeroy <Tom_Adams@web.de>2011-03-22 00:31:42 +0100
commiteaef2ce48a36a786dc60248dcc5e746865570b2d (patch)
tree0e82b7f702afbfe6a62172a881709b944afb563d /src/game/client/gameclient.h
parent588a411666de052fd237f9aaa857278ade420b51 (diff)
downloadzcatch-eaef2ce48a36a786dc60248dcc5e746865570b2d.tar.gz
zcatch-eaef2ce48a36a786dc60248dcc5e746865570b2d.zip
added notification for unsaved map data and a confirmation for overwriting an existing map in the editor. Closes #115
Diffstat (limited to 'src/game/client/gameclient.h')
-rw-r--r--src/game/client/gameclient.h2
1 files changed, 2 insertions, 0 deletions
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(); }