Add Change --floppy-intro to --alt-intro patch (#896311)

svn-id: r12844
This commit is contained in:
Travis Howell 2004-02-13 10:51:33 +00:00
parent 0e24cabec8
commit adaeb61054
5 changed files with 19 additions and 14 deletions

8
README
View file

@ -364,7 +364,8 @@ arguments - see the next section.
--native-mt32 True Roland MT-32 (disable GM emulation)
--aspect-ratio Enable aspect ratio correction
--floppy-intro Use floppy version intro for Beneath a Steel Sky CD
--alt-intro Use alternative intro for CD versions of Beneath a
Steel Sky and Flight of the Amazon Queen
--copy-protection Enable copy protection in SCUMM games ,when
ScummVM disables it by default.
--demo-mode Start demo mode of Maniac Mansion (Classic version)
@ -879,8 +880,9 @@ The following keywords are recognized:
copy_protection bool Enable copy protection in SCUMM games ,when
ScummVM disables it by default.
demo_mode bool Start demo in Maniac Mansion (Classic version)
floppy_intro bool Use floppy version of introduction in Beneath
a Steel Sky (CD version)
alt_intro bool Use alternative intro for CD versions of
Beneath a Steel Sky and Flight of the Amazon
Queen
boot_param number Pass this number to the boot script
debuglevel number Enable debug output. The higher number, the

View file

@ -79,8 +79,9 @@ static const char USAGE_STRING[] =
" --native-mt32 True Roland MT-32 (disable GM emulation)\n"
" --aspect-ratio Enable aspect ratio correction\n"
"\n"
#ifndef DISABLE_SKY
" --floppy-intro Use floppy version intro for Beneath a Steel Sky CD\n"
#if !defined(DISABLE_SKY) || !defined(DISABLE_QUEEN)
" --alt-intro Use alternative intro for CD versions of Beneath a\n"
" Steel Sky and Flight of the Amazon Queen\n"
#endif
#ifndef DISABLE_SCUMM
" --copy-protection Enable the original copy protection in SCUMM games\n"
@ -136,8 +137,8 @@ GameDetector::GameDetector() {
ConfMan.registerDefault("tempo", 0);
#endif
#ifndef DISABLE_SKY
ConfMan.registerDefault("floppy_intro", false);
#if !defined(DISABLE_SKY) || !defined(DISABLE_QUEEN)
ConfMan.registerDefault("alt_intro", false);
#endif
// Miscellaneous
@ -439,9 +440,9 @@ void GameDetector::parseCommandLine(int argc, char **argv) {
END_OPTION
#endif
#ifndef DISABLE_SKY
DO_LONG_OPTION_BOOL("floppy-intro")
ConfMan.set("floppy_intro", cmdValue, kTransientDomain);
#if !defined(DISABLE_SKY) || !defined(DISABLE_QUEEN)
DO_LONG_OPTION_BOOL("alt-intro")
ConfMan.set("alt_intro", cmdValue, kTransientDomain);
END_OPTION
#endif

View file

@ -37,7 +37,8 @@ Usage: scummvm [OPTIONS]... [GAME]\\
--native-mt32 &True Roland MT-32 (disable GM emulation)\\
--aspect-ratio &Enable aspect ratio correction\\
\\
--floppy-intro &Use floppy version intro for Beneath a Steel Sky CD\\
--alt-intro &Use alternative intro for CD versions of Beneath a\\
&Steel Sky and Flight of the Amazon Queen\\
--copy-protection &Enable copy protection in SCUMM games, when\\
&ScummVM disables it by default.\\
--demo-mode &Start demo mode of Maniac Mansion (Classic version)\\

View file

@ -105,8 +105,9 @@ The following keywords are recognized:
copy\_protection&bool Enable copy protection in SCUMM games ,when\\
& ScummVM disables it by default.\\
demo\_mode &bool Start demo in Maniac Mansion (Classic version)\\
floppy\_intro &bool Use floppy version of introduction in Beneath\\
& a Steel Sky (CD version)\\
alt\_intro &bool Use alternative intro for CD versions of \\
& Beneath a Steel Sky and Flight of the Amazon\\
& Queen
\\
boot\_param &number Pass this number to the boot script\\
debuglevel &number Enable debug output. The higher number, the\\

View file

@ -123,7 +123,7 @@ SkyEngine::SkyEngine(GameDetector *detector, OSystem *syst)
_debugMode = ConfMan.hasKey("debuglevel");
_floppyIntro = ConfMan.getBool("floppy_intro");
_floppyIntro = ConfMan.getBool("alt_intro");
_fastMode = 0;