Remove ifndef GTA_PS2 around replays

This commit is contained in:
Sergeanur 2020-12-01 22:35:53 +02:00
parent 9461998304
commit 0b20fd7e77
1 changed files with 0 additions and 12 deletions

View File

@ -581,9 +581,7 @@ bool CGame::Initialise(const char* datFile)
CPlane::InitPlanes();
CCredits::Init();
CRecordDataForChase::Init();
#ifndef GTA_PS2 // TODO: define for that
CReplay::Init();
#endif
#ifdef PS2_MENU
if ( !TheMemoryCard.m_bWantToLoad )
@ -773,10 +771,8 @@ void CGame::ReloadIPLs(void)
void CGame::ShutDownForRestart(void)
{
#ifndef GTA_PS2 // TODO: right define
CReplay::FinishPlayback();
CReplay::EmptyReplayBuffer();
#endif
DMAudio.DestroyAllGameCreatedEntities();
for (int i = 0; i < NUMPLAYERS; i++)
@ -996,9 +992,7 @@ void CGame::Process(void)
CMovingThings::Update();
CWaterCannons::Update();
CUserDisplay::Process();
#ifndef GTA_PS2 // TODO: define
CReplay::Update();
#endif
PUSH_MEMID(MEMID_WORLD);
CWorld::Process();
@ -1011,14 +1005,10 @@ void CGame::Process(void)
CRubbish::Update();
CSpecialFX::Update();
CTimeCycle::Update();
#ifndef GTA_PS2 // TODO: define
if (CReplay::ShouldStandardCameraBeProcessed())
#endif
TheCamera.Process();
CCullZones::Update();
#ifndef GTA_PS2 // TODO: define
if (!CReplay::IsPlayingBack())
#endif
CGameLogic::Update();
CBridge::Update();
CCoronas::DoSunAndMoon();
@ -1026,9 +1016,7 @@ void CGame::Process(void)
CShadows::UpdateStaticShadows();
CShadows::UpdatePermanentShadows();
gPhoneInfo.Update();
#ifndef GTA_PS2 // TODO: define
if (!CReplay::IsPlayingBack())
#endif
{
PUSH_MEMID(MEMID_CARS);
CCarCtrl::GenerateRandomCars();