[Scummvm-cvs-logs] SF.net SVN: scummvm:[35064] scummvm/trunk/base/commandLine.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Fri Nov 14 23:37:32 CET 2008
Revision: 35064
http://scummvm.svn.sourceforge.net/scummvm/?rev=35064&view=rev
Author: mthreepwood
Date: 2008-11-14 22:37:32 +0000 (Fri, 14 Nov 2008)
Log Message:
-----------
The demo mode flag should also be compiled if Groovie is compiled in
Modified Paths:
--------------
scummvm/trunk/base/commandLine.cpp
Modified: scummvm/trunk/base/commandLine.cpp
===================================================================
--- scummvm/trunk/base/commandLine.cpp 2008-11-14 22:20:34 UTC (rev 35063)
+++ scummvm/trunk/base/commandLine.cpp 2008-11-14 22:37:32 UTC (rev 35064)
@@ -112,8 +112,10 @@
" --copy-protection Enable copy protection in SCUMM games, when\n"
" ScummVM disables it by default.\n"
" --talkspeed=NUM Set talk speed for games (default: 60)\n"
+#if defined(ENABLE_SCUMM) || defined(ENABLE_GROOVIE)
+ " --demo-mode Start demo mode of Maniac Mansion or The 7th Guest\n"
+#endif
#ifdef ENABLE_SCUMM
- " --demo-mode Start demo mode of Maniac Mansion\n"
" --tempo=NUM Set music tempo (in percent, 50-200) for SCUMM games\n"
" (default: 100)\n"
#endif
@@ -186,8 +188,10 @@
ConfMan.registerDefault("copy_protection", false);
ConfMan.registerDefault("talkspeed", 60);
+#if defined(ENABLE_SCUMM) || defined(ENABLE_GROOVIE)
+ ConfMan.registerDefault("demo_mode", false);
+#endif
#ifdef ENABLE_SCUMM
- ConfMan.registerDefault("demo_mode", false);
ConfMan.registerDefault("tempo", 0);
#endif
@@ -486,7 +490,8 @@
#ifdef ENABLE_SCUMM
DO_LONG_OPTION_INT("tempo")
END_OPTION
-
+#endif
+#if defined(ENABLE_SCUMM) || defined(ENABLE_GROOVIE)
DO_LONG_OPTION_BOOL("demo-mode")
END_OPTION
#endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list