about summary refs log tree commit diff
path: root/src/game/game_protocol.h
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-11-04 00:19:41 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-11-04 00:19:41 +0000
commitdaf89a01ff88c7771f0c252808de2b3eede23927 (patch)
tree903c034b9713a61c21e4d052fd7068afda9acacf /src/game/game_protocol.h
parentf724ab006c3ca882c3a66c6af0df60d666610895 (diff)
downloadzcatch-daf89a01ff88c7771f0c252808de2b3eede23927.tar.gz
zcatch-daf89a01ff88c7771f0c252808de2b3eede23927.zip
added skins, tweaked prediction like hell
Diffstat (limited to 'src/game/game_protocol.h')
-rw-r--r--src/game/game_protocol.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/game/game_protocol.h b/src/game/game_protocol.h
index 6be89e35..982a14b2 100644
--- a/src/game/game_protocol.h
+++ b/src/game/game_protocol.h
@@ -38,15 +38,17 @@ enum
 enum
 {
 	MSG_NULL=0,
-	MSG_SAY,
-	MSG_CHAT,
-	MSG_SETNAME,
-	MSG_KILLMSG,
+	MSG_SAY, // client -> server
+	MSG_CHAT, // server -> client
+	MSG_SETINFO, // server -> client - contains name, skin and color info
+	MSG_KILLMSG, // server -> client
 	MSG_SETTEAM,
 	MSG_JOIN,
 	MSG_QUIT,
 	MSG_EMOTICON,
-	MSG_CHANGENAME,
+	MSG_STARTINFO, // client -> server
+	MSG_CHANGEINFO, // client -> server
+	MSG_READY_TO_ENTER // server -> client
 };
 
 enum