00001 00005 // /** 00006 // *@defgroup highscoresh highscores.h 00007 // *Displays and updates the highscores menu 00008 // *@{ 00009 // */ 00010 00011 /*----------------------------------------------------------------------------------------------------------*/ 00012 00013 void highscores(void); 00014 00015 /*----------------------------------------------------------------------------------------------------------*/ 00016 00017 void print_scores(ALLEGRO_BITMAP *image, float x, float y, int nflags, ALLEGRO_COLOR color); 00018 00019 /*----------------------------------------------------------------------------------------------------------*/ 00020 00021 void load_file(void); 00022 00023 /*----------------------------------------------------------------------------------------------------------*/ 00024 00025 void create_blank_file(void); 00026 00027 /*----------------------------------------------------------------------------------------------------------*/ 00028 00029 void clear_highscores(void); 00030 00031 /*----------------------------------------------------------------------------------------------------------*/ 00032 00033 void add_score(int score, char *survival_time); 00034 00035 /*----------------------------------------------------------------------------------------------------------*/ 00036 00037 int get_score_pos(int *array, int score); 00038 00039 /*----------------------------------------------------------------------------------------------------------*/ 00040 00041 int* get_scores(void); 00042 00043 /*----------------------------------------------------------------------------------------------------------*/ 00044 00045 void highscores_cleanup(void); 00046 00047 /*----------------------------------------------------------------------------------------------------------*/ 00048 00049 void exit_highscores(GDATAPTR game); 00050 00051 /*----------------------------------------------------------------------------------------------------------*/ 00052 00053 // /** 00054 // *@} 00055 // */