diff -ur ScummVM+orig/scummvm/README ScummVM+hack/scummvm/README
old
|
new
|
|
379 | 379 | --multi-midi - enable combination Adlib and native MIDI |
380 | 380 | --native-mt32 - true Roland MT-32 (disable GM emulation) |
381 | 381 | --aspect-ratio - enable aspect ratio correction |
| 382 | --floppy-intro - Use floppy version intro for Beneath a Steel Sky CD |
382 | 383 | |
383 | 384 | The meaning of long options can be inversed by prefixing them with "no-", e.g. |
384 | 385 | --no-aspect-ratio. This is useful if you want to override a setting in the |
diff -ur ScummVM+orig/scummvm/common/gameDetector.cpp ScummVM+hack/scummvm/common/gameDetector.cpp
old
|
new
|
|
83 | 83 | "\t--multi-midi - enable combination Adlib and native MIDI\n" |
84 | 84 | "\t--native-mt32 - true Roland MT-32 (disable GM emulation)\n" |
85 | 85 | "\t--aspect-ratio - enable aspect ratio correction\n" |
| 86 | #ifndef DISABLE_SKY |
| 87 | "\t--floppy-intro - Use floppy version intro for Beneath a Steel Sky CD\n" |
| 88 | #endif |
86 | 89 | "\n" |
87 | 90 | "The meaning of long options can be inverted by prefixing them with \"no-\",\n" |
88 | 91 | "e.g. \"--no-aspect-ratio\".\n" |
… |
… |
|
163 | 166 | _amiga = false; |
164 | 167 | _language = 0; |
165 | 168 | |
| 169 | #ifndef DISABLE_SKY |
| 170 | _floppyIntro = false; |
| 171 | #endif |
| 172 | |
166 | 173 | _talkSpeed = 60; |
167 | 174 | _debugMode = 0; |
168 | 175 | _debugLevel = 0; |
… |
… |
|
260 | 267 | exit(-1); |
261 | 268 | } |
262 | 269 | |
| 270 | #ifndef DISABLE_SKY |
| 271 | _floppyIntro = g_config->getBool("floppy_intro", _floppyIntro); |
| 272 | #endif |
| 273 | |
263 | 274 | if ((val = g_config->get("language"))) |
264 | 275 | if ((_language = parseLanguage(val)) == -1) { |
265 | 276 | printf("Error in the config file: invalid language.\n"); |
… |
… |
|
469 | 480 | } else if (!strcmp (s, "aspect-ratio")) { |
470 | 481 | _aspectRatio = long_option_value; |
471 | 482 | g_config->setBool ("aspect_ratio", _aspectRatio); |
| 483 | #ifndef DISABLE_SKY |
| 484 | } else if (!strcmp (s, "floppy-intro")) { |
| 485 | _floppyIntro = long_option_value; |
| 486 | g_config->setBool ("floppy_intro", _floppyIntro); |
| 487 | #endif |
472 | 488 | } else { |
473 | 489 | goto ShowHelpAndExit; |
474 | 490 | } |
diff -ur ScummVM+orig/scummvm/common/gameDetector.h ScummVM+hack/scummvm/common/gameDetector.h
old
|
new
|
|
120 | 120 | bool _amiga; |
121 | 121 | int _language; |
122 | 122 | |
| 123 | bool _floppyIntro; |
| 124 | |
123 | 125 | uint16 _talkSpeed; |
124 | 126 | uint16 _debugMode; |
125 | 127 | uint16 _debugLevel; |
diff -ur ScummVM+orig/scummvm/sky/intro.cpp ScummVM+hack/scummvm/sky/intro.cpp
old
|
new
|
|
205 | 205 | |
206 | 206 | uint32 *commandPtr = (uint32 *)zeroCommands; |
207 | 207 | |
| 208 | if (!isCDVersion()) |
| 209 | _floppyIntro = true; |
| 210 | |
208 | 211 | _skyDisk->prefetchFile(60112); // revolution screen |
209 | 212 | _skyDisk->prefetchFile(60113); // revolution palette |
210 | 213 | |
… |
… |
|
214 | 217 | escDelay(3000); //keep virgin screen up for 3 seconds |
215 | 218 | CHECK_ESC |
216 | 219 | |
217 | | if (!isCDVersion()) |
| 220 | if (_floppyIntro) |
218 | 221 | _skyMusic->startMusic(1); |
219 | 222 | |
220 | 223 | escDelay(3000); //and another 3 seconds. |
… |
… |
|
242 | 245 | _skyScreen->paletteFadeUp(60115); |
243 | 246 | |
244 | 247 | |
245 | | if (isCDVersion()) { |
| 248 | if (!_floppyIntro) { |
246 | 249 | return doCDIntro(); |
247 | 250 | } else { |
248 | 251 | _skyDisk->prefetchFile(FN_A_PAL); |
diff -ur ScummVM+orig/scummvm/sky/sky.cpp ScummVM+hack/scummvm/sky/sky.cpp
old
|
new
|
|
71 | 71 | _systemVars.language = detector->_language; |
72 | 72 | _detector = detector; |
73 | 73 | |
| 74 | _floppyIntro = detector->_floppyIntro; |
| 75 | |
74 | 76 | _introTextSpace = 0; |
75 | 77 | _introTextSave = 0; |
76 | 78 | } |
diff -ur ScummVM+orig/scummvm/sky/sky.h ScummVM+hack/scummvm/sky/sky.h
old
|
new
|
|
65 | 65 | byte *_introTextSpace; |
66 | 66 | byte *_introTextSave; |
67 | 67 | |
| 68 | bool _floppyIntro; |
| 69 | |
68 | 70 | uint16 _debugMode; |
69 | 71 | uint16 _debugLevel; |
70 | 72 | bool _paintGrid; |