From 5754812dea6598335f60858d125639c92ec67914 Mon Sep 17 00:00:00 2001 From: oy Date: Mon, 11 Oct 2010 00:30:56 +0200 Subject: clear history of the remote console on disconnect and cleaned up some old stuff in console.cpp --- src/game/client/components/console.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/client/components/console.h') 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(); -- cgit 1.4.1