From 3fda7193b52eed1c724b6d5e5b8373c0a3fbf963 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Wed, 18 May 2022 16:43:03 -0700 Subject: web: move match info funcs to match file --- web/web_match.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'web/web_match.h') diff --git a/web/web_match.h b/web/web_match.h index 8f106fb..ae5eff0 100644 --- a/web/web_match.h +++ b/web/web_match.h @@ -32,10 +32,15 @@ extern struct match_opts *match_opts; void free_state(); void match_opts_free(); +struct leg *state_active_leg(); + int match_num_players(); int match_winning_player(); bool match_is_over(); - -struct leg *state_active_leg(); +int match_prev_player(); +int match_next_player(); +int match_prev_throw_player(); +bool match_player_is_comp(int pn); +bool match_first_user_has_thrown(); #endif -- cgit v1.2.3-70-g09d2