diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-18 16:43:03 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-18 16:43:03 -0700 |
commit | 3fda7193b52eed1c724b6d5e5b8373c0a3fbf963 (patch) | |
tree | e6916ee48ade665f70b9316c34b9755671c422a7 /web/web_match.h | |
parent | de975396fe9eccd8f54c798b082c3d690b05c524 (diff) | |
download | dartboat-3fda7193b52eed1c724b6d5e5b8373c0a3fbf963.tar.gz dartboat-3fda7193b52eed1c724b6d5e5b8373c0a3fbf963.tar.xz |
web: move match info funcs to match file
Diffstat (limited to 'web/web_match.h')
-rw-r--r-- | web/web_match.h | 9 |
1 files changed, 7 insertions, 2 deletions
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 |