aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/hires2.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/adl/hires2.h')
-rw-r--r--engines/adl/hires2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/adl/hires2.h b/engines/adl/hires2.h
index 6c7904bfaa..631b3418cc 100644
--- a/engines/adl/hires2.h
+++ b/engines/adl/hires2.h
@@ -46,6 +46,7 @@ namespace Adl {
#define IDI_HR2_OFS_NOUNS TS(0x22, 0x2)
#define IDI_HR2_OFS_ROOMS TSO(0x21, 0x5, 0x0e) // Skip bogus room 0
#define IDI_HR2_OFS_MESSAGES TSO(0x1f, 0x2, 0x04) // Skip bogus message 0
+#define IDI_HR2_OFS_ITEM_PICS TSO(0x1e, 0x9, 0x05) // Skip bogus pic 0
#define IDI_HR2_OFS_ITEMS T(0x21)
#define IDI_HR2_OFS_CMDS_0 TS(0x1f, 0x7)
@@ -54,6 +55,7 @@ namespace Adl {
#define IDI_HR2_NUM_ROOMS 135
#define IDI_HR2_NUM_MESSAGES 254
#define IDI_HR2_NUM_VARS 40
+#define IDI_HR2_NUM_ITEM_PICS 38
// Messages used outside of scripts
#define IDI_HR2_MSG_CANT_GO_THERE 123
@@ -92,7 +94,7 @@ private:
void initState();
void restartGame();
void drawPic(byte pic, Common::Point pos) const;
- void drawItem(const Item &item, const Common::Point &pos) const { }
+ void drawItem(const Item &item, const Common::Point &pos) const;
void showRoom();
void printMessage(uint idx, bool wait);
void checkInput(byte verb, byte noun);
@@ -102,6 +104,7 @@ private:
void printString(const Common::String &str);
RoomData _roomData;
+ Common::Array<Picture2> _itemPics;
uint _linesPrinted;
};