From 1e5fff86c875958408f3a5532451139626a4dc56 Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Tue, 15 Mar 2016 22:34:00 +0100 Subject: ADL: Fix hires2 message printing --- engines/adl/hires2.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/adl/hires2.cpp') diff --git a/engines/adl/hires2.cpp b/engines/adl/hires2.cpp index 19acf19476..f44dfc4a2b 100644 --- a/engines/adl/hires2.cpp +++ b/engines/adl/hires2.cpp @@ -59,7 +59,7 @@ void HiRes2Engine::init() { byte track = f.readByte(); byte sector = f.readByte(); byte offset = f.readByte(); - // One more byte follows, disk? + // One more byte follows, disk? or size maybe? uint diskOffset = TSO(track, sector, offset); @@ -144,6 +144,10 @@ void HiRes2Engine::showRoom() { printString(_roomData.description); } +void HiRes2Engine::printMessage(uint idx, bool wait) { + printString(_messages[idx - 1]); +} + void HiRes2Engine::checkTextOverflow(char c) { if (c != APPLECHAR('\r')) return; -- cgit v1.2.3