X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_info.h;h=772d9e1b71c6379f9bc20dc78f22516e0f71839d;hb=76315944e5a98838163e0aba8601ed3522f0724d;hp=143fb70c6cba56997e0f8f1d12ec6c3b086aebbf;hpb=70792eeb23451cef1f3a103e0c9515b833f81899;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_info.h b/world_info.h index 143fb70..772d9e1 100644 --- a/world_info.h +++ b/world_info.h @@ -1,58 +1,45 @@ /* - * Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved + * Copyright (C) 2021-2023 Mt.ZERO Software, Harry Godden - All Rights Reserved */ #ifndef WORLD_INFO_H #define WORLD_INFO_H -#include "vg/vg_stdint.h" - /* Purely an information header, shares common strings across client and * server programs. */ -static struct world_info -{ - -} -world_info; +#include "highscores.h" -static struct track_info +struct track_info { const char *name, *achievement_id; - int push; } -track_infos[] = +static track_infos[] = { { .name = "Megapark Green", .achievement_id = "ROUTE_MPG", - .push = 1 }, { .name = "Megapark Blue", .achievement_id = "ROUTE_MPB", - .push = 1 }, { .name = "Megapark Yellow", .achievement_id = "ROUTE_MPY", - .push = 1 }, { .name = "Megapark Red", .achievement_id = "ROUTE_MPR", - .push = 1 }, { .name = "Coastal Run", .achievement_id = "ROUTE_TC", - .push = 1 }, { .name = "Docks Jumps", .achievement_id = "ROUTE_TO", - .push = 1 } };