aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/adl.cpp
diff options
context:
space:
mode:
authorWalter van Niftrik2016-04-13 22:01:15 +0200
committerWalter van Niftrik2016-06-06 20:35:49 +0200
commite79f26c9bcda2c08ef7a7628960c71cff336daaf (patch)
tree4ab8b528befc9e6cbf3fb7815851bd86819693b2 /engines/adl/adl.cpp
parentd2175a70ce3873e09f9f7b7bc84dcc1b614ae054 (diff)
downloadscummvm-rg350-e79f26c9bcda2c08ef7a7628960c71cff336daaf.tar.gz
scummvm-rg350-e79f26c9bcda2c08ef7a7628960c71cff336daaf.tar.bz2
scummvm-rg350-e79f26c9bcda2c08ef7a7628960c71cff336daaf.zip
ADL: Implement hires6 item descriptions
Diffstat (limited to 'engines/adl/adl.cpp')
-rw-r--r--engines/adl/adl.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/adl/adl.cpp b/engines/adl/adl.cpp
index edcd804aee..c17855d47c 100644
--- a/engines/adl/adl.cpp
+++ b/engines/adl/adl.cpp
@@ -127,6 +127,13 @@ void AdlEngine::printMessage(uint idx) {
printString(loadMessage(idx));
}
+Common::String AdlEngine::getItemDescription(const Item &item) const {
+ if (item.description > 0)
+ return loadMessage(item.description);
+ else
+ return Common::String();
+}
+
void AdlEngine::delay(uint32 ms) const {
uint32 start = g_system->getMillis();