mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
Add German floppy demo of BASS.
svn-id: r40234
This commit is contained in:
parent
ad4cb49e3b
commit
64498f074d
@ -49,8 +49,9 @@ struct SkyVersion {
|
||||
|
||||
// TODO: Would be nice if Disk::determineGameVersion() used this table, too.
|
||||
static const SkyVersion skyVersions[] = {
|
||||
{ 232, -1, "floppy demo", 272 }, // German
|
||||
{ 243, -1, "pc gamer demo", 109 },
|
||||
{ 247, -1, "floppy demo", 267 },
|
||||
{ 247, -1, "floppy demo", 267 }, // English
|
||||
{ 1404, -1, "floppy", 288 },
|
||||
{ 1413, -1, "floppy", 303 },
|
||||
{ 1445, 8830435, "floppy", 348 },
|
||||
|
@ -335,11 +335,14 @@ void Disk::dumpFile(uint16 fileNr) {
|
||||
uint32 Disk::determineGameVersion() {
|
||||
//determine game version based on number of entries in dinner table
|
||||
switch (_dinnerTableEntries) {
|
||||
case 232:
|
||||
// German floppy demo (v0.0272)
|
||||
return 272;
|
||||
case 243:
|
||||
// pc gamer demo (v0.0109)
|
||||
return 109;
|
||||
case 247:
|
||||
//floppy demo (v0.0267)
|
||||
// English floppy demo (v0.0267)
|
||||
return 267;
|
||||
case 1404:
|
||||
//floppy (v0.0288)
|
||||
|
@ -164,7 +164,7 @@ Common::Error SkyEngine::go() {
|
||||
|
||||
if (result != GAME_RESTORED) {
|
||||
bool introSkipped = false;
|
||||
if (_systemVars.gameVersion > 267) { // don't do intro for floppydemos
|
||||
if (_systemVars.gameVersion > 272) { // don't do intro for floppydemos
|
||||
Intro *skyIntro = new Intro(_skyDisk, _skyScreen, _skyMusic, _skySound, _skyText, _mixer, _system);
|
||||
bool floppyIntro = ConfMan.getBool("alt_intro");
|
||||
introSkipped = !skyIntro->doIntro(floppyIntro);
|
||||
@ -433,9 +433,10 @@ void SkyEngine::delay(int32 amount) {
|
||||
|
||||
bool SkyEngine::isDemo(void) {
|
||||
switch (_systemVars.gameVersion) {
|
||||
case 109: // pc gamer demo
|
||||
case 267: // floppy demo
|
||||
case 365: // cd demo
|
||||
case 109: // PC Gamer demo
|
||||
case 267: // English floppy demo
|
||||
case 272: // German floppy demo
|
||||
case 365: // CD demo
|
||||
return true;
|
||||
case 288:
|
||||
case 303:
|
||||
@ -453,6 +454,7 @@ bool SkyEngine::isCDVersion(void) {
|
||||
switch (_systemVars.gameVersion) {
|
||||
case 109:
|
||||
case 267:
|
||||
case 272:
|
||||
case 288:
|
||||
case 303:
|
||||
case 331:
|
||||
|
@ -424,6 +424,7 @@ void Text::initHuffTree() {
|
||||
case 109:
|
||||
_huffTree = _huffTree_00109;
|
||||
break;
|
||||
case 272: // FIXME: Extract data
|
||||
case 267:
|
||||
_huffTree = _huffTree_00267;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user