mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-24 01:20:01 +00:00
fix merge with upstream
This commit is contained in:
parent
90233baffe
commit
402ecd6305
|
@ -5294,10 +5294,10 @@ int8 CRunningScript::ProcessCommandsFrom600To699(int32 command)
|
||||||
{
|
{
|
||||||
CollectParameters(&m_nIp, 1);
|
CollectParameters(&m_nIp, 1);
|
||||||
if (ScriptParams[0] != 0){
|
if (ScriptParams[0] != 0){
|
||||||
CWorld::Players[CWorld::PlayerInFocus].m_nSwitchTaxiTime = CTimer::GetTimeInMilliseconds();
|
CWorld::Players[CWorld::PlayerInFocus].m_nUnusedTaxiTimer = CTimer::GetTimeInMilliseconds();
|
||||||
CWorld::Players[CWorld::PlayerInFocus].m_bSwitchTaxi = true;
|
CWorld::Players[CWorld::PlayerInFocus].m_bUnusedTaxiThing = true;
|
||||||
}else{
|
}else{
|
||||||
CWorld::Players[CWorld::PlayerInFocus].m_bSwitchTaxi = false;
|
CWorld::Players[CWorld::PlayerInFocus].m_bUnusedTaxiThing = false;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
CFireManager &gFireManager = *(CFireManager*)0x8F31D0;
|
CFireManager &gFireManager = *(CFireManager*)0x8F31D0;
|
||||||
|
|
||||||
WRAPPER void CFire::Extinguish(void) { EAXJMP(0x479D40); }
|
WRAPPER void CFire::Extinguish(void) { EAXJMP(0x479D40); }
|
||||||
WRAPPER void CFireManager::StartFire(CEntity* entityOnFire, CEntity* culprit, float, uint32) { EAXJMP(0x479590); }
|
|
||||||
WRAPPER void CFireManager::Update(void) { EAXJMP(0x479310); }
|
WRAPPER void CFireManager::Update(void) { EAXJMP(0x479310); }
|
||||||
WRAPPER CFire* CFireManager::FindFurthestFire_NeverMindFireMen(CVector coors, float, float) { EAXJMP(0x479430); }
|
WRAPPER CFire* CFireManager::FindFurthestFire_NeverMindFireMen(CVector coors, float, float) { EAXJMP(0x479430); }
|
||||||
|
|
||||||
|
@ -14,8 +13,6 @@ uint32 CFireManager::GetTotalActiveFires() const
|
||||||
return m_nTotalFires;
|
return m_nTotalFires;
|
||||||
}
|
}
|
||||||
|
|
||||||
WRAPPER void CFireManager::Update(void) { EAXJMP(0x479310); }
|
|
||||||
|
|
||||||
CFire* CFireManager::FindNearestFire(CVector vecPos, float* pDistance)
|
CFire* CFireManager::FindNearestFire(CVector vecPos, float* pDistance)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < MAX_FIREMEN_ATTENDING; i++) {
|
for (int i = 0; i < MAX_FIREMEN_ATTENDING; i++) {
|
||||||
|
@ -52,7 +49,6 @@ CFireManager::ExtinguishPoint(CVector point, float range)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
WRAPPER CFire *CFireManager::FindFurthestFire_NeverMindFireMen(CVector coors, float, float) { EAXJMP(0x479430); }
|
|
||||||
WRAPPER void CFireManager::StartFire(CEntity *entityOnFire, CEntity *culprit, float, uint32) { EAXJMP(0x479590); }
|
WRAPPER void CFireManager::StartFire(CEntity *entityOnFire, CEntity *culprit, float, uint32) { EAXJMP(0x479590); }
|
||||||
WRAPPER void CFireManager::StartFire(CVector, float, uint8) { EAXJMP(0x479500); }
|
WRAPPER void CFireManager::StartFire(CVector, float, uint8) { EAXJMP(0x479500); }
|
||||||
WRAPPER int32 CFireManager::StartScriptFire(const CVector& pos, CEntity* culprit, float, uint8) { EAXJMP(0x479E60); }
|
WRAPPER int32 CFireManager::StartScriptFire(const CVector& pos, CEntity* culprit, float, uint8) { EAXJMP(0x479E60); }
|
||||||
|
|
|
@ -35,7 +35,7 @@ public:
|
||||||
void Update(void);
|
void Update(void);
|
||||||
CFire *FindFurthestFire_NeverMindFireMen(CVector coors, float, float);
|
CFire *FindFurthestFire_NeverMindFireMen(CVector coors, float, float);
|
||||||
CFire *FindNearestFire(CVector, float*);
|
CFire *FindNearestFire(CVector, float*);
|
||||||
uint32 GetTotalActiveFires() const { return m_nTotalFires; }
|
uint32 GetTotalActiveFires() const;
|
||||||
void ExtinguishPoint(CVector, float);
|
void ExtinguishPoint(CVector, float);
|
||||||
int32 StartScriptFire(const CVector& pos, CEntity* culprit, float, uint8);
|
int32 StartScriptFire(const CVector& pos, CEntity* culprit, float, uint8);
|
||||||
bool IsScriptFireExtinguish(int16);
|
bool IsScriptFireExtinguish(int16);
|
||||||
|
|
Loading…
Reference in a new issue