Fix major overstep with last commit
[carveJwlIkooP6JGAAIwe30JlM.git] / testaa.c
index 5e2cd93c8ed863676e8d5690c2d54f682c92049d..0f2bd3ba12a939b47c7d9ae7c823152dabc67823 100644 (file)
--- a/testaa.c
+++ b/testaa.c
@@ -34,9 +34,9 @@ int main(int argc, const char *argv[])
       highscores_push_record( &entry );
    }
 
-   for( int i=0; i<80; i++ )
+   for( int i=0; i<800; i++ )
    {
-      char rando[16];
+      char rando[10];
 
       int l=2+rand()%8;
       for( int i=0; i<l; i++ )
@@ -54,8 +54,15 @@ int main(int argc, const char *argv[])
                         highscore_system.dbheader.playerinfo_root, 0,
                         &ln, &err, _highscore_showname, 1 );
 #endif
+   
+   char testy[27*(10+3)];
+
+   for( int i=0; i<vg_list_size(track_infos); i++ )
+   {
+      highscores_board_generate( testy, i, 10 );
+      highscores_board_printf( stdout, testy, 10 );
+   }
 
-   highscores_print_track( 12, 10 );
    highscores_serialize_all();
    highscores_free();
    return 0;