diff options
Diffstat (limited to 'server/server_data_processing.h')
-rw-r--r-- | server/server_data_processing.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/server_data_processing.h b/server/server_data_processing.h index 875fd98..e6c1ab0 100644 --- a/server/server_data_processing.h +++ b/server/server_data_processing.h @@ -6,7 +6,9 @@ int print_message_for_first_player(int fd); int print_connected_players(int fd, int number); int check_readiness(struct session *client); -int print_game_part(const struct session *client, struct game_info *gi); + /* for define spectator mode */ +int print_game_part(const struct session *client, enum server_states ss, + struct game_info *gi); int get_cards_from_attacker(struct session *client, const struct cards_on_table *cot, const player_cards defense_deck, @@ -17,5 +19,6 @@ int get_cards_from_tossing_player(struct session *client, const player_cards defense_deck, struct cards_on_table *cot, struct card_queue *cq); +void print_game_result(const struct session *client, int durak_position); #endif |