summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-18 22:40:32 +0100
committerwithmorten <morten.with@gmail.com>2021-02-18 22:40:32 +0100
commit48cec4a7862f40de2d0a31c065b1b24cf52d3548 (patch)
tree59945a1d0fda7befa084f3aca91a86e866eb53ef /src/core/re3.cpp
parentupdate librw; render groups only if extension supported (diff)
downloadre3-48cec4a7862f40de2d0a31c065b1b24cf52d3548.tar
re3-48cec4a7862f40de2d0a31c065b1b24cf52d3548.tar.gz
re3-48cec4a7862f40de2d0a31c065b1b24cf52d3548.tar.bz2
re3-48cec4a7862f40de2d0a31c065b1b24cf52d3548.tar.lz
re3-48cec4a7862f40de2d0a31c065b1b24cf52d3548.tar.xz
re3-48cec4a7862f40de2d0a31c065b1b24cf52d3548.tar.zst
re3-48cec4a7862f40de2d0a31c065b1b24cf52d3548.zip
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r--src/core/re3.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index e0f9c5c2..9d5ee8e6 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -517,8 +517,10 @@ bool LoadINISettings()
ReadIniIfExists("Draw", "FixSprites", &CDraw::ms_bFixSprites);
#endif
#ifdef DRAW_GAME_VERSION_TEXT
- extern bool gDrawVersionText;
- ReadIniIfExists("General", "DrawVersionText", &gDrawVersionText);
+ ReadIniIfExists("General", "DrawVersionText", &gbDrawVersionText);
+#endif
+#ifdef NO_MOVIES
+ ReadIniIfExists("General", "NoMovies", &gbNoMovies);
#endif
#ifdef CUSTOM_FRONTEND_OPTIONS
@@ -608,8 +610,10 @@ void SaveINISettings()
StoreIni("Draw", "FixSprites", CDraw::ms_bFixSprites);
#endif
#ifdef DRAW_GAME_VERSION_TEXT
- extern bool gDrawVersionText;
- StoreIni("General", "DrawVersionText", gDrawVersionText);
+ StoreIni("General", "DrawVersionText", gbDrawVersionText);
+#endif
+#ifdef NO_MOVIES
+ StoreIni("General", "NoMovies", gbNoMovies);
#endif
#ifdef CUSTOM_FRONTEND_OPTIONS
for (int i = 0; i < MENUPAGES; i++) {
@@ -990,8 +994,7 @@ extern bool gbRenderWorld2;
#ifdef DRAW_GAME_VERSION_TEXT
- extern bool gDrawVersionText;
- DebugMenuAddVarBool8("Debug", "Version Text", &gDrawVersionText, nil);
+ DebugMenuAddVarBool8("Debug", "Version Text", &gbDrawVersionText, nil);
#endif
DebugMenuAddVarBool8("Debug", "Show DebugStuffInRelease", &gbDebugStuffInRelease, nil);
#ifdef TIMEBARS