From 831f9f01fbe4088eb6bd378c0e417d9996b676fd Mon Sep 17 00:00:00 2001 From: scratko Date: Fri, 30 Aug 2024 12:46:56 +0300 Subject: Final version v2.0 Added windows client. SIGPIPE signal was being sent to the server when the client was disconnected. Now there is handling of this signal. Added a delay when displaying some informational messages. --- linux_client/printing_game_frames.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 linux_client/printing_game_frames.h (limited to 'linux_client/printing_game_frames.h') diff --git a/linux_client/printing_game_frames.h b/linux_client/printing_game_frames.h new file mode 100644 index 0000000..9cbb231 --- /dev/null +++ b/linux_client/printing_game_frames.h @@ -0,0 +1,20 @@ +#ifndef PRINTING_GAME_FRAMES_H_SENTRY +#define PRINTING_GAME_FRAMES_H_SENTRY + +#include "client.h" + +void pgf_new_frame(); +void pgf_welcome(); +void pgf_connection(int status); +void pgf_first_player(); +void pgf_confirmation_waiting(int total_players); +void pgf_table(struct client *cl); +void pgf_suggestions(struct client *cl); +void pgf_select_idle_mode_message(enum client_states state); +void pgf_card_acceptance_status(int all_input_cards_accepted); +void pgf_tossing_limit_status(); +void pgf_spectator_mode(enum spectator_mode sp_mode); +void pgf_game_result(int durak_position); +void pgf_disconnect(); + +#endif -- cgit v1.2.3