X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=main.c;h=7495ff34d9b5368422934a50063a89a64c2d8cdc;hb=ba5f879f85b9cab1e2b37241399d79709fe4f584;hp=c306aa50f1292a0701fae233776fe14b7a4a67ee;hpb=a9f402f2e336dadff2207dacf69416a66f50c8f8;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/main.c b/main.c index c306aa5..7495ff3 100644 --- a/main.c +++ b/main.c @@ -21,7 +21,7 @@ static int sv_scene = 0; static int cl_ui = 1; /* Components */ -//#define SR_NETWORKED +#define SR_NETWORKED /* uncomment this to run the game without any graphics being drawn */ //#define SR_NETWORK_TEST @@ -88,6 +88,7 @@ vg_tex2d *texture_list[] = int main( int argc, char *argv[] ) { + highscores_init( 2000, 50 ); vg_init( argc, argv, "Voyager Game Engine" ); } @@ -254,6 +255,9 @@ void vg_free(void) vg_tex2d_free( texture_list, vg_list_size(texture_list) ); /* TODO: THE REST OF THE GOD DAMN FREEING STUFF */ steam_end(); + + highscores_serialize_all(); + highscores_free(); } void vg_update(void)