From ae325c873f64603f3957b3ded623a67088752ba8 Mon Sep 17 00:00:00 2001 From: oy Date: Wed, 23 Mar 2011 13:06:35 +0100 Subject: added friends feature. Closes #24 --- src/game/client/gameclient.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/client/gameclient.h') diff --git a/src/game/client/gameclient.h b/src/game/client/gameclient.h index 22caa740..5a045708 100644 --- a/src/game/client/gameclient.h +++ b/src/game/client/gameclient.h @@ -43,6 +43,7 @@ class CGameClient : public IGameClient class IDemoRecorder *m_pDemoRecorder; class IServerBrowser *m_pServerBrowser; class IEditor *m_pEditor; + class IFriends *m_pFriends; CLayers m_Layers; class CCollision m_Collision; @@ -80,6 +81,7 @@ public: class CLayers *Layers() { return &m_Layers; }; class CCollision *Collision() { return &m_Collision; }; class IEditor *Editor() { return m_pEditor; } + class IFriends *Friends() { return m_pFriends; } int NetobjNumCorrections() { return m_NetObjHandler.NumObjCorrections(); } const char *NetobjCorrectedOn() { return m_NetObjHandler.CorrectedObjOn(); } @@ -178,6 +180,7 @@ public: float m_Angle; bool m_Active; bool m_ChatIgnore; + bool m_Friend; void UpdateRenderInfo(); void Reset(); -- cgit 1.4.1