aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorJoost Peters2003-04-20 22:01:57 +0000
committerJoost Peters2003-04-20 22:01:57 +0000
commit5a74c80df17d8394f703b4e2c4a0af473dddbf40 (patch)
tree471f0e831d4bdaad3ca2e9a2dd3efa95e8ac0191 /sky
parentbe4915078fee70c81888ecf5757e529d1675b948 (diff)
downloadscummvm-rg350-5a74c80df17d8394f703b4e2c4a0af473dddbf40.tar.gz
scummvm-rg350-5a74c80df17d8394f703b4e2c4a0af473dddbf40.tar.bz2
scummvm-rg350-5a74c80df17d8394f703b4e2c4a0af473dddbf40.zip
added detection for v0.0331
svn-id: r7046
Diffstat (limited to 'sky')
-rw-r--r--sky/sky.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp
index f7fb099986..bb5e5d73d8 100644
--- a/sky/sky.cpp
+++ b/sky/sky.cpp
@@ -101,7 +101,8 @@ void SkyState::initialise(void) {
_skyDisk = new SkyDisk(_gameDataPath);
_gameVersion = _skyDisk->determineGameVersion();
-
+ _skyText = getSkyText();
+
initialiseScreen();
initVirgin();
//initMouse();
@@ -109,7 +110,6 @@ void SkyState::initialise(void) {
//initScript();
initialiseGrids();
//initialiseRouter();
- _skyText = getSkyText();
}
void SkyState::initItemList() {
@@ -196,11 +196,11 @@ SkyText *SkyState::getSkyText() {
//floppy demo
return new SkyText_v00267(_skyDisk, _gameVersion);
case 288:
- //floppy - old version
+ //floppy version
return new SkyText_v00288(_skyDisk, _gameVersion);
- //case 331:
- //floppy - new version
- //return new SkyText_v00331(_skyDisk, _gameVersion);
+ case 331:
+ //floppy version
+ return new SkyText_v00331(_skyDisk, _gameVersion);
case 365:
//cd demo, uses a slightly modified version of v00372
case 368:
@@ -209,7 +209,7 @@ SkyText *SkyState::getSkyText() {
//cd version
return new SkyText_v00372(_skyDisk, _gameVersion);
default:
- error("Unknown game version!");
+ error("Unknown game version");
}
}
@@ -228,7 +228,7 @@ bool SkyState::isDemo(uint32 version) {
case 372:
return false;
default:
- error("Unknown game version!");
+ error("Unknown game version");
}
}
@@ -247,7 +247,7 @@ bool SkyState::isCDVersion(uint32 version) {
case 372:
return true;
default:
- error("Unknown game version!");
+ error("Unknown game version");
}
}