summaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
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