From e79f26c9bcda2c08ef7a7628960c71cff336daaf Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Wed, 13 Apr 2016 22:01:15 +0200 Subject: ADL: Implement hires6 item descriptions --- engines/adl/adl.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'engines/adl/adl.cpp') 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(); -- cgit v1.2.3