diff options
author | Matthew Hoops | 2010-05-24 17:21:11 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-05-24 17:21:11 +0000 |
commit | d49fb8f42db7b9776f1dc426ebe2c6d806ad4720 (patch) | |
tree | e0760e8b76b8786f506a59dc62ef824b2304f1cd /engines/sci/resource.h | |
parent | ad0eb0b06ef6c715280c21a1c036be5c56a3183a (diff) | |
download | scummvm-rg350-d49fb8f42db7b9776f1dc426ebe2c6d806ad4720.tar.gz scummvm-rg350-d49fb8f42db7b9776f1dc426ebe2c6d806ad4720.tar.bz2 scummvm-rg350-d49fb8f42db7b9776f1dc426ebe2c6d806ad4720.zip |
Add support for showing the icon bar in SCI1.1 Mac.
svn-id: r49196
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r-- | engines/sci/resource.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index befda072e0..8e83ed7bf0 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -108,7 +108,13 @@ enum ResourceType { kResourceTypeUnknown1, // Translation, currently unsupported kResourceTypeUnknown2, kResourceTypeRobot, - kResourceTypeInvalid + kResourceTypeInvalid, + + // Mac-only resources, these resource types are self-defined + // Numbers subject to change + kResourceTypeMacIconBarPictN = -1, // IBIN resources (icon bar, not selected) + kResourceTypeMacIconBarPictS = -2, // IBIS resources (icon bar, selected) + kResourceTypeMacPict = -3 // PICT resources (inventory) }; const char *getResourceTypeName(ResourceType restype); @@ -127,7 +133,7 @@ public: ResourceId(ResourceType type_, uint16 number_, uint32 tuple_ = 0) : type(type_), number(number_), tuple(tuple_) { - if ((type < kResourceTypeView) || (type > kResourceTypeInvalid)) + if (type < kResourceTypeMacPict || type > kResourceTypeInvalid) type = kResourceTypeInvalid; } |