about summary refs log tree commit diff
path: root/src/game/server/gamecontext.h
diff options
context:
space:
mode:
authorsavander <savander.pl@gmail.com>2014-11-07 17:24:32 +0100
committersavander <savander.pl@gmail.com>2014-11-07 17:24:32 +0100
commit6e77966e93fefa3fe965721f81ea3b9be85c755a (patch)
tree597a101284a888e153c58c430079dd2792821ed8 /src/game/server/gamecontext.h
parent4f8d463263590581d88ce2eeae4d6f0886675f55 (diff)
downloadzcatch-6e77966e93fefa3fe965721f81ea3b9be85c755a.tar.gz
zcatch-6e77966e93fefa3fe965721f81ea3b9be85c755a.zip
Remove: t / ti, Added Whisper system from DDnet by deen
Diffstat (limited to 'src/game/server/gamecontext.h')
-rw-r--r--src/game/server/gamecontext.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/game/server/gamecontext.h b/src/game/server/gamecontext.h
index 41d6d899..3cb6245c 100644
--- a/src/game/server/gamecontext.h
+++ b/src/game/server/gamecontext.h
@@ -19,8 +19,7 @@
 
 
 #define MAX_MUTES 35
-#define ZCATCH_VERSION "0.4.9 BETA"
-
+#define ZCATCH_VERSION "0.5"
 /*
 	Tick
 		Game Context (CGameContext::tick)
@@ -79,6 +78,10 @@ class CGameContext : public IGameServer
 	
 	static void ConKill(IConsole::IResult *pResult, void *pUserData);
 
+	void Whisper(int ClientID, char *pStr);
+	void WhisperID(int ClientID, int VictimID, char *pMessage);
+	void Converse(int ClientID, char *pStr);
+
 	CGameContext(int Resetting);
 	void Construct(int Resetting);
 
@@ -150,7 +153,9 @@ public:
 		CHAT_ALL=-2,
 		CHAT_SPEC=-1,
 		CHAT_RED=0,
-		CHAT_BLUE=1
+		CHAT_BLUE=1,
+		CHAT_WHISPER_SEND=2,
+		CHAT_WHISPER_RECV=3
 	};
 	
 	struct CMutes