about summary refs log tree commit diff
path: root/src/game/client/components/console.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-10-11 00:30:56 +0200
committeroy <Tom_Adams@web.de>2010-10-11 00:30:56 +0200
commit5754812dea6598335f60858d125639c92ec67914 (patch)
tree3f91baf712e07ad770d5eb10b6ddda68257b4950 /src/game/client/components/console.h
parent00c142103455d3d87d43f31df04213db4d92571b (diff)
downloadzcatch-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.h2
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();