mirror of
https://github.com/GTAmodding/re3.git
synced 2021-02-19 17:49:54 +01:00
renamed flag to R* name
This commit is contained in:
parent
0aaaab3622
commit
8de701dd70
@ -207,7 +207,7 @@ CAutomobile::ProcessControl(void)
|
||||
int i;
|
||||
CColModel *colModel;
|
||||
|
||||
if(bUseSpecialColModel)
|
||||
if(bUsingSpecialColModel)
|
||||
colModel = &CWorld::Players[CWorld::PlayerInFocus].m_ColModel;
|
||||
else
|
||||
colModel = GetColModel();
|
||||
@ -1423,7 +1423,7 @@ CAutomobile::ProcessEntityCollision(CEntity *ent, CColPoint *colpoints)
|
||||
if(m_status != STATUS_SIMPLE)
|
||||
bVehicleColProcessed = true;
|
||||
|
||||
if(bUseSpecialColModel)
|
||||
if(bUsingSpecialColModel)
|
||||
colModel = &CWorld::Players[CWorld::PlayerInFocus].m_ColModel;
|
||||
else
|
||||
colModel = GetColModel();
|
||||
@ -1805,7 +1805,7 @@ CAutomobile::HydraulicControl(void)
|
||||
if(m_status != STATUS_PLAYER){
|
||||
// reset hydraulics for non-player cars
|
||||
|
||||
if(!bUseSpecialColModel)
|
||||
if(!bUsingSpecialColModel)
|
||||
return;
|
||||
if(specialColModel != nil) // this is always true
|
||||
for(i = 0; i < 4; i++)
|
||||
@ -1825,7 +1825,7 @@ CAutomobile::HydraulicControl(void)
|
||||
|
||||
if(playerInfo->m_pVehicleEx == this)
|
||||
playerInfo->m_pVehicleEx = nil;
|
||||
bUseSpecialColModel = false;
|
||||
bUsingSpecialColModel = false;
|
||||
m_hydraulicState = 0;
|
||||
return;
|
||||
}
|
||||
@ -1839,14 +1839,14 @@ CAutomobile::HydraulicControl(void)
|
||||
float extendedLowerLimit = normalLowerLimit - 0.2f;
|
||||
float extendedSpringLength = extendedUpperLimit - extendedLowerLimit;
|
||||
|
||||
if(!bUseSpecialColModel){
|
||||
if(!bUsingSpecialColModel){
|
||||
// Init special col model
|
||||
|
||||
if(playerInfo->m_pVehicleEx && playerInfo->m_pVehicleEx == this)
|
||||
playerInfo->m_pVehicleEx->bUseSpecialColModel = false;
|
||||
playerInfo->m_pVehicleEx->bUsingSpecialColModel = false;
|
||||
playerInfo->m_pVehicleEx = this;
|
||||
playerInfo->m_ColModel = *normalColModel;
|
||||
bUseSpecialColModel = true;
|
||||
bUsingSpecialColModel = true;
|
||||
specialColModel = &playerInfo->m_ColModel;
|
||||
|
||||
if(m_fVelocityChangeForAudio > 0.1f)
|
||||
|
@ -70,7 +70,7 @@ CVehicle::CVehicle(uint8 CreatedBy)
|
||||
bHasBeenOwnedByPlayer = false;
|
||||
m_veh_flagC20 = false;
|
||||
bCanBeDamaged = true;
|
||||
bUseSpecialColModel = false;
|
||||
bUsingSpecialColModel = false;
|
||||
m_veh_flagD1 = false;
|
||||
m_veh_flagD2 = false;
|
||||
m_nGunFiringTime = 0;
|
||||
|
@ -191,7 +191,7 @@ public:
|
||||
uint8 m_veh_flagC10 : 1;
|
||||
uint8 m_veh_flagC20 : 1;
|
||||
uint8 bCanBeDamaged : 1; // Set to FALSE during cut scenes to avoid explosions
|
||||
uint8 bUseSpecialColModel : 1;
|
||||
uint8 bUsingSpecialColModel : 1;// Is player vehicle using special collision model, stored in player strucure
|
||||
|
||||
uint8 m_veh_flagD1 : 1;
|
||||
uint8 m_veh_flagD2 : 1;
|
||||
|
Loading…
Reference in New Issue
Block a user