summaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorMario Kilies <MarioKilies@GMX.net>2011-01-15 00:30:56 +0100
committerMario Kilies <MarioKilies@GMX.net>2011-01-15 00:30:56 +0100
commit22a3b4d27084a93197f82c88a8dc954b49672bd9 (patch)
tree0a73531484a3a9d8bb6f94c31753abc85c9ec3af /src/net.h
parenta68b72e60128834e41a09e2aeb3c2faea59384b2 (diff)
parente486953991884606f60d747b0cfb846f576c6bc4 (diff)
Merge branch 'master' of ssh://git@wg.reiner-h.de:22003/~git/oxen
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net.h b/src/net.h
index 6a3d1a5..2fb28c0 100644
--- a/src/net.h
+++ b/src/net.h
@@ -3,13 +3,12 @@
#define MAX_PLAYERS 10
-enum packet_type { CLIENT_HELLO, SERVER_START_GAME };
-
typedef enum
{
// Specify message type identifier here
- msg_type_hello = 0x0
+ msg_type_hello = 0x0,
+ msg_type_start_game = 0x1
} msg_type_t;
typedef struct