diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-02 20:03:01 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-02 20:03:01 -0700 |
commit | f4c0da6517e3a5bf4e87d2ac0acf474fbc75d62c (patch) | |
tree | e08dbb1336f9bf74a7e7d2d1cefd4728c9b57e18 /web/web_scoreboard.h | |
parent | 309a8042a3a84476637ad9c0f6535a1d71369759 (diff) | |
download | dartboat-f4c0da6517e3a5bf4e87d2ac0acf474fbc75d62c.tar.gz dartboat-f4c0da6517e3a5bf4e87d2ac0acf474fbc75d62c.tar.xz |
web: more renaming
Diffstat (limited to 'web/web_scoreboard.h')
-rw-r--r-- | web/web_scoreboard.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/web/web_scoreboard.h b/web/web_scoreboard.h new file mode 100644 index 0000000..76ba1a9 --- /dev/null +++ b/web/web_scoreboard.h @@ -0,0 +1,19 @@ +#ifndef WEB_SCOREBOARD_H +#define WEB_SCOREBOARD_H + +#include <stdbool.h> + +void scoreboard_flush(); + +void scoreboard_flush_player_info(int pn); +void scoreboard_set_player_avg(int pn, double avg); + +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 clear_player_info(int pn); + +void draw_visits(); + +#endif |