mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Add grayscale command, toggles GRAYPAL palette override
This commit is contained in:
parent
a6e87ae82c
commit
7b2918ae63
3 changed files with 9 additions and 0 deletions
|
|
@ -1092,6 +1092,7 @@ void D_RegisterClientCommands(void)
|
||||||
COM_AddCommand("rteleport", Command_RTeleport_f);
|
COM_AddCommand("rteleport", Command_RTeleport_f);
|
||||||
COM_AddCommand("skynum", Command_Skynum_f);
|
COM_AddCommand("skynum", Command_Skynum_f);
|
||||||
COM_AddCommand("weather", Command_Weather_f);
|
COM_AddCommand("weather", Command_Weather_f);
|
||||||
|
COM_AddCommand("grayscale", Command_Grayscale_f);
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
COM_AddCommand("causecfail", Command_CauseCfail_f);
|
COM_AddCommand("causecfail", Command_CauseCfail_f);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -762,6 +762,13 @@ void Command_Setlives_f(void)
|
||||||
D_Cheat(consoleplayer, CHEAT_LIVES, atoi(COM_Argv(1)));
|
D_Cheat(consoleplayer, CHEAT_LIVES, atoi(COM_Argv(1)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Command_Grayscale_f(void)
|
||||||
|
{
|
||||||
|
REQUIRE_CHEATS;
|
||||||
|
|
||||||
|
COM_ImmedExecute("toggle palette \"\" GRAYPAL");
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// OBJECTPLACE (and related variables)
|
// OBJECTPLACE (and related variables)
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,7 @@ void Command_Teleport_f(void);
|
||||||
void Command_RTeleport_f(void);
|
void Command_RTeleport_f(void);
|
||||||
void Command_Skynum_f(void);
|
void Command_Skynum_f(void);
|
||||||
void Command_Weather_f(void);
|
void Command_Weather_f(void);
|
||||||
|
void Command_Grayscale_f(void);
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
void Command_CauseCfail_f(void);
|
void Command_CauseCfail_f(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue