summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-16 10:26:16 +0200
committeraap <aap@papnet.eu>2020-04-16 10:26:16 +0200
commit4b602940eb79c637f70a22046d414a0b1358eea8 (patch)
tree4c8a7e8623be3c639f60d63c25a288c8d732506d /src/core
parentMerge branch 'master' of github.com:gtamodding/re3 (diff)
downloadre3-4b602940eb79c637f70a22046d414a0b1358eea8.tar
re3-4b602940eb79c637f70a22046d414a0b1358eea8.tar.gz
re3-4b602940eb79c637f70a22046d414a0b1358eea8.tar.bz2
re3-4b602940eb79c637f70a22046d414a0b1358eea8.tar.lz
re3-4b602940eb79c637f70a22046d414a0b1358eea8.tar.xz
re3-4b602940eb79c637f70a22046d414a0b1358eea8.tar.zst
re3-4b602940eb79c637f70a22046d414a0b1358eea8.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Game.cpp4
-rw-r--r--src/core/config.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index fe747ac1..8699ffeb 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -307,6 +307,7 @@ bool CGame::Initialise(const char* datFile)
CDraw::SetFOV(120.0f);
CDraw::ms_fLODDistance = 500.0f;
LoadingScreen("Loading the Game", "Setup streaming", nil);
+#ifdef USE_TXD_CDIMAGE
int txdHandle = CFileMgr::OpenFile("MODELS\\TXD.IMG", "r");
if (txdHandle)
CFileMgr::CloseFile(txdHandle);
@@ -321,6 +322,9 @@ bool CGame::Initialise(const char* datFile)
CStreaming::Init();
}
}
+#else
+ CStreaming::Init();
+#endif
CStreaming::LoadInitialVehicles();
CStreaming::LoadInitialPeds();
CStreaming::RequestBigBuildings(LEVEL_NONE);
diff --git a/src/core/config.h b/src/core/config.h
index 38e7679f..f684ed3c 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -190,6 +190,7 @@ enum Config {
#define TOGGLEABLE_BETA_FEATURES // toggleable from debug menu. not too many things
#define MORE_LANGUAGES // Add more translations to the game
#define DEFAULT_NATIVE_RESOLUTION // Set default video mode to your native resolution (fixes Windows 10 launch)
+//#define USE_TXD_CDIMAGE // generate and load textures from txd.img
// Pad
#define XINPUT