summaryrefslogtreecommitdiffstats
path: root/src/core/Game.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-02-08 11:21:53 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-02-08 11:21:53 +0100
commit0eb191371388e5b25fbc957ca928c457fc544b21 (patch)
treeb3203e68d3f74c005d2fe0689bce7cf3240dd713 /src/core/Game.cpp
parentDon't show menu map and new languages if gamefiles isn't copied (diff)
parentreorganize shaders; use modulate flag; update librw (diff)
downloadre3-0eb191371388e5b25fbc957ca928c457fc544b21.tar
re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.gz
re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.bz2
re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.lz
re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.xz
re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.zst
re3-0eb191371388e5b25fbc957ca928c457fc544b21.zip
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r--src/core/Game.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index 4fd30b53..2a6afa97 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -414,6 +414,11 @@ bool CGame::Initialise(const char* datFile)
CTxdStore::Create(gameTxdSlot);
CTxdStore::AddRef(gameTxdSlot);
+#ifdef EXTENDED_PIPELINES
+ // for generic fallback
+ CustomPipes::SetTxdFindCallback();
+#endif
+
LoadingScreen("Loading the Game", "Loading particles", nil);
int particleTxdSlot = CTxdStore::AddTxdSlot("particle");
CTxdStore::LoadTxd(particleTxdSlot, "MODELS/PARTICLE.TXD");
@@ -498,10 +503,6 @@ bool CGame::Initialise(const char* datFile)
CFileLoader::LoadLevel("GTA3.DAT");
#endif
-#ifdef EXTENDED_PIPELINES
- // for generic fallback
- CustomPipes::SetTxdFindCallback();
-#endif
CWorld::AddParticles();
CVehicleModelInfo::LoadVehicleColours();
CVehicleModelInfo::LoadEnvironmentMaps();