X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=highscores.h;h=0c4ae54131fe58546f0a2798652a56d05af5d636;hb=6e6c7f31b8f17af3814727109e48fc6f85ef04b1;hp=1b9d75cc93dfd38e6a735524905be524c26e9c8c;hpb=721322812d9fcfa648268aab34ec1879c9414dfe;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/highscores.h b/highscores.h index 1b9d75c..0c4ae54 100644 --- a/highscores.h +++ b/highscores.h @@ -80,7 +80,7 @@ struct highscore_database #pragma pack(pop) -VG_STATIC struct highscore_system +static struct highscore_system { highscore_database dbheader; aatree aainfo, @@ -98,15 +98,15 @@ VG_STATIC struct highscore_system } highscore_system; -VG_STATIC int highscore_intr( char *buf, int value, int len, char alt ); -VG_STATIC int highscore_intl( char *buf, int value, int len ); -VG_STATIC void highscores_board_printf( FILE *fp, const char *buf, u32 count ); -VG_STATIC aatree_ptr highscore_set_user_nickname( u64 steamid, char nick[16] ); -VG_STATIC aatree_ptr highscores_push_record( highscore_record *record ); -VG_STATIC void highscores_board_generate( char *buf, u32 id, u32 count ); -VG_STATIC void highscores_init( u32 pool_size, u32 playerinfo_pool_size ); -VG_STATIC int highscores_read(void); -VG_STATIC void highscores_create_db(void); -VG_STATIC int highscores_serialize_all(void); +static int highscore_intr( char *buf, int value, int len, char alt ); +static int highscore_intl( char *buf, int value, int len ); +static void highscores_board_printf( FILE *fp, const char *buf, u32 count ); +static aatree_ptr highscore_set_user_nickname( u64 steamid, char nick[16] ); +static aatree_ptr highscores_push_record( highscore_record *record ); +static void highscores_board_generate( char *buf, u32 id, u32 count ); +static void highscores_init( u32 pool_size, u32 playerinfo_pool_size ); +static int highscores_read( const char *path ); +static void highscores_create_db(void); +static int highscores_serialize_all(void); #endif /* HIGHSCORES_H */