JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
bump version to 0.5.8
[vor.git] / score.h
diff --git a/score.h b/score.h
index 478afca..2458135 100644 (file)
--- a/score.h
+++ b/score.h
@@ -20,7 +20,7 @@
 #define VOR_SCORE_H
 
 #include <SDL.h>
-#include <stdint.h>
+#include <inttypes.h>
 #include <stdio.h>
 
 #define N_SCORES 8
@@ -31,14 +31,15 @@ struct highscore {
        char name[32];
 };
 
-extern struct highscore g_scores[N_SCORES];
+extern struct highscore g_scores[2][N_SCORES];
 
 void read_high_score_table(void);
 void write_high_score_table(void);
 int snprintscore(char *s, size_t n, int score);
-int snprintscore_line(char *s, size_t n, int score);
-void display_scores(SDL_Surface *s, uint32_t x, uint32_t y);
+void show_score(void);
+void display_scores(uint32_t x, uint32_t y);
 int new_high_score(int score);
-int process_score_input(void);
+int insert_score(int score);
+int process_score_input(SDL_keysym *key);
 
 #endif // VOR_SCORE_H