22 #ifndef SCUMM_OBJECT_H 23 #define SCUMM_OBJECT_H 27 static inline int OBJECT_V0(
int id, byte type) {
29 return (type << 8 |
id);
31 #define OBJECT_V0_ID(obj) (obj & 0xFF) 32 #define OBJECT_V0_TYPE(obj) ((obj >> 8) & 0xFF) 44 kObjectV0TypeActor = 2
48 kObjectClassNeverClip = 20,
49 kObjectClassAlwaysClip = 21,
50 kObjectClassIgnoreBoxes = 22,
51 kObjectClassYFlip = 29,
52 kObjectClassXFlip = 30,
53 kObjectClassPlayer = 31,
54 kObjectClassUntouchable = 32
58 kObjectStatePickupable = 1,
59 kObjectStateUntouchable = 2,
60 kObjectStateLocked = 4,
61 kObjectStateIntrinsic = 8
81 #include "common/pack-start.h" 160 uint16 width, height;
187 #include "common/pack-end.h" 196 enum FindObjectWhat {
199 foCheckAlreadyLoaded = 4