Created
June 19, 2010 18:41
-
-
Save larsfu/445145 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/game/client/component.h b/src/game/client/component.h | |
index 410be62..6e4b371 100755 | |
--- a/src/game/client/component.h | |
+++ b/src/game/client/component.h | |
@@ -23,6 +23,7 @@ protected: | |
class CRenderTools *RenderTools() const { return m_pClient->RenderTools(); } | |
class IConsole *Console() const { return m_pClient->Console(); } | |
class IDemoPlayer *DemoPlayer() const { return m_pClient->DemoPlayer(); } | |
+ class IDemoRecorder *DemoRecorder() const { return m_pClient->DemoRecorder(); } | |
class IServerBrowser *ServerBrowser() const { return m_pClient->ServerBrowser(); } | |
class CLayers *Layers() const { return m_pClient->Layers(); } | |
class CCollision *Collision() const { return m_pClient->Collision(); } | |
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp | |
index d59a7a0..de34bae 100755 | |
--- a/src/game/client/gameclient.cpp | |
+++ b/src/game/client/gameclient.cpp | |
@@ -120,6 +120,7 @@ void CGameClient::OnConsoleInit() | |
m_pConsole = Kernel()->RequestInterface<IConsole>(); | |
m_pStorage = Kernel()->RequestInterface<IStorage>(); | |
m_pDemoPlayer = Kernel()->RequestInterface<IDemoPlayer>(); | |
+ m_pDemoRecorder = Kernel()->RequestInterface<IDemoRecorder>(); | |
m_pServerBrowser = Kernel()->RequestInterface<IServerBrowser>(); | |
// setup pointers | |
diff --git a/src/game/client/gameclient.h b/src/game/client/gameclient.h | |
index b91b4b5..2804379 100755 | |
--- a/src/game/client/gameclient.h | |
+++ b/src/game/client/gameclient.h | |
@@ -37,6 +37,7 @@ class CGameClient : public IGameClient | |
class IConsole *m_pConsole; | |
class IStorage *m_pStorage; | |
class IDemoPlayer *m_pDemoPlayer; | |
+ class IDemoRecorder *m_pDemoRecorder; | |
class IServerBrowser *m_pServerBrowser; | |
CLayers m_Layers; | |
@@ -68,6 +69,7 @@ public: | |
class IConsole *Console() { return m_pConsole; } | |
class ITextRender *TextRender() const { return m_pTextRender; } | |
class IDemoPlayer *DemoPlayer() const { return m_pDemoPlayer; } | |
+ class IDemoRecorder *DemoRecorder() const { return m_pDemoRecorder; } | |
class IServerBrowser *ServerBrowser() const { return m_pServerBrowser; } | |
class CRenderTools *RenderTools() { return &m_RenderTools; } | |
class CLayers *Layers() { return &m_Layers; }; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment