Merge branch 'cheat-unlock-sealed-stars' into 'master'

devmode password: unlock all maps

See merge request KartKrew/Kart!1486
This commit is contained in:
Sal 2023-09-11 23:02:54 +00:00
commit eeda1b3ad5

View file

@ -133,7 +133,7 @@ static UINT8 cheatf_wrongwarp(void)
#ifdef DEVELOP
static UINT8 cheatf_devmode(void)
{
UINT16 i;
INT32 i;
if (modifiedgame)
return 0;
@ -146,6 +146,12 @@ static UINT8 cheatf_devmode(void)
gamedata->unlocked[i] = true;
}
// Unlock all hidden levels.
for (i = 0; i < nummapheaders; i++)
{
mapheaderinfo[i]->records.mapvisited = MV_MAX;
}
// This is a developer feature, you know how to delete ringdata
// G_SetUsedCheats();
S_StartSound(0, sfx_kc42);