diff options
| author | Mario Kilies <MarioKilies@GMX.net> | 2011-01-25 14:09:57 +0100 |
|---|---|---|
| committer | Mario Kilies <MarioKilies@GMX.net> | 2011-01-25 14:09:57 +0100 |
| commit | 4aafacbd0fecc3a68c16aea99476d165d404ce0d (patch) | |
| tree | 6cccc51000823f93fd108998553d748e08dab890 | |
| parent | ffef04a78f6985e9fcff5454a608de24bd25388e (diff) | |
Message window is now displayed through the client states.
| -rw-r--r-- | src/client_game_states.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client_game_states.c b/src/client_game_states.c index 58e55db..2659673 100644 --- a/src/client_game_states.c +++ b/src/client_game_states.c @@ -7,6 +7,8 @@ game_state_t state_client_wait_for_hand_cards(const int sock, const uint8_t roun { data_store_t *d = data_store(); + ui_display_wnd_messages("Waiting for hand cards from server"); + if(round == 1) { // Receive and display table stacks @@ -27,6 +29,8 @@ game_state_t state_client_select_open_card(const int sock) data_store_t *d = data_store(); uint8_t open_card_idx; + ui_display_wnd_messages("Please choose the card you want to play"); + // Select open card open_card_idx = ui_choose_card(&d->hand); d->selected_card = d->hand.cards[open_card_idx]; @@ -45,6 +49,8 @@ game_state_t state_client_wait_for_open_cards(const int sock) { data_store_t *d = data_store(); + ui_display_wnd_messages("Waiting for the other players to pick their cards"); + net_recv(sock, msg_type_selected_card_all); player_list_sort_by_open_card(&d->player_list, d->player_list.count); // sort in ascending order |
