mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-30 21:20:54 +00:00
Disable REDXVI cheat by default.
This commit is contained in:
parent
8ffec89207
commit
9f46f84132
1 changed files with 6 additions and 4 deletions
|
@ -70,6 +70,7 @@ static UINT8 cheatf_ultimate(void)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef REDXVI
|
||||||
static UINT8 cheatf_warp(void)
|
static UINT8 cheatf_warp(void)
|
||||||
{
|
{
|
||||||
if (modifiedgame)
|
if (modifiedgame)
|
||||||
|
@ -91,6 +92,7 @@ static UINT8 cheatf_warp(void)
|
||||||
M_StartControlPanel();
|
M_StartControlPanel();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef DEVELOP
|
#ifdef DEVELOP
|
||||||
static UINT8 cheatf_devmode(void)
|
static UINT8 cheatf_devmode(void)
|
||||||
|
@ -131,10 +133,7 @@ static cheatseq_t cheat_ultimate_joy = {
|
||||||
SCRAMBLE(KEY_ENTER), 0xff }
|
SCRAMBLE(KEY_ENTER), 0xff }
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef DEVELOP
|
#ifdef REDXVI
|
||||||
Probably time to change these cheats?
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static cheatseq_t cheat_warp = {
|
static cheatseq_t cheat_warp = {
|
||||||
0, cheatf_warp,
|
0, cheatf_warp,
|
||||||
{ SCRAMBLE('r'), SCRAMBLE('e'), SCRAMBLE('d'), SCRAMBLE('x'), SCRAMBLE('v'), SCRAMBLE('i'), 0xff }
|
{ SCRAMBLE('r'), SCRAMBLE('e'), SCRAMBLE('d'), SCRAMBLE('x'), SCRAMBLE('v'), SCRAMBLE('i'), 0xff }
|
||||||
|
@ -147,6 +146,7 @@ static cheatseq_t cheat_warp_joy = {
|
||||||
SCRAMBLE(KEY_LEFTARROW), SCRAMBLE(KEY_UPARROW),
|
SCRAMBLE(KEY_LEFTARROW), SCRAMBLE(KEY_UPARROW),
|
||||||
SCRAMBLE(KEY_ENTER), 0xff }
|
SCRAMBLE(KEY_ENTER), 0xff }
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef DEVELOP
|
#ifdef DEVELOP
|
||||||
static cheatseq_t cheat_devmode = {
|
static cheatseq_t cheat_devmode = {
|
||||||
|
@ -239,8 +239,10 @@ boolean cht_Responder(event_t *ev)
|
||||||
|
|
||||||
ret += cht_CheckCheat(&cheat_ultimate, (char)ch);
|
ret += cht_CheckCheat(&cheat_ultimate, (char)ch);
|
||||||
ret += cht_CheckCheat(&cheat_ultimate_joy, (char)ch);
|
ret += cht_CheckCheat(&cheat_ultimate_joy, (char)ch);
|
||||||
|
#ifdef REDXVI
|
||||||
ret += cht_CheckCheat(&cheat_warp, (char)ch);
|
ret += cht_CheckCheat(&cheat_warp, (char)ch);
|
||||||
ret += cht_CheckCheat(&cheat_warp_joy, (char)ch);
|
ret += cht_CheckCheat(&cheat_warp_joy, (char)ch);
|
||||||
|
#endif
|
||||||
#ifdef DEVELOP
|
#ifdef DEVELOP
|
||||||
ret += cht_CheckCheat(&cheat_devmode, (char)ch);
|
ret += cht_CheckCheat(&cheat_devmode, (char)ch);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue