25 #ifndef PEGASUS_NEIGHBORHOOD_DOOR_H 26 #define PEGASUS_NEIGHBORHOOD_DOOR_H 28 #include "common/array.h" 29 #include "common/endian.h" 31 #include "pegasus/constants.h" 34 class SeekableReadStream;
39 typedef byte DoorFlags;
46 static const DoorFlags kNoDoorFlags = 0;
47 static const DoorFlags kDoorPresentMask = 1 << kDoorPresentBit;
48 static const DoorFlags kDoorLockedMask = 1 << kDoorLockedBit;
55 static uint32 getResTag() {
return MKTAG(
'D',
'o',
'o',
'r'); }
62 bool isEmpty() {
return movieStart == 0xffffffff; }
65 direction = kNoDirection;
66 altCode = kNoAlternateID;
67 movieStart = 0xffffffff;
68 movieEnd = 0xffffffff;
73 DirectionConstant direction;
80 Entry findEntry(RoomID room, DirectionConstant direction, AlternateID altCode);
Definition: algorithm.h:29
#define MKTAG(a0, a1, a2, a3)
Definition: endian.h:188
Definition: ai_action.h:33