about summary refs log tree commit diff
path: root/src/engine/e_protocol.h
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-01 14:36:36 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-01 14:36:36 +0000
commit0747c2dff9289db6204b82501d03447f3ec6cc99 (patch)
treeecca83ee860dfa5293f4dba9233820579a4bf4ac /src/engine/e_protocol.h
parent622dbc6f3e5a5f398af8c6ef98d057a200c813a0 (diff)
downloadzcatch-0747c2dff9289db6204b82501d03447f3ec6cc99.tar.gz
zcatch-0747c2dff9289db6204b82501d03447f3ec6cc99.zip
fixed remote console. some gui tweaks aswell.
Diffstat (limited to 'src/engine/e_protocol.h')
-rw-r--r--src/engine/e_protocol.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/engine/e_protocol.h b/src/engine/e_protocol.h
index a0213483..0bca00a4 100644
--- a/src/engine/e_protocol.h
+++ b/src/engine/e_protocol.h
@@ -33,19 +33,22 @@ enum
 	NETMSG_INFO=1,
 	
 	/* sent by server */
-	NETMSG_MAP,
-	NETMSG_MAP_DATA,
-	NETMSG_SNAP,
-	NETMSG_SNAPEMPTY,
-	NETMSG_SNAPSINGLE,
-	NETMSG_SNAPSMALL,
+	NETMSG_MAP_CHANGE,		/* sent when client should switch map */
+	NETMSG_MAP_DATA,		/* map transfer, contains a chunk of the map file */
+	NETMSG_SNAP,			/* normal snapshot, multiple parts */
+	NETMSG_SNAPEMPTY,		/* empty snapshot */
+	NETMSG_SNAPSINGLE,		/* ? */
+	NETMSG_SNAPSMALL,		/* */
+	NETMSG_RCON_AUTH_STATUS,/* result of the authentication */
+	NETMSG_RCON_LINE,		/* line that should be printed to the remote console */
 	
 	/* sent by client */
-	NETMSG_READY,
+	NETMSG_READY,			/* */
 	NETMSG_ENTERGAME,
-	NETMSG_INPUT,
-	NETMSG_CMD,
-	NETMSG_REQUEST_MAP_DATA,
+	NETMSG_INPUT,			/* contains the inputdata from the client */
+	NETMSG_RCON_CMD,		/* */ 
+	NETMSG_RCON_AUTH,		/* */
+	NETMSG_REQUEST_MAP_DATA,/* */
 	
 	/* sent by both */
 	NETMSG_PING,