diff options
author | D G Turner | 2012-07-27 06:46:34 +0100 |
---|---|---|
committer | D G Turner | 2012-07-27 06:46:34 +0100 |
commit | b19c164f1a20d02ccdd88a972e9440faa6d95094 (patch) | |
tree | 80a4fff2fdc91948a8b948d4366d9a2102d7d1ee /engines/teenagent/resources.h | |
parent | 7dce94c70bdc0ad58c1fe1ce6324dad7854daf2b (diff) | |
download | scummvm-rg350-b19c164f1a20d02ccdd88a972e9440faa6d95094.tar.gz scummvm-rg350-b19c164f1a20d02ccdd88a972e9440faa6d95094.tar.bz2 scummvm-rg350-b19c164f1a20d02ccdd88a972e9440faa6d95094.zip |
TEENAGENT: Add symbols for object callback tables in Inventory class.
Also, removed one ptr usage, replacing with direct get_byte / get_word
accesses.
Diffstat (limited to 'engines/teenagent/resources.h')
-rw-r--r-- | engines/teenagent/resources.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/teenagent/resources.h b/engines/teenagent/resources.h index c424462a6c..a834dfcbe4 100644 --- a/engines/teenagent/resources.h +++ b/engines/teenagent/resources.h @@ -642,6 +642,13 @@ const uint16 dsAddr_egoY = 0x64b1; // 2 bytes // Current Scene Id : 0xb4f3 const uint16 dsAddr_currentScene = 0xb4f3; // 1 byte +// Inventory Object Callback Table (3 byte (id, callbackAddr) * 7) : 0xbb72 to 0xbb86 +const uint16 dsAddr_objCallbackTablePtr = 0xbb72; + +// Inventory Object Combining Table (5 byte (id, id, new object id, msgAddr) * 34) : 0xc335 to 0xc3de +const uint16 dsAddr_objCombiningTablePtr = 0xc335; +// 3 byte null terminator for Combining table 0xc3df to 0xc3e1 + // Object Combine Error Message : 0xc3e2 to 0xc41e const uint16 dsAddr_objCombineErrorMsg = 0xc3e2; // "Using these two objects ..." |