about summary refs log tree commit diff
path: root/src/game/client/components/chat.h
diff options
context:
space:
mode:
authorThomas <lordskelethom@gmail.com>2010-05-30 12:01:11 +0000
committerThomas <lordskelethom@gmail.com>2010-05-30 12:01:11 +0000
commit361380d63039737df51c1ed684d5f70758c96790 (patch)
tree6709a802772f65dc26eb6acf332023b89bf193f8 /src/game/client/components/chat.h
parent47b68170ad8a0d6b4fd5be182d8ba0c953114cb4 (diff)
downloadzcatch-361380d63039737df51c1ed684d5f70758c96790.tar.gz
zcatch-361380d63039737df51c1ed684d5f70758c96790.zip
*some esthetic changes
*split "CHud::RenderGoals()"
*added "reload" command
*added the ability to show last chat lines (+show_chat)
*updated french.txt
Diffstat (limited to 'src/game/client/components/chat.h')
-rw-r--r--src/game/client/components/chat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/client/components/chat.h b/src/game/client/components/chat.h
index 8a33e9e8..02afc902 100644
--- a/src/game/client/components/chat.h
+++ b/src/game/client/components/chat.h
@@ -9,7 +9,7 @@ class CChat : public CComponent
 	
 	enum 
 	{
-		MAX_LINES = 10,
+		MAX_LINES = 25,
 	};
 
 	struct CLine
@@ -34,10 +34,12 @@ class CChat : public CComponent
 	};
 
 	int m_Mode;
+	bool m_Show;
 	
 	static void ConSay(IConsole::IResult *pResult, void *pUserData);
 	static void ConSayTeam(IConsole::IResult *pResult, void *pUserData);
 	static void ConChat(IConsole::IResult *pResult, void *pUserData);
+	static void ConShowChat(IConsole::IResult *pResult, void *pUserData);
 	
 public:
 	CChat();