mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
DEVELOP: add Skip Goner password
This commit is contained in:
parent
ee03dae01e
commit
ecdd17faaa
1 changed files with 20 additions and 0 deletions
|
|
@ -199,6 +199,20 @@ static UINT8 cheatf_devmode(void)
|
||||||
|
|
||||||
return 1;
|
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
|
#endif
|
||||||
|
|
||||||
static cheatseq_t cheat_warp = {
|
static cheatseq_t cheat_warp = {
|
||||||
|
|
@ -226,6 +240,11 @@ static cheatseq_t cheat_devmode = {
|
||||||
NULL, cheatf_devmode,
|
NULL, cheatf_devmode,
|
||||||
(UINT8[]){ SCRAMBLE('d'), SCRAMBLE('e'), SCRAMBLE('v'), SCRAMBLE('m'), SCRAMBLE('o'), SCRAMBLE('d'), SCRAMBLE('e'), 0xff }
|
(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
|
#endif
|
||||||
|
|
||||||
cheatseq_t *cheatseqlist[] =
|
cheatseq_t *cheatseqlist[] =
|
||||||
|
|
@ -236,6 +255,7 @@ cheatseq_t *cheatseqlist[] =
|
||||||
&cheat_savetheframes,
|
&cheat_savetheframes,
|
||||||
#ifdef DEVELOP
|
#ifdef DEVELOP
|
||||||
&cheat_devmode,
|
&cheat_devmode,
|
||||||
|
&cheat_skipgoner,
|
||||||
#endif
|
#endif
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue