25 #ifndef PEGASUS_TYPES_H 26 #define PEGASUS_TYPES_H 28 #include "common/scummsys.h" 34 typedef int32 DisplayElementID;
35 typedef int32 DisplayOrder;
37 typedef int16 HotSpotID;
38 typedef uint32 HotSpotFlags;
40 typedef byte ButtonState;
41 typedef uint32 InputBits;
43 typedef int32 NotificationID;
44 typedef uint32 NotificationFlags;
47 typedef int16 ResIDType;
48 typedef int16 CoordType;
52 kSlideRightMask = kSlideLeftMask << 1,
53 kSlideUpMask = kSlideRightMask << 1 << 1,
54 kSlideDownMask = kSlideUpMask << 1,
56 kSlideHorizMask = kSlideLeftMask | kSlideRightMask,
57 kSlideVertMask = kSlideUpMask | kSlideDownMask,
59 kSlideUpLeftMask = kSlideLeftMask | kSlideUpMask,
60 kSlideUpRightMask = kSlideRightMask | kSlideUpMask,
61 kSlideDownLeftMask = kSlideLeftMask | kSlideDownMask,
62 kSlideDownRightMask = kSlideRightMask | kSlideDownMask
66 typedef uint TimeValue;
67 typedef uint TimeScale;
71 typedef GameID ItemID;
72 typedef GameID ActorID;
73 typedef GameID RoomID;
74 typedef GameID NeighborhoodID;
75 typedef byte AlternateID;
76 typedef int8 HotSpotActivationID;
78 typedef int16 WeightType;
80 typedef byte DirectionConstant;
81 typedef byte TurnDirection;
84 typedef uint32 RoomViewID;
86 #define MakeRoomView(room, direction) (((RoomViewID) (room)) | (((RoomViewID) (direction)) << 16)) 88 typedef uint32 ExtraID;
90 typedef int16 GameMode;
92 typedef int16 WeightType;
94 typedef int16 ItemState;
96 typedef int8 DeathReason;
98 typedef int32 GameMenuCommand;
100 typedef int32 GameScoreType;
102 typedef long CanMoveForwardReason;
104 typedef long CanTurnReason;
106 typedef long CanOpenDoorReason;
108 enum InventoryResult {
114 typedef int32 InteractionID;
116 typedef int32 AIConditionID;
126 enum NoradSubPrepState {
132 enum LowerClientSignature {
139 enum LowerAreaSignature {
141 kMiddleAreaSignature,
153 kDragInventoryPickup,
Definition: ai_action.h:33