summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-22 22:35:19 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-22 22:35:19 +0200
commit6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c (patch)
tree25d4899924a591e4dafd44caf488dd9bf62db95e /src/core/re3.cpp
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
parentMerge pull request #579 from Xinerki/miami (diff)
downloadre3-6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c.tar
re3-6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c.tar.gz
re3-6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c.tar.bz2
re3-6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c.tar.lz
re3-6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c.tar.xz
re3-6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c.tar.zst
re3-6e51ed3c53fc3a4acb79f3545d3c4984dcc02b2c.zip
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r--src/core/re3.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 0e62f3a5..8f808b61 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -69,7 +69,7 @@ mysrand(unsigned int seed)
#ifdef DEBUGMENU
void WeaponCheat();
void HealthCheat();
-void TankCheat();
+void VehicleCheat(bool something, int model);
void BlowUpCarsCheat();
void ChangePlayerCheat();
void MayhemCheat();
@@ -293,7 +293,7 @@ DebugMenuPopulate(void)
DebugMenuAddCmd("Cheats", "Health", HealthCheat);
DebugMenuAddCmd("Cheats", "Wanted level up", WantedLevelUpCheat);
DebugMenuAddCmd("Cheats", "Wanted level down", WantedLevelDownCheat);
- DebugMenuAddCmd("Cheats", "Tank", TankCheat);
+ DebugMenuAddCmd("Cheats", "Tank", []() { VehicleCheat(true, MI_TAXI); });
DebugMenuAddCmd("Cheats", "Blow up cars", BlowUpCarsCheat);
DebugMenuAddCmd("Cheats", "Change player", ChangePlayerCheat);
DebugMenuAddCmd("Cheats", "Mayhem", MayhemCheat);
@@ -385,6 +385,13 @@ DebugMenuPopulate(void)
DebugMenuAddCmd("Debug", "Start Credits", CCredits::Start);
DebugMenuAddCmd("Debug", "Stop Credits", CCredits::Stop);
+#ifdef RELOADABLES
+ DebugMenuAddCmd("Reload", "HUD.TXD", CHud::ReloadTXD);
+ DebugMenuAddCmd("Reload", "FONTS.TXD", NULL);
+ DebugMenuAddCmd("Reload", "FRONTEN1.TXD", NULL);
+ DebugMenuAddCmd("Reload", "FRONTEN2.TXD", NULL);
+#endif
+
extern bool PrintDebugCode;
extern int16 DebugCamMode;
DebugMenuAddVarBool8("Cam", "Use mouse Cam", &CCamera::m_bUseMouse3rdPerson, nil);