25 #ifndef PEGASUS_AI_AIAREA_H 26 #define PEGASUS_AI_AIAREA_H 28 #include "pegasus/input.h" 29 #include "pegasus/movie.h" 30 #include "pegasus/timers.h" 31 #include "pegasus/ai/ai_rule.h" 93 void restoreAIState();
95 void handleInput(
const Input &,
const Hotspot *)
override;
96 void activateHotspots()
override;
97 void clickInHotspot(
const Input &,
const Hotspot *)
override;
99 void setAIVolume(
const uint16);
110 void setAIAreaToTime(
const LowerClientSignature,
const LowerAreaSignature,
const TimeValue);
113 void playAIAreaSequence(
const LowerClientSignature,
const LowerAreaSignature,
const TimeValue,
const TimeValue);
118 bool playAIMovie(
const LowerAreaSignature,
const Common::Path &movieName,
bool keepLastFrame,
const InputBits);
121 void loopAIAreaSequence(
const LowerClientSignature,
const LowerAreaSignature,
const TimeValue,
const TimeValue);
126 void removeAllRules();
130 void forceAIUnlocked();
132 void checkMiddleArea();
135 LowerClientSignature getMiddleAreaOwner();
136 void toggleMiddleAreaOwner();
138 TimeValue getBigInfoTime();
139 void getSmallInfoSegment(TimeValue &, TimeValue &);
142 void useIdleTime()
override;
144 void setLeftMovieTime(
const TimeValue);
145 void setMiddleMovieTime(
const LowerClientSignature,
const TimeValue);
146 void setRightMovieTime(
const TimeValue);
148 Movie _leftAreaMovie;
149 Movie _middleAreaMovie;
150 Movie _rightAreaMovie;
153 LowerClientSignature _leftAreaOwner;
154 LowerClientSignature _middleAreaOwner;
155 LowerClientSignature _rightAreaOwner;
157 TimeValue _leftInventoryTime;
158 TimeValue _middleInventoryTime;
159 TimeValue _middleBiochipTime;
160 TimeValue _rightBiochipTime;
Definition: algorithm.h:29
Definition: ai_action.h:33