summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-12-06 15:29:48 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-12-09 04:32:33 +0100
commitb473adcf80226e22e2e9e9dec10ea8d2187f9a05 (patch)
tree4d2b906f0d5d62ad6af30503a4166ff090493f6f /src/core/main.cpp
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-b473adcf80226e22e2e9e9dec10ea8d2187f9a05.tar
re3-b473adcf80226e22e2e9e9dec10ea8d2187f9a05.tar.gz
re3-b473adcf80226e22e2e9e9dec10ea8d2187f9a05.tar.bz2
re3-b473adcf80226e22e2e9e9dec10ea8d2187f9a05.tar.lz
re3-b473adcf80226e22e2e9e9dec10ea8d2187f9a05.tar.xz
re3-b473adcf80226e22e2e9e9dec10ea8d2187f9a05.tar.zst
re3-b473adcf80226e22e2e9e9dec10ea8d2187f9a05.zip
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r--src/core/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 7fb07fff..74172bf3 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -70,6 +70,7 @@
#include "Ropes.h"
#include "postfx.h"
#include "custompipes.h"
+#include "frontendoption.h"
#include "screendroplets.h"
GlobalScene Scene;
@@ -400,6 +401,13 @@ Initialise3D(void *param)
DebugMenuInit();
DebugMenuPopulate();
#endif // !DEBUGMENU
+#ifdef CUSTOM_FRONTEND_OPTIONS
+ // Apparently this func. can be run multiple times at the start.
+ if (numCustomFrontendOptions == 0 && numCustomFrontendScreens == 0) {
+ // needs stored language and TheText to be loaded, and last TheText reload is at the start of here
+ CustomFrontendOptionsPopulate();
+ }
+#endif
bool ret = CGame::InitialiseRenderWare();
#ifdef EXTENDED_PIPELINES
CustomPipes::CustomPipeInit(); // need Scene.world for this