diff options
author | withmorten <morten.with@gmail.com> | 2021-02-18 22:55:26 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-02-18 22:55:26 +0100 |
commit | 781617d484ae7f7966ee7d3f1abe557c9ad9230c (patch) | |
tree | b074bd2e34a66cf354270f4af7cb99a6f1657f00 /src/core/re3.cpp | |
parent | update librw; render groups only if extension supported (diff) | |
download | re3-781617d484ae7f7966ee7d3f1abe557c9ad9230c.tar re3-781617d484ae7f7966ee7d3f1abe557c9ad9230c.tar.gz re3-781617d484ae7f7966ee7d3f1abe557c9ad9230c.tar.bz2 re3-781617d484ae7f7966ee7d3f1abe557c9ad9230c.tar.lz re3-781617d484ae7f7966ee7d3f1abe557c9ad9230c.tar.xz re3-781617d484ae7f7966ee7d3f1abe557c9ad9230c.tar.zst re3-781617d484ae7f7966ee7d3f1abe557c9ad9230c.zip |
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r-- | src/core/re3.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index 66930f19..a6e4f267 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -533,8 +533,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 @@ -630,8 +632,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++) { @@ -1061,8 +1065,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 |