25 #ifndef PEGASUS_NEIGHBORHOOD_PREHISTORIC_H 26 #define PEGASUS_NEIGHBORHOOD_PREHISTORIC_H 28 #include "pegasus/neighborhood/neighborhood.h" 32 static const TimeScale kPrehistoricMovieScale = 600;
33 static const TimeScale kPrehistoricFramesPerSecond = 15;
34 static const TimeScale kPrehistoricFrameDuration = 40;
38 static const AlternateID kAltPrehistoricNormal = 0;
39 static const AlternateID kAltPrehistoricBridgeSet = 1;
43 static const RoomID kPrehistoric01 = 0;
44 static const RoomID kPrehistoric02 = 1;
45 static const RoomID kPrehistoric03 = 2;
46 static const RoomID kPrehistoric04 = 3;
47 static const RoomID kPrehistoric05 = 4;
48 static const RoomID kPrehistoric06 = 5;
49 static const RoomID kPrehistoric07 = 6;
50 static const RoomID kPrehistoric08 = 7;
51 static const RoomID kPrehistoric09 = 8;
52 static const RoomID kPrehistoric10 = 9;
53 static const RoomID kPrehistoric11 = 10;
54 static const RoomID kPrehistoric12 = 11;
55 static const RoomID kPrehistoric13 = 12;
56 static const RoomID kPrehistoric14 = 13;
57 static const RoomID kPrehistoric15 = 14;
58 static const RoomID kPrehistoric16 = 15;
59 static const RoomID kPrehistoric17 = 16;
60 static const RoomID kPrehistoric18 = 17;
61 static const RoomID kPrehistoric19 = 18;
62 static const RoomID kPrehistoric20 = 19;
63 static const RoomID kPrehistoric21 = 20;
64 static const RoomID kPrehistoric22 = 21;
65 static const RoomID kPrehistoric22North = 22;
66 static const RoomID kPrehistoric23 = 23;
67 static const RoomID kPrehistoric24 = 24;
68 static const RoomID kPrehistoric25 = 25;
69 static const RoomID kPrehistoricDeath = 26;
73 static const HotSpotActivationID kActivationVaultClosed = 1;
74 static const HotSpotActivationID kActivationVaultOpen = 2;
78 static const HotSpotID kPre18EastSpotID = 5000;
79 static const HotSpotID kPre22NorthSpotID = 5001;
80 static const HotSpotID kPre22NorthOutSpotID = 5002;
81 static const HotSpotID kPre22NorthBreakerSpotID = 5003;
82 static const HotSpotID kPrehistoricKeyDropSpotID = 5004;
83 static const HotSpotID kPrehistoricHistoricalLogSpotID = 5005;
87 static const ExtraID kPreArrivalFromTSA = 0;
88 static const ExtraID kPre18EastBridgeOut = 1;
89 static const ExtraID kPre18EastBridgeOn = 2;
90 static const ExtraID kPre18EastZoom = 3;
91 static const ExtraID kPre18EastZoomOut = 4;
92 static const ExtraID kPre22ThrowBreaker = 5;
93 static const ExtraID kPre25EastUnlockingVaultWithLog = 6;
94 static const ExtraID kPre25EastVaultOpenWithLog = 7;
95 static const ExtraID kPre25EastViewWithLog = 8;
96 static const ExtraID kPre25EastUnlockingVaultNoLog = 9;
97 static const ExtraID kPre25EastVaultOpenNoLog = 10;
98 static const ExtraID kPre25EastViewNoLog = 11;
107 uint16 getDateResID()
const override;
108 void init()
override;
110 void arriveAt(
const RoomID,
const DirectionConstant)
override;
111 void activateHotspots()
override;
112 void clickInHotspot(
const Input &,
const Hotspot *)
override;
115 uint getNumHints()
override;
120 void pickedUpItem(
Item *)
override;
122 void start()
override;
124 void bumpIntoWall()
override;
126 void checkContinuePoint(
const RoomID,
const DirectionConstant)
override;
128 bool canSolve()
override;
129 void doSolve()
override;
133 kPrehistoricPrivateVaultOpenFlag,
134 kPrehistoricPrivateExtendedBridgeFlag,
135 kNumPrehistoricPrivateFlags
138 void setUpAIRules()
override;
139 int16 getStaticCompassAngle(
const RoomID,
const DirectionConstant)
override;
141 void receiveNotification(
Notification *,
const NotificationFlags)
override;
142 void spotCompleted()
override;
143 void turnTo(
const DirectionConstant)
override;
145 TimeValue getViewTime(
const RoomID,
const DirectionConstant)
override;
146 void findSpotEntry(
const RoomID,
const DirectionConstant, SpotFlags,
SpotTable::Entry &)
override;
148 void loadAmbientLoops()
override;
Definition: neighborhood.h:111
Definition: prehistoric.h:102
Definition: notification.h:53
Definition: elements.h:43
Definition: ai_action.h:33