aboutsummaryrefslogtreecommitdiffstats
path: root/src/skel
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/skel
parent6245a17e168822300d7bb1f5a308305872dff2bc (diff)
add NoMovies ini option, rename gDrawVersionText, always save ini after loading
Diffstat (limited to 'src/skel')
-rw-r--r--src/skel/win/win.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index 86b0b214..baf9fdde 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -2275,7 +2275,7 @@ WinMain(HINSTANCE instance,
case GS_START_UP:
{
#ifdef NO_MOVIES
- gGameState = GS_INIT_ONCE;
+ gGameState = gbNoMovies ? GS_INIT_ONCE : GS_INIT_LOGO_MPEG;
#else
gGameState = GS_INIT_LOGO_MPEG;
#endif
@@ -2314,8 +2314,11 @@ WinMain(HINSTANCE instance,
case GS_INIT_INTRO_MPEG:
{
-#ifndef NO_MOVIES
+#ifdef NO_MOVIES
+ if (!gbNoMovies)
+#endif
CloseClip();
+#ifndef FIX_BUGS
CoUninitialize();
#endif
@@ -2351,8 +2354,11 @@ WinMain(HINSTANCE instance,
case GS_INIT_ONCE:
{
-#ifndef NO_MOVIES
+#ifdef NO_MOVIES
+ if (!gbNoMovies)
+#endif
CloseClip();
+#ifndef FIX_BUGS
CoUninitialize();
#endif