Secret Cheat was added

This commit is contained in:
Zerocker 2020-05-24 23:50:55 +09:00
parent 37ff33b0a2
commit 19990cde38
4 changed files with 21 additions and 2 deletions

View File

@ -76,6 +76,10 @@
#define TEXT_OPT_CHEAT7 _("EXIT COURSE AT ANY TIME")
#define TEXT_OPT_CHEAT8 _("HUGE MARIO")
#define TEXT_OPT_CHEAT9 _("TINY MARIO")
#define TEXT_OPT_CHEAT10 _("UNKNOWN 1")
#define TEXT_OPT_CHEAT11 _("UNKNOWN 2")
#define TEXT_OPT_CHEAT12 _("UNKNOWN 3")
#define TEXT_OPT_CHEAT13 _("SUPER SECRET CHEAT")
#else // VERSION
@ -132,6 +136,10 @@
#define TEXT_OPT_CHEAT7 _("Exit course at any time")
#define TEXT_OPT_CHEAT8 _("Huge Mario")
#define TEXT_OPT_CHEAT9 _("Tiny Mario")
#define TEXT_OPT_CHEAT10 _("Unknown 1")
#define TEXT_OPT_CHEAT11 _("Unknown 2")
#define TEXT_OPT_CHEAT12 _("Unknown 3")
#define TEXT_OPT_CHEAT13 _("Super Secret Cheat")
#endif // VERSION

View File

@ -484,4 +484,4 @@
#define TEXT_MENU_STARS_DE _(" GEHEIME STERNE")
#endif
#endif
#endif

View File

@ -96,6 +96,10 @@ static const u8 optsCheatsStr[][64] = {
{ TEXT_OPT_CHEAT7 },
{ TEXT_OPT_CHEAT8 },
{ TEXT_OPT_CHEAT9 },
{ TEXT_OPT_CHEAT10 },
{ TEXT_OPT_CHEAT11 },
{ TEXT_OPT_CHEAT12 },
{ TEXT_OPT_CHEAT13 },
};
static const u8 bindStr[][32] = {
@ -257,7 +261,10 @@ static struct Option optsCheats[] = {
DEF_OPT_TOGGLE( optsCheatsStr[6], &Cheats.ExitAnywhere ),
DEF_OPT_TOGGLE( optsCheatsStr[7], &Cheats.HugeMario ),
DEF_OPT_TOGGLE( optsCheatsStr[8], &Cheats.TinyMario ),
DEF_OPT_TOGGLE( optsCheatsStr[9], &Cheats.Unknown1 ),
DEF_OPT_TOGGLE( optsCheatsStr[10], &Cheats.Unknown2 ),
DEF_OPT_TOGGLE( optsCheatsStr[11], &Cheats.Unknown3 ),
DEF_OPT_TOGGLE( optsCheatsStr[12], &Cheats.DisableBLJ),
};
/* submenu definitions */

View File

@ -13,6 +13,10 @@ struct CheatList {
bool ExitAnywhere;
bool HugeMario;
bool TinyMario;
bool Unknown1;
bool Unknown2;
bool Unknown3;
bool DisableBLJ;
};
extern struct CheatList Cheats;