Functions | |
| void | highscores (void) |
| void | print_scores (ALLEGRO_BITMAP *image, float x, float y, int nflags, ALLEGRO_COLOR color) |
| void | load_file (void) |
| void | create_blank_file (void) |
| void | clear_highscores (void) |
| void | add_score (int score, char *survival_time) |
| int | get_score_pos (int *array, int score) |
| int * | get_scores (void) |
| void | highscores_cleanup (void) |
| void | exit_highscores (GDATAPTR game) |
Displays and updates the highscores menu
| void add_score | ( | int | score, | |
| char * | survival_time | |||
| ) |
Definition at line 181 of file highscores.c.
| void clear_highscores | ( | void | ) |
Definition at line 171 of file highscores.c.
| void create_blank_file | ( | void | ) |
Definition at line 239 of file highscores.c.
| void exit_highscores | ( | GDATAPTR | game | ) |
Definition at line 274 of file highscores.c.
| int get_score_pos | ( | int * | array, | |
| int | score | |||
| ) |
Definition at line 207 of file highscores.c.
| int* get_scores | ( | void | ) |
Definition at line 220 of file highscores.c.
| void highscores | ( | void | ) |
Definition at line 65 of file highscores.c.
| void highscores_cleanup | ( | void | ) |
Definition at line 260 of file highscores.c.
| void load_file | ( | void | ) |
Definition at line 141 of file highscores.c.
| void print_scores | ( | ALLEGRO_BITMAP * | image, | |
| float | x, | |||
| float | y, | |||
| int | nflags, | |||
| ALLEGRO_COLOR | color | |||
| ) |
Definition at line 110 of file highscores.c.
1.6.3