mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-06 08:35:54 +00:00
Remove restrictions in CGame::Process
This commit is contained in:
parent
a22b6168c6
commit
cfac29b0ef
|
@ -856,9 +856,9 @@ void CGame::Process(void)
|
||||||
gameProcessPirateCheck = 2;
|
gameProcessPirateCheck = 2;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
uint32 startTime = CTimer::GetCurrentTimeInCycles() / CTimer::GetCyclesPerMillisecond();
|
//uint32 startTime = CTimer::GetCurrentTimeInCycles() / CTimer::GetCyclesPerMillisecond();
|
||||||
CStreaming::Update();
|
CStreaming::Update();
|
||||||
uint32 processTime = CTimer::GetCurrentTimeInCycles() / CTimer::GetCyclesPerMillisecond() - startTime;
|
//uint32 processTime = CTimer::GetCurrentTimeInCycles() / CTimer::GetCyclesPerMillisecond() - startTime;
|
||||||
CWindModifiers::Number = 0;
|
CWindModifiers::Number = 0;
|
||||||
if (!CTimer::GetIsPaused())
|
if (!CTimer::GetIsPaused())
|
||||||
{
|
{
|
||||||
|
@ -897,13 +897,13 @@ void CGame::Process(void)
|
||||||
CEventList::Update();
|
CEventList::Update();
|
||||||
CParticle::Update();
|
CParticle::Update();
|
||||||
gFireManager.Update();
|
gFireManager.Update();
|
||||||
if (processTime >= 2) {
|
//if (processTime >= 2) {
|
||||||
CPopulation::Update(false);
|
// CPopulation::Update(false);
|
||||||
} else {
|
//} else {
|
||||||
uint32 startTime = CTimer::GetCurrentTimeInCycles() / CTimer::GetCyclesPerMillisecond();
|
// uint32 startTime = CTimer::GetCurrentTimeInCycles() / CTimer::GetCyclesPerMillisecond();
|
||||||
CPopulation::Update(true);
|
CPopulation::Update(true);
|
||||||
processTime = CTimer::GetCurrentTimeInCycles() / CTimer::GetCyclesPerMillisecond() - startTime;
|
// processTime = CTimer::GetCurrentTimeInCycles() / CTimer::GetCyclesPerMillisecond() - startTime;
|
||||||
}
|
//}
|
||||||
CWeapon::UpdateWeapons();
|
CWeapon::UpdateWeapons();
|
||||||
if (!CCutsceneMgr::IsRunning())
|
if (!CCutsceneMgr::IsRunning())
|
||||||
CTheCarGenerators::Process();
|
CTheCarGenerators::Process();
|
||||||
|
@ -941,7 +941,7 @@ void CGame::Process(void)
|
||||||
if (!CReplay::IsPlayingBack())
|
if (!CReplay::IsPlayingBack())
|
||||||
{
|
{
|
||||||
PUSH_MEMID(MEMID_CARS);
|
PUSH_MEMID(MEMID_CARS);
|
||||||
if (processTime < 2)
|
//if (processTime < 2)
|
||||||
CCarCtrl::GenerateRandomCars();
|
CCarCtrl::GenerateRandomCars();
|
||||||
CRoadBlocks::GenerateRoadBlocks();
|
CRoadBlocks::GenerateRoadBlocks();
|
||||||
CCarCtrl::RemoveDistantCars();
|
CCarCtrl::RemoveDistantCars();
|
||||||
|
|
Loading…
Reference in a new issue