diff options
author | Alyssa Milburn | 2011-11-25 23:00:22 +0100 |
---|---|---|
committer | Alyssa Milburn | 2011-11-25 23:00:22 +0100 |
commit | d070d11c307c8267ba105abd435423ae3df76fc2 (patch) | |
tree | da466f0f3b76b6da1a4d736b9a2b63bec2396d78 | |
parent | 4d4c84fd824ac4a4bea355c2248e47655272ee8b (diff) | |
download | scummvm-rg350-d070d11c307c8267ba105abd435423ae3df76fc2.tar.gz scummvm-rg350-d070d11c307c8267ba105abd435423ae3df76fc2.tar.bz2 scummvm-rg350-d070d11c307c8267ba105abd435423ae3df76fc2.zip |
MOHAWK: Name/stub some unknown LB item flags.
-rw-r--r-- | engines/mohawk/livingbooks.cpp | 16 | ||||
-rw-r--r-- | engines/mohawk/livingbooks.h | 6 |
2 files changed, 19 insertions, 3 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp index dafd1b02d7..14ee03124a 100644 --- a/engines/mohawk/livingbooks.cpp +++ b/engines/mohawk/livingbooks.cpp @@ -2338,6 +2338,22 @@ void LBItem::readData(uint16 type, uint16 size, Common::MemoryReadStreamEndian * } break; + case kLBSetRolloverData: + { + assert(size == 2); + uint16 flag = stream->readUint16(); + warning("ignoring kLBSetRolloverData: item %s, flag %d", _desc.c_str(), flag); + } + break; + + case kLBSetParent: + { + assert(size == 2); + uint16 parent = stream->readUint16(); + warning("ignoring kLBSetParent: item %s, parent id %d", _desc.c_str(), parent); + } + break; + case kLBUnknown194: { assert(size == 4); diff --git a/engines/mohawk/livingbooks.h b/engines/mohawk/livingbooks.h index bbd11bd9c9..e2acb58fc2 100644 --- a/engines/mohawk/livingbooks.h +++ b/engines/mohawk/livingbooks.h @@ -178,10 +178,10 @@ enum { kLBGlobalSetNotVisible = 0x79, kLBGlobalSetVisible = 0x7a, // unused? kLBSetAmbient = 0x7b, - kLBUnknown7C = 0x7c, // unused? + kLBSetDragParams = 0x7c, kLBSetKeyEvent = 0x7d, - kLBUnknown7E = 0x7e, // unused? (rect flag) - kLBSetParent = 0x7f, // unused? + kLBSetRolloverData = 0x7e, + kLBSetParent = 0x7f, kLBSetHitTest = 0x80, // from here, rugrats kLBUnknown194 = 0x194 |