summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-24 22:48:32 +0100
committeraap <aap@papnet.eu>2021-01-24 22:50:16 +0100
commitce7f166ba387c5368d500faffa676243bc9a3476 (patch)
tree438e06233fc4e02891b120733d84e8c9a93d95ac /src/core
parentCPedModelInfo and CTempColModels (diff)
downloadre3-ce7f166ba387c5368d500faffa676243bc9a3476.tar
re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.gz
re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.bz2
re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.lz
re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.xz
re3-ce7f166ba387c5368d500faffa676243bc9a3476.tar.zst
re3-ce7f166ba387c5368d500faffa676243bc9a3476.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Game.cpp3
-rw-r--r--src/core/main.cpp3
-rw-r--r--src/core/main.h3
3 files changed, 9 insertions, 0 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index 67ad2890..b5b4b90d 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -366,6 +366,9 @@ bool CGame::Initialise(const char* datFile)
CPools::Initialise();
+ if(gMakeResources)
+ CVehicleModelInfo::Load(nil);
+
#ifndef GTA_PS2
CIniFile::LoadIniFile();
#endif
diff --git a/src/core/main.cpp b/src/core/main.cpp
index dc75daf8..824255f6 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -85,6 +85,9 @@ wchar gUString2[256];
// leeds
bool gMakeResources = true;
bool gUseChunkFiles = false;
+bool gSecondExportPass;
+bool gUseModelResources;
+bool gUseResources;
float FramesPerSecond = 30.0f;
diff --git a/src/core/main.h b/src/core/main.h
index 38dce115..98813470 100644
--- a/src/core/main.h
+++ b/src/core/main.h
@@ -27,6 +27,9 @@ extern bool gbPrintMemoryUsage;
// leeds
extern bool gMakeResources;
extern bool gUseChunkFiles;
+extern bool gSecondExportPass;
+extern bool gUseModelResources;
+extern bool gUseResources;
class CSprite2d;