back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/client/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/client.h')
-rw-r--r--client/client.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/client/client.h b/client/client.h
index 9bdd8cc..1ff8f82 100644
--- a/client/client.h
+++ b/client/client.h
@@ -23,7 +23,16 @@ enum client_states {
defense,
tossing,
card_acceptance_status,
- tossing_limit_status
+ tossing_limit_status,
+ spectator,
+ result
+};
+
+enum spectator_mode {
+ spectator_attack,
+ spectator_defense,
+ spectator_tossing,
+ spectator_table
};
struct cards_on_table {
@@ -67,6 +76,8 @@ struct client {
int display_new_frame;
int all_input_cards_accepted;
int data_left_in_buffer;
+ enum spectator_mode sp_mode;
+ int durak_position;
};
#endif