aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/object.h')
-rw-r--r--engines/scumm/object.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/scumm/object.h b/engines/scumm/object.h
index d5d447dde4..c06689240c 100644
--- a/engines/scumm/object.h
+++ b/engines/scumm/object.h
@@ -34,6 +34,20 @@ enum ObjectClass {
kObjectClassUntouchable = 32
};
+enum ObjectStateV2 {
+ kObjectStatePickupable = 1,
+ kObjectStateUntouchable = 2,
+ kObjectStateLocked = 4,
+
+ // FIXME: Not quite sure how to name state 8. It seems to mark some kind
+ // of "activation state" for the given object. E.g. is a door open?
+ // Is a drawer extended? In addition it is used to toggle the look
+ // of objects that the user can "pick up" (i.e. it is set in
+ // o2_pickupObject together with kObjectStateUntouchable). So in a sense,
+ // it can also mean "invisible" in some situations.
+ kObjectState_08 = 8
+};
+
struct ObjectData {
uint32 OBIMoffset;
uint32 OBCDoffset;