mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-11 05:50:34 +00:00
CPhysical
This commit is contained in:
parent
380f7bc417
commit
a53ca58e56
18 changed files with 558 additions and 294 deletions
|
@ -83,7 +83,7 @@ CBoat::CBoat(int mi, uint8 owner) : CVehicle(owner)
|
|||
|
||||
bIsInWater = true;
|
||||
|
||||
unk1 = 0.0f;
|
||||
m_phys_unused1 = 0.0f;
|
||||
m_bIsAnchored = true;
|
||||
m_fOrientation = INVALID_ORIENTATION;
|
||||
bTouchingWater = true;
|
||||
|
|
|
@ -127,6 +127,9 @@ CVehicle::CVehicle(uint8 CreatedBy)
|
|||
AutoPilot.m_bStayInCurrentLevel = false;
|
||||
AutoPilot.m_bIgnorePathfinding = false;
|
||||
AutoPilot.m_nSwitchDistance = 20;
|
||||
|
||||
// TODO(MIAMI)
|
||||
bRestingOnPhysical = false;
|
||||
}
|
||||
|
||||
CVehicle::~CVehicle()
|
||||
|
|
|
@ -189,7 +189,7 @@ public:
|
|||
uint8 bIsDrowning : 1; // is vehicle occupants taking damage in water (i.e. vehicle is dead in water)
|
||||
//uint8 bTyresDontBurst : 1; // If this is set the tyres are invincible
|
||||
uint8 bCreatedAsPoliceVehicle : 1;// True if this guy was created as a police vehicle (enforcer, policecar, miamivice car etc)
|
||||
//uint8 bRestingOnPhysical : 1; // Dont go static cause car is sitting on a physical object that might get removed
|
||||
uint8 bRestingOnPhysical : 1; // Dont go static cause car is sitting on a physical object that might get removed
|
||||
uint8 bParking : 1;
|
||||
//uint8 bCanPark : 1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue