summaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2011-01-15 00:03:57 +0100
committerReiner Herrmann <reiner@reiner-h.de>2011-01-15 00:03:57 +0100
commit5f7ecaecdbd81cb0d40fb5da7f7035b0b8331538 (patch)
tree5e6657d86eb15fc8f6f4b02004b38f1eb0a560c5 /src/net.h
parent20ce50de5cd02d6baa0f143ff628cc190d637e2a (diff)
added functions for receiving/sending hello messages and sending list of usernames
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 6b91767..6a3d1a5 100644
--- a/src/net.h
+++ b/src/net.h
@@ -3,6 +3,9 @@
#define MAX_PLAYERS 10
+enum packet_type { CLIENT_HELLO, SERVER_START_GAME };
+
+
typedef enum
{
// Specify message type identifier here