diff options
| author | oy <Tom_Adams@web.de> | 2010-10-11 00:30:56 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-10-11 00:30:56 +0200 |
| commit | 5754812dea6598335f60858d125639c92ec67914 (patch) | |
| tree | 3f91baf712e07ad770d5eb10b6ddda68257b4950 /src/game/client/components/console.h | |
| parent | 00c142103455d3d87d43f31df04213db4d92571b (diff) | |
| download | zcatch-5754812dea6598335f60858d125639c92ec67914.tar.gz zcatch-5754812dea6598335f60858d125639c92ec67914.zip | |
clear history of the remote console on disconnect and cleaned up some old stuff in console.cpp
Diffstat (limited to 'src/game/client/components/console.h')
| -rw-r--r-- | src/game/client/components/console.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/client/components/console.h b/src/game/client/components/console.h index a4d22790..ae05aa8b 100644 --- a/src/game/client/components/console.h +++ b/src/game/client/components/console.h @@ -32,6 +32,7 @@ class CGameConsole : public CComponent void Init(CGameConsole *pGameConsole); void ClearBacklog(); + void ClearHistory(); void ExecuteLine(const char *pLine); @@ -72,6 +73,7 @@ public: void PrintLine(int Type, const char *pLine); + virtual void OnStateChange(int NewState, int OldState); virtual void OnConsoleInit(); virtual void OnReset(); virtual void OnRender(); |