diff options
| author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-10-28 05:11:34 +0300 |
|---|---|---|
| committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-10-28 15:05:04 +0300 |
| commit | 922d06ab1fb1c2222b2738bd12cbc7549dc52ded (patch) | |
| tree | 412f2a95fbbe4f0deb57f4c14d84121f0e971dd5 /src/core/main.cpp | |
| parent | fix FireShotgun missing normalise (diff) | |
| download | re3-922d06ab1fb1c2222b2738bd12cbc7549dc52ded.tar.gz | |
rewrite CFO + postfx/pipeline options
Diffstat (limited to 'src/core/main.cpp')
| -rw-r--r-- | src/core/main.cpp | 8 |
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 |
