diff options
Diffstat (limited to 'web/web_control.h')
-rw-r--r-- | web/web_control.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/web/web_control.h b/web/web_control.h new file mode 100644 index 0000000..33cbd2c --- /dev/null +++ b/web/web_control.h @@ -0,0 +1,18 @@ +#ifndef WEB_CONTROL_H +#define WEB_CONTROL_H + +void set_active_player(int pn); +void toggle_active_player(); + +void start_match(int mode); +void end_match(); +void user_visit(int points); +void user_num_darts(int n); +void user_undo(); +void user_visit_to_rem(int rem); +void update_user_rem_from_pts(int pts); +void end_boat_visit(int rem, double avg); + +void handle_next(); + +#endif |