aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/resources.h
diff options
context:
space:
mode:
authorD G Turner2012-07-27 03:49:15 +0100
committerD G Turner2012-07-27 03:49:15 +0100
commitf856a0a7466f62ad0bd26484bf5c07c2d01c1461 (patch)
tree7a5b4a86b12647cb6b5f92905e6b61d03cc0749a /engines/teenagent/resources.h
parent7bc646f8caeab2a25fb1c2cddd9efd34c868443d (diff)
downloadscummvm-rg350-f856a0a7466f62ad0bd26484bf5c07c2d01c1461.tar.gz
scummvm-rg350-f856a0a7466f62ad0bd26484bf5c07c2d01c1461.tar.bz2
scummvm-rg350-f856a0a7466f62ad0bd26484bf5c07c2d01c1461.zip
TEENAGENT: Add dsAddr symbols for Inventory. Minor fix to logic.
The start address for the inventory item pointer data table was incorrect and has been corrected.
Diffstat (limited to 'engines/teenagent/resources.h')
-rw-r--r--engines/teenagent/resources.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/teenagent/resources.h b/engines/teenagent/resources.h
index dde34ae36a..c424462a6c 100644
--- a/engines/teenagent/resources.h
+++ b/engines/teenagent/resources.h
@@ -645,6 +645,12 @@ const uint16 dsAddr_currentScene = 0xb4f3; // 1 byte
// Object Combine Error Message : 0xc3e2 to 0xc41e
const uint16 dsAddr_objCombineErrorMsg = 0xc3e2; // "Using these two objects ..."
+// Inventory (item ids held by Ego) (1 byte * 24) : 0xc48d to 0xc4a4
+const uint16 dsAddr_inventory = 0xc48d;
+// 0xc4a5 is null word alignment byte
+// Inventory item data address table (2 bytes * 92) : 0xc4a6 to 0xc55d
+const uint16 dsAddr_inventoryItemDataPtrTable = 0xc4a6;
+
// Current Music Id Playing : 0xdb90
const uint16 dsAddr_currentMusic = 0xdb90; // 1 byte
// Counter for Mansion Intrusion Attempts : 0xdbea