aboutsummaryrefslogtreecommitdiff
path: root/scores.h
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2020-04-01 18:14:18 -0500
committerJeffrey Armstrong <jeff@approximatrix.com>2020-04-01 18:14:18 -0500
commit0496bfb6bf86784242246b218b4d663367ee0e7b (patch)
tree2087d72f45d4b4f816edbc0cb458e6eb7433b160 /scores.h
parentca1dd8dfa3fbb0ca8f947b003b9e52bc2a686968 (diff)
downloadgemworm-0496bfb6bf86784242246b218b4d663367ee0e7b.zip
gemworm-0496bfb6bf86784242246b218b4d663367ee0e7b.tar.gz
Initial work on capturing initials if a high score is achieved. Lots broken with form handling, though.
Diffstat (limited to 'scores.h')
-rw-r--r--scores.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scores.h b/scores.h
index 05f53f0..1d36fbe 100644
--- a/scores.h
+++ b/scores.h
@@ -5,4 +5,7 @@ void load_scores(const char *fullpath);
void save_scores(const char *fullpath);
char *get_score_at(int pos, int *score);
+int is_high_score(int score);
+void add_high_score(const char *initials, int score);
+
#endif /* SCORES_HEADERS */