summaryrefslogtreecommitdiff
path: root/web/web_match.h
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-18 15:45:21 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-18 15:45:21 -0700
commitcbbb37271bdfd5b51824f8b5a3ee5354236beff0 (patch)
treeb5514e2a9d104d36b4877c691a1d44e8ee762926 /web/web_match.h
parent46d5c38b80b2e5f6b237ea0313ba23c408bdf7fe (diff)
downloaddartboat-cbbb37271bdfd5b51824f8b5a3ee5354236beff0.tar.gz
dartboat-cbbb37271bdfd5b51824f8b5a3ee5354236beff0.tar.xz
web: remove active leg ptr; various cleanup
Diffstat (limited to 'web/web_match.h')
-rw-r--r--web/web_match.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/web_match.h b/web/web_match.h
index 56117b5..85fcdbf 100644
--- a/web/web_match.h
+++ b/web/web_match.h
@@ -14,7 +14,6 @@ enum match_mode {
struct match_state {
enum match_mode mode;
struct leg *legs[2];
- struct leg *active_leg;
int active_player;
int boat_undone;
int num_darts;
@@ -35,4 +34,6 @@ void match_opts_free();
bool match_is_over();
+struct leg *state_active_leg();
+
#endif