summaryrefslogtreecommitdiff
path: root/web/web_scoreboard.h
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-03 13:21:24 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-03 13:22:43 -0700
commite297ac65f8f0cde103880c73d0c92ad3cb50f161 (patch)
treed08677e97ae1a863f1c8eed49dc36560d544d7ca /web/web_scoreboard.h
parent9a0f3d15dfaac41657bb549c7e246d2ac81fdf4c (diff)
downloaddartboat-e297ac65f8f0cde103880c73d0c92ad3cb50f161.tar.gz
dartboat-e297ac65f8f0cde103880c73d0c92ad3cb50f161.tar.xz
web: more use of generic JS functions
Diffstat (limited to 'web/web_scoreboard.h')
-rw-r--r--web/web_scoreboard.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/web_scoreboard.h b/web/web_scoreboard.h
index 76ba1a9..6525654 100644
--- a/web/web_scoreboard.h
+++ b/web/web_scoreboard.h
@@ -5,6 +5,8 @@
void scoreboard_flush();
+void scoreboard_set_player_active(int pn);
+
void scoreboard_flush_player_info(int pn);
void scoreboard_set_player_avg(int pn, double avg);
@@ -12,6 +14,8 @@ void update_player_name(int pn, char *str);
void update_player_sugg(int pn, int rem);
void update_player_avg(int pn, int n_darts);
void update_player_rem(int pn, int rem);
+
+void show_player_info(int pn);
void clear_player_info(int pn);
void draw_visits();