diff options
| author | oy <Tom_Adams@web.de> | 2011-04-13 20:37:12 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-04-13 20:37:12 +0200 |
| commit | 06115dd49dca2f8eb5f14606437e8fd20037cc4d (patch) | |
| tree | 5ec4bca6158319b3f5285d7689c5f94ae8da8c93 /src/engine/shared/protocol.h | |
| parent | 63e059b8fff6498e42b765a1dca000e53005ea77 (diff) | |
| download | zcatch-06115dd49dca2f8eb5f14606437e8fd20037cc4d.tar.gz zcatch-06115dd49dca2f8eb5f14606437e8fd20037cc4d.zip | |
added "Whitespace and line Endings cleanup" by GreYFoX
Diffstat (limited to 'src/engine/shared/protocol.h')
| -rw-r--r-- | src/engine/shared/protocol.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/engine/shared/protocol.h b/src/engine/shared/protocol.h index 859f4941..4a4895ad 100644 --- a/src/engine/shared/protocol.h +++ b/src/engine/shared/protocol.h @@ -7,13 +7,13 @@ /* Connection diagram - How the initilization works. - + Client -> INFO -> Server Contains version info, name, and some other info. - + Client <- MAP <- Server Contains current map. - + Client -> READY -> Server The client has loaded the map and is ready to go, but the mod needs to send it's information aswell. @@ -21,7 +21,7 @@ mods_connected is called on the server. The client should call client_entergame when the mod has done it's initilization. - + Client -> ENTERGAME -> Server Tells the server to start sending snapshots. client_entergame and server_client_enter is called. @@ -31,11 +31,11 @@ enum { NETMSG_NULL=0, - + // the first thing sent by the client // contains the version info for the client NETMSG_INFO=1, - + // sent by server NETMSG_MAP_CHANGE, // sent when client should switch map NETMSG_MAP_DATA, // map transfer, contains a chunk of the map file @@ -50,18 +50,18 @@ enum NETMSG_AUTH_CHALLANGE, // NETMSG_AUTH_RESULT, // - + // sent by client NETMSG_READY, // NETMSG_ENTERGAME, NETMSG_INPUT, // contains the inputdata from the client - NETMSG_RCON_CMD, // + NETMSG_RCON_CMD, // NETMSG_RCON_AUTH, // NETMSG_REQUEST_MAP_DATA,// NETMSG_AUTH_START, // NETMSG_AUTH_RESPONSE, // - + // sent by both NETMSG_PING, NETMSG_PING_REPLY, |