mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-07 09:10:35 +00:00
CVarConsole
This commit is contained in:
parent
e7c46ac658
commit
42e4a068bb
20 changed files with 1009 additions and 10 deletions
|
@ -22,10 +22,14 @@
|
|||
#include "Script.h"
|
||||
#include "Replay.h"
|
||||
#include "PedPlacement.h"
|
||||
#include "VarConsole.h"
|
||||
|
||||
#define PAD_MOVE_TO_GAME_WORLD_MOVE 60.0f
|
||||
|
||||
bool CPlayerPed::bDontAllowWeaponChange;
|
||||
#ifndef MASTER
|
||||
bool CPlayerPed::bDebugPlayerInfo;
|
||||
#endif
|
||||
|
||||
const uint32 CPlayerPed::nSaveStructSize =
|
||||
#ifdef COMPATIBLE_SAVES
|
||||
|
@ -182,6 +186,11 @@ CPlayerPed::SetupPlayerPed(int32 index)
|
|||
|
||||
CWorld::Add(player);
|
||||
player->m_wepAccuracy = 100;
|
||||
|
||||
#ifndef MASTER
|
||||
VarConsole.Add("Debug PlayerPed", &CPlayerPed::bDebugPlayerInfo, true);
|
||||
VarConsole.Add("Tweak Vehicle Handling", &CVehicle::m_bDisplayHandlingInfo, true);
|
||||
#endif
|
||||
}
|
||||
|
||||
// --MIAMI: Done
|
||||
|
|
|
@ -46,6 +46,9 @@ public:
|
|||
unsigned int m_nLastBusFareCollected;
|
||||
|
||||
static bool bDontAllowWeaponChange;
|
||||
#ifndef MASTER
|
||||
static bool bDebugPlayerInfo;
|
||||
#endif
|
||||
|
||||
CPlayerPed();
|
||||
~CPlayerPed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue