summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-10 17:09:14 +0200
committeraap <aap@papnet.eu>2020-05-10 17:09:14 +0200
commit0552d49fcef00be81b3b5744e49fae5e7f0fcf34 (patch)
tree5e72da39d5268d05fb4860e1b16547dbc9147160 /src/core/Pad.cpp
parentadded some anim groups (diff)
downloadre3-0552d49fcef00be81b3b5744e49fae5e7f0fcf34.tar
re3-0552d49fcef00be81b3b5744e49fae5e7f0fcf34.tar.gz
re3-0552d49fcef00be81b3b5744e49fae5e7f0fcf34.tar.bz2
re3-0552d49fcef00be81b3b5744e49fae5e7f0fcf34.tar.lz
re3-0552d49fcef00be81b3b5744e49fae5e7f0fcf34.tar.xz
re3-0552d49fcef00be81b3b5744e49fae5e7f0fcf34.tar.zst
re3-0552d49fcef00be81b3b5744e49fae5e7f0fcf34.zip
Diffstat (limited to '')
-rw-r--r--src/core/Pad.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp
index b996dc28..6e2080cf 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -273,6 +273,20 @@ void NastyLimbsCheat()
{
CPed::bNastyLimbsCheat = !CPed::bNastyLimbsCheat;
}
+
+void BlackCarsCheat()
+{
+ CHud::SetHelpMessage(TheText.Get("CHEAT1"), true);
+ gbBlackCars = true;
+ gbPinkCars = false;
+}
+
+void PinkCarsCheat()
+{
+ CHud::SetHelpMessage(TheText.Get("CHEAT1"), true);
+ gbBlackCars = false;
+ gbPinkCars = true;
+}
//////////////////////////////////////////////////////////////////////////
#ifdef KANGAROO_CHEAT
@@ -951,6 +965,14 @@ void CPad::AddToPCCheatString(char c)
if ( !_CHEATCMP("TAEHCSBMILYTSAN") )
NastyLimbsCheat();
+ // "IWANTITPAINTEDBLACK"
+ if ( !_CHEATCMP("KCALBDETNIAPTITNAWI") )
+ BlackCarsCheat();
+
+ // "AHAIRDRESSERSCAR"
+ if ( !_CHEATCMP("RACSRESSERDRIAHA") )
+ PinkCarsCheat();
+
#ifdef KANGAROO_CHEAT
// "KANGAROO"
if (!_CHEATCMP("OORAGNAK"))