diff options
| author | erorcun <erayorcunus@gmail.com> | 2020-11-03 01:43:53 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-03 01:43:53 +0300 |
| commit | 770a1f8012faf1963a219786daab6140c3df9c0c (patch) | |
| tree | 26550912b3dc21256f97afad2957037dd8b4b597 /src/core/main.cpp | |
| parent | Fix MemoryCard.cpp (diff) | |
| parent | Update MenuScreensCustom.cpp (diff) | |
| download | re3-770a1f8012faf1963a219786daab6140c3df9c0c.tar.gz | |
Merge pull request #789 from erorcun/master
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 1aa0a953..36c94043 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 |
