summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-12 10:43:06 +0100
committerGitHub <noreply@github.com>2020-12-12 10:43:06 +0100
commit4f3be4972854faa6baa6e79833398f58bba611ec (patch)
tree02baa8ab6bf5a3febb3f93843762e87ca1be1137 /src/core/main.cpp
parentSpanish translation corrections and fixes (diff)
parentMerge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff)
downloadre3-4f3be4972854faa6baa6e79833398f58bba611ec.tar
re3-4f3be4972854faa6baa6e79833398f58bba611ec.tar.gz
re3-4f3be4972854faa6baa6e79833398f58bba611ec.tar.bz2
re3-4f3be4972854faa6baa6e79833398f58bba611ec.tar.lz
re3-4f3be4972854faa6baa6e79833398f58bba611ec.tar.xz
re3-4f3be4972854faa6baa6e79833398f58bba611ec.tar.zst
re3-4f3be4972854faa6baa6e79833398f58bba611ec.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