From 047e0b9f8407746e7a5cae12d199ecff37398c06 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 24 Oct 2016 10:22:47 +0200 Subject: BASE: Add command line for specifyong Director start movie --- base/commandLine.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'base') 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]); -- cgit v1.2.3