Added new packet type as end of game notification. Now displaying dialogs at end of game, to start a new game. Server errors are displayed.

This commit is contained in:
lotodore
2007-06-10 23:28:25 +00:00
parent 8129880461
commit baf2c82864
20 changed files with 418 additions and 169 deletions
+9 -6
View File
@@ -69,14 +69,17 @@
// The following messages are game messages.
#define MSG_NET_GAME_CLIENT_START 5
#define MSG_NET_GAME_SERVER_START 6
#define MSG_NET_GAME_CLIENT_HAND_START 7
#define MSG_NET_GAME_CLIENT_HAND_END 8
#define MSG_NET_GAME_SERVER_HAND_START 9
#define MSG_NET_GAME_SERVER_HAND_END 10
#define MSG_NET_GAME_SERVER_ROUND 11
#define MSG_NET_GAME_SERVER_ACTION 12
#define MSG_NET_GAME_SERVER_CARDS_DELAY 13
#define MSG_NET_GAME_CLIENT_END 9
#define MSG_NET_GAME_SERVER_START 10
#define MSG_NET_GAME_SERVER_HAND_START 11
#define MSG_NET_GAME_SERVER_HAND_END 12
#define MSG_NET_GAME_SERVER_ROUND 13
#define MSG_NET_GAME_SERVER_ACTION 14
#define MSG_NET_GAME_SERVER_CARDS_DELAY 15
#define MSG_NET_GAME_SERVER_END 16
#endif