mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'skip-goner' into 'master'
DEVELOP: add Skip Goner password See merge request KartKrew/Kart!1823
This commit is contained in:
commit
9b336a9314
1 changed files with 20 additions and 0 deletions
|
|
@ -199,6 +199,20 @@ static UINT8 cheatf_devmode(void)
|
|||
|
||||
return 1;
|
||||
}
|
||||
|
||||
static UINT8 cheatf_skipgoner(void)
|
||||
{
|
||||
gamedata->gonerlevel = GDGONER_DONE;
|
||||
gamedata->finishedtutorialchallenge = true;
|
||||
M_UpdateUnlockablesAndExtraEmblems(true, true);
|
||||
|
||||
M_ClearMenus(true);
|
||||
S_StartSound(0, sfx_kc42);
|
||||
|
||||
G_SaveGameData();
|
||||
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static cheatseq_t cheat_warp = {
|
||||
|
|
@ -226,6 +240,11 @@ static cheatseq_t cheat_devmode = {
|
|||
NULL, cheatf_devmode,
|
||||
(UINT8[]){ SCRAMBLE('d'), SCRAMBLE('e'), SCRAMBLE('v'), SCRAMBLE('m'), SCRAMBLE('o'), SCRAMBLE('d'), SCRAMBLE('e'), 0xff }
|
||||
};
|
||||
|
||||
static cheatseq_t cheat_skipgoner = {
|
||||
NULL, cheatf_skipgoner,
|
||||
(UINT8[]){ SCRAMBLE('g'), SCRAMBLE('a'), SCRAMBLE('s'), SCRAMBLE('t'), SCRAMBLE('e'), SCRAMBLE('r'), 0xff }
|
||||
};
|
||||
#endif
|
||||
|
||||
cheatseq_t *cheatseqlist[] =
|
||||
|
|
@ -236,6 +255,7 @@ cheatseq_t *cheatseqlist[] =
|
|||
&cheat_savetheframes,
|
||||
#ifdef DEVELOP
|
||||
&cheat_devmode,
|
||||
&cheat_skipgoner,
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue