aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/adl.cpp
diff options
context:
space:
mode:
authorWalter van Niftrik2018-02-03 11:42:03 +0100
committerWalter van Niftrik2018-02-03 23:36:18 +0100
commitbdda3447a3c0eebc31ac3202699a397ca4122ddf (patch)
treef6fdff9ebba45ca8a6ceacb9e638ef8eec0c702f /engines/adl/adl.cpp
parenta0631840f9d39d648813ca2e63fd3b41c898e2ed (diff)
downloadscummvm-rg350-bdda3447a3c0eebc31ac3202699a397ca4122ddf.tar.gz
scummvm-rg350-bdda3447a3c0eebc31ac3202699a397ca4122ddf.tar.bz2
scummvm-rg350-bdda3447a3c0eebc31ac3202699a397ca4122ddf.zip
ADL: Add support for an early hires1 version
Diffstat (limited to 'engines/adl/adl.cpp')
-rw-r--r--engines/adl/adl.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/engines/adl/adl.cpp b/engines/adl/adl.cpp
index fba97db98b..bf04860d14 100644
--- a/engines/adl/adl.cpp
+++ b/engines/adl/adl.cpp
@@ -74,10 +74,6 @@ AdlEngine::AdlEngine(OSystem *syst, const AdlGameDescription *gd) :
DebugMan.addDebugChannel(kDebugChannelScript, "Script", "Trace script execution");
}
-Common::String AdlEngine::getDiskImageName(byte volume) const {
- return Adl::getDiskImageName(_gameDescription->desc, volume);
-}
-
bool AdlEngine::pollEvent(Common::Event &event) const {
_console->onFrame();
@@ -256,15 +252,15 @@ void AdlEngine::loadWords(Common::ReadStream &stream, WordMap &map, Common::Stri
break;
// WORKAROUND: Missing verb list terminator in hires3
- if (_gameDescription->gameType == GAME_TYPE_HIRES3 && index == 72 && synonyms == 0)
+ if (getGameType() == GAME_TYPE_HIRES3 && index == 72 && synonyms == 0)
return;
// WORKAROUND: Missing noun list terminator in hires3
- if (_gameDescription->gameType == GAME_TYPE_HIRES3 && index == 113)
+ if (getGameType() == GAME_TYPE_HIRES3 && index == 113)
return;
// WORKAROUND: Missing noun list terminator in hires5 region 15
- if (_gameDescription->gameType == GAME_TYPE_HIRES5 && _state.region == 15 && index == 81)
+ if (getGameType() == GAME_TYPE_HIRES5 && _state.region == 15 && index == 81)
return;
for (uint i = 0; i < synonyms; ++i) {