summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-10-28 03:11:34 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-10-28 13:05:04 +0100
commit922d06ab1fb1c2222b2738bd12cbc7549dc52ded (patch)
tree412f2a95fbbe4f0deb57f4c14d84121f0e971dd5 /src/core/main.cpp
parentfix FireShotgun missing normalise (diff)
downloadre3-922d06ab1fb1c2222b2738bd12cbc7549dc52ded.tar
re3-922d06ab1fb1c2222b2738bd12cbc7549dc52ded.tar.gz
re3-922d06ab1fb1c2222b2738bd12cbc7549dc52ded.tar.bz2
re3-922d06ab1fb1c2222b2738bd12cbc7549dc52ded.tar.lz
re3-922d06ab1fb1c2222b2738bd12cbc7549dc52ded.tar.xz
re3-922d06ab1fb1c2222b2738bd12cbc7549dc52ded.tar.zst
re3-922d06ab1fb1c2222b2738bd12cbc7549dc52ded.zip
Diffstat (limited to '')
-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 18ee2dc5..fa82d1e1 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -64,6 +64,7 @@
#include "debugmenu.h"
#include "Clock.h"
#include "custompipes.h"
+#include "frontendoption.h"
GlobalScene Scene;
@@ -404,6 +405,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