X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=score.h;h=b64e1192bfc80b56ad7560362fe8b44e0a1cd8d7;hp=077803303abe9a3a236171673267970c39f2d431;hb=0224eb908d4084f52a22c8d64404a0efb4acfa35;hpb=f8a464d8eed8cf611c0c3f80166d2a650efb1485 diff --git a/score.h b/score.h index 0778033..b64e119 100644 --- a/score.h +++ b/score.h @@ -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 show_score(void); void display_scores(SDL_Surface *s, uint32_t x, uint32_t y); int new_high_score(int score); +int insert_score(int score); int process_score_input(void); #endif // VOR_SCORE_H