Moved some code

This commit is contained in:
Kayne Ruse
2013-05-24 18:06:29 +10:00
parent e2fed23659
commit 0d3a69106f
5 changed files with 112 additions and 78 deletions
+10 -10
View File
@@ -8,20 +8,20 @@
#define PACKET_STRING_SIZE 100
enum class PacketList {
NONE,
NONE = 0,
//connections
PING,
PONG,
JOINREQUEST,
JOINCONFIRM,
DISCONNECT,
PING = 1,
PONG = 2,
JOINREQUEST = 3,
JOINCONFIRM = 4,
DISCONNECT = 5,
//information control
SYNCHRONIZE,
NEWPLAYER,
DELETEPLAYER,
MOVEMENT,
SYNCHRONIZE = 6,
NEWPLAYER = 7,
DELETEPLAYER = 8,
MOVEMENT = 9,
};
//-------------------------