From 4aafacbd0fecc3a68c16aea99476d165d404ce0d Mon Sep 17 00:00:00 2001 From: Mario Kilies Date: Tue, 25 Jan 2011 14:09:57 +0100 Subject: Message window is now displayed through the client states. --- src/client_game_states.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/client_game_states.c') 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 -- cgit v1.2.3