diff options
author | aap <aap@papnet.eu> | 2019-07-25 16:33:37 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-25 16:33:37 +0200 |
commit | 3bb607f9cbc3d26a1b312f61f86ce3f42ef82a94 (patch) | |
tree | 102b0d7b779aa8969e1be0c9779d2fd7f700b904 /src/core | |
parent | fixed dinput (diff) | |
download | re3-3bb607f9cbc3d26a1b312f61f86ce3f42ef82a94.tar re3-3bb607f9cbc3d26a1b312f61f86ce3f42ef82a94.tar.gz re3-3bb607f9cbc3d26a1b312f61f86ce3f42ef82a94.tar.bz2 re3-3bb607f9cbc3d26a1b312f61f86ce3f42ef82a94.tar.lz re3-3bb607f9cbc3d26a1b312f61f86ce3f42ef82a94.tar.xz re3-3bb607f9cbc3d26a1b312f61f86ce3f42ef82a94.tar.zst re3-3bb607f9cbc3d26a1b312f61f86ce3f42ef82a94.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Explosion.h | 12 | ||||
-rw-r--r-- | src/core/PlayerInfo.h | 8 | ||||
-rw-r--r-- | src/core/re3.cpp | 2 |
3 files changed, 16 insertions, 6 deletions
diff --git a/src/core/Explosion.h b/src/core/Explosion.h index 69508490..93d60ab3 100644 --- a/src/core/Explosion.h +++ b/src/core/Explosion.h @@ -4,8 +4,16 @@ class CEntity; enum eExplosionType { - EXPLOSION_3 = 3, - EXPLOSION_4 + EXPLOSION_GRENADE, + EXPLOSION_MOLOTOV, + EXPLOSION_ROCKET, + EXPLOSION_CAR, + EXPLOSION_CAR_QUICK, + EXPLOSION_HELI, + EXPLOSION_MINE, + EXPLOSION_BARREL, + EXPLOSION_TANK_GRENADE, + EXPLOSION_HELI_BOMB }; class CExplosion diff --git a/src/core/PlayerInfo.h b/src/core/PlayerInfo.h index d8128424..9327b9a0 100644 --- a/src/core/PlayerInfo.h +++ b/src/core/PlayerInfo.h @@ -45,10 +45,10 @@ public: int8 field_225; int8 field_226; int8 field_227; - int32 m_nTimeLostRemoteCar; - int32 m_nTimeLastHealthLoss; - int32 m_nTimeLastArmourLoss; - int32 field_240; + uint32 m_nTimeLostRemoteCar; + uint32 m_nTimeLastHealthLoss; + uint32 m_nTimeLastArmourLoss; + uint32 m_nTimeTankShotGun; int32 m_nUpsideDownCounter; int32 field_248; int16 m_nTrafficMultiplier; diff --git a/src/core/re3.cpp b/src/core/re3.cpp index a0032bc6..6566a282 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -296,6 +296,8 @@ DebugMenuPopulate(void) DebugMenuAddCmd("Spawn", "Spawn Banshee", [](){ SpawnCar(MI_BANSHEE); }); DebugMenuAddCmd("Spawn", "Spawn Yakuza", [](){ SpawnCar(MI_YAKUZA); }); DebugMenuAddCmd("Spawn", "Spawn Dodo", [](){ SpawnCar(MI_DODO); }); + DebugMenuAddCmd("Spawn", "Spawn Rhino", [](){ SpawnCar(MI_RHINO); }); + DebugMenuAddCmd("Spawn", "Spawn Firetruck", [](){ SpawnCar(MI_FIRETRUCK); }); DebugMenuAddCmd("Debug", "Fix Car", FixCar); |