summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-01 22:35:53 +0200
committerSergeanur <s.anureev@yandex.ua>2020-12-01 22:35:53 +0200
commit0b20fd7e77dafc34cf9eebc3ffd25318a7d81476 (patch)
treef6ffd5c74960bac9b0e900f1f3f775eec21947f9 /src
parent9461998304219f91b3b24484d0cee5b5c5d4523c (diff)
Remove ifndef GTA_PS2 around replays
Diffstat (limited to 'src')
-rw-r--r--src/core/Game.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index 9a604757..6b9fd11f 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -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();