diff options
| author | Reiner Herrmann <reiner@reiner-h.de> | 2011-01-25 14:36:47 +0100 |
|---|---|---|
| committer | Reiner Herrmann <reiner@reiner-h.de> | 2011-01-25 14:36:47 +0100 |
| commit | 49a31a58e1b77ed0d88c0271247d4f707cf8b641 (patch) | |
| tree | f7bd9907b5dbb5fd949a4e74d7a0b46e6fbf0179 /src/net/comm.h | |
| parent | ffef04a78f6985e9fcff5454a608de24bd25388e (diff) | |
implement part of state_client_play_cards(); added new message type: hello reply from server which notifies clients of their player-ids
Diffstat (limited to 'src/net/comm.h')
| -rw-r--r-- | src/net/comm.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/net/comm.h b/src/net/comm.h index 0cc5cd2..a014c6d 100644 --- a/src/net/comm.h +++ b/src/net/comm.h @@ -15,14 +15,15 @@ typedef enum { // Specify message type identifiers here - msg_type_hello = 0x0, - msg_type_start_game = 0x1, - msg_type_deal_hand = 0x2, - msg_type_initial_stacks = 0x3, - msg_type_selected_card = 0x4, - msg_type_selected_card_all = 0x5, - msg_type_selected_stack_c = 0x6, - msg_type_selected_stack_s = 0x7, + msg_type_hello_c = 0x0, + msg_type_hello_s = 0x1, + msg_type_start_game = 0x2, + msg_type_deal_hand = 0x3, + msg_type_initial_stacks = 0x4, + msg_type_selected_card = 0x5, + msg_type_selected_card_all = 0x6, + msg_type_selected_stack_c = 0x7, + msg_type_selected_stack_s = 0x8, } msg_type_t; // Header format |
