about summary refs log tree commit diff
path: root/src/game/client/components/chat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/components/chat.h')
-rw-r--r--src/game/client/components/chat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/client/components/chat.h b/src/game/client/components/chat.h
index 60e18387..f007f314 100644
--- a/src/game/client/components/chat.h
+++ b/src/game/client/components/chat.h
@@ -36,6 +36,11 @@ class CChat : public CComponent
 		MODE_NONE=0,
 		MODE_ALL,
 		MODE_TEAM,
+
+		CHAT_SERVER=0,
+		CHAT_HIGHLIGHT,
+		CHAT_CLIENT,
+		CHAT_NUM,
 	};
 
 	int m_Mode;
@@ -49,6 +54,7 @@ class CChat : public CComponent
 	int m_PlaceholderLength;
 	char *m_pHistoryEntry;
 	TStaticRingBuffer<char, 64*1024, CRingBufferBase::FLAG_RECYCLE> m_History;
+	int64 m_aLastSoundPlayed[CHAT_NUM];
 
 	static void ConSay(IConsole::IResult *pResult, void *pUserData);
 	static void ConSayTeam(IConsole::IResult *pResult, void *pUserData);