aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/hires2.h
diff options
context:
space:
mode:
authorWalter van Niftrik2016-03-20 07:56:53 +0100
committerWalter van Niftrik2016-06-06 20:35:49 +0200
commita7a371c63d1570714c7b5cb766f6acc3fd26f5fc (patch)
treed6186ca34ee6c5c85665e86523f7b0dd26a51d22 /engines/adl/hires2.h
parente7c93489e4f6055c988d048c9c479de3eff94ece (diff)
downloadscummvm-rg350-a7a371c63d1570714c7b5cb766f6acc3fd26f5fc.tar.gz
scummvm-rg350-a7a371c63d1570714c7b5cb766f6acc3fd26f5fc.tar.bz2
scummvm-rg350-a7a371c63d1570714c7b5cb766f6acc3fd26f5fc.zip
ADL: Implement time opcode
Diffstat (limited to 'engines/adl/hires2.h')
-rw-r--r--engines/adl/hires2.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/adl/hires2.h b/engines/adl/hires2.h
index 8ed51b80c8..121a1f6739 100644
--- a/engines/adl/hires2.h
+++ b/engines/adl/hires2.h
@@ -71,6 +71,7 @@ namespace Adl {
#define IDI_HR2_OFS_STR_NOUN_ERROR TSO(0x1a, 0x1, 0x8e)
#define IDI_HR2_OFS_STR_PLAY_AGAIN TSO(0x1a, 0x8, 0x25)
#define IDI_HR2_OFS_STR_PRESS_RETURN TSO(0x1a, 0x8, 0x5f)
+#define IDI_HR2_OFS_STR_TIME TSO(0x19, 0x7, 0xd7)
struct Picture2 {
byte nr;
@@ -87,7 +88,7 @@ struct RoomData {
class HiRes2Engine : public AdlEngine_v2 {
public:
- HiRes2Engine(OSystem *syst, const AdlGameDescription *gd) : AdlEngine_v2(syst, gd), _linesPrinted(0) { }
+ HiRes2Engine(OSystem *syst, const AdlGameDescription *gd) : AdlEngine_v2(syst, gd) { }
private:
// AdlEngine
@@ -102,12 +103,9 @@ private:
void checkInput(byte verb, byte noun);
void loadRoom(byte roomNr);
- void checkTextOverflow(char c);
- void printString(const Common::String &str);
RoomData _roomData;
Common::Array<Picture2> _itemPics;
- uint _linesPrinted;
};
} // End of namespace Adl