X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=skaterift.c;h=6cb3579e819c5b5261229e7c25decda86bad586d;hb=96f8ce1f47009e5f763b05566db3f6cca07cdc76;hp=50e780f898811a3be394cf2338b5e55648f60630;hpb=7796f3f18ba78b42599f199523fdb0fdabc5efa1;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/skaterift.c b/skaterift.c index 50e780f..6cb3579 100644 --- a/skaterift.c +++ b/skaterift.c @@ -45,6 +45,7 @@ #include "entity.c" #include "workshop.c" #include "addon.c" +#include "highscores.c" static struct player_avatar localplayer_avatar; static struct player_model localplayer_models[3]; @@ -57,10 +58,12 @@ int main( int argc, char *argv[] ) return 0; } +#if 0 VG_STATIC void highscores_save_at_exit(void) { highscores_serialize_all(); } +#endif VG_STATIC void vg_launch_opt(void) { @@ -78,11 +81,13 @@ vg_info(" | \\/ | | / | | \\ | / | \n" ); vg_info(" ' ' '--' [] '----- '----- ' ' '---' " "SOFTWARE\n" ); + /* 31.05.23 (hgn): this is only a server feature now */ +#if 0 highscores_init( 2000, 50 ); if( !highscores_read() ) highscores_create_db(); - vg_loader_step( NULL, highscores_save_at_exit ); +#endif steam_init(); vg_loader_step( NULL, steam_end );