seperate rand instances for each thread
[carveJwlIkooP6JGAAIwe30JlM.git] / highscores.h
index c94087fbff07bef56d2baee46f83320660e401f2..0c4ae54131fe58546f0a2798652a56d05af5d636 100644 (file)
@@ -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,8 +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 );
+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 */