aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorEugene Sandulenko2016-10-24 10:22:47 +0200
committerEugene Sandulenko2016-10-24 10:56:40 +0200
commit047e0b9f8407746e7a5cae12d199ecff37398c06 (patch)
tree7953d2f7342518c347be6bdce1ee192c5ac8c857 /base
parent2640b8730a07db5c13b01d03cfbb13a351e208bb (diff)
downloadscummvm-rg350-047e0b9f8407746e7a5cae12d199ecff37398c06.tar.gz
scummvm-rg350-047e0b9f8407746e7a5cae12d199ecff37398c06.tar.bz2
scummvm-rg350-047e0b9f8407746e7a5cae12d199ecff37398c06.zip
BASE: Add command line for specifyong Director start movie
Diffstat (limited to 'base')
-rw-r--r--base/commandLine.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index 8be2057338..558c147b96 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -141,6 +141,9 @@ static const char HELP_STRING[] =
#if defined(ENABLE_SCUMM) || defined(ENABLE_GROOVIE)
" --demo-mode Start demo mode of Maniac Mansion or The 7th Guest\n"
#endif
+#if defined(ENABLE_DIRECTOR)
+ " --start-movie=NAME Start movie for Director\n"
+#endif
#ifdef ENABLE_SCUMM
" --tempo=NUM Set music tempo (in percent, 50-200) for SCUMM games\n"
" (default: 100)\n"
@@ -444,7 +447,7 @@ Common::String parseCommandLine(Common::StringMap &settings, int argc, const cha
DO_OPTION_BOOL('f', "fullscreen")
END_OPTION
-
+
DO_LONG_OPTION_BOOL("filtering")
END_OPTION
@@ -616,6 +619,11 @@ Common::String parseCommandLine(Common::StringMap &settings, int argc, const cha
END_OPTION
#endif
+#if defined(ENABLE_DIRECTOR)
+ DO_LONG_OPTION("start-movie")
+ END_OPTION
+#endif
+
unknownOption:
// If we get till here, the option is unhandled and hence unknown.
usage("Unrecognized option '%s'", argv[i]);