ScummVM API documentation
Pegasus::AIArea Class Reference
Inheritance diagram for Pegasus::AIArea:
Pegasus::Surface Pegasus::Idler Pegasus::InputHandler

Public Member Functions

 AIArea (InputHandler *)
 
void writeAIRules (Common::WriteStream *stream)
 
void readAIRules (Common::ReadStream *stream)
 
void initAIArea ()
 
void saveAIState ()
 
void restoreAIState ()
 
void handleInput (const Input &, const Hotspot *) override
 
void activateHotspots () override
 
void clickInHotspot (const Input &, const Hotspot *) override
 
void setAIVolume (const uint16)
 
void setAIAreaToTime (const LowerClientSignature, const LowerAreaSignature, const TimeValue)
 
void playAIAreaSequence (const LowerClientSignature, const LowerAreaSignature, const TimeValue, const TimeValue)
 
bool playAIMovie (const LowerAreaSignature, const Common::Path &movieName, bool keepLastFrame, const InputBits)
 
void loopAIAreaSequence (const LowerClientSignature, const LowerAreaSignature, const TimeValue, const TimeValue)
 
void addAIRule (AIRule *)
 
void removeAllRules ()
 
void lockAIOut ()
 
void unlockAI ()
 
void forceAIUnlocked ()
 
void checkMiddleArea ()
 
void checkRules ()
 
LowerClientSignature getMiddleAreaOwner ()
 
void toggleMiddleAreaOwner ()
 
TimeValue getBigInfoTime ()
 
void getSmallInfoSegment (TimeValue &, TimeValue &)
 
- Public Member Functions inherited from Pegasus::Surface
virtual void allocateSurface (const Common::Rect &)
 
virtual void deallocateSurface ()
 
virtual void shareSurface (Surface *surface)
 
bool isSurfaceValid () const
 
Graphics::SurfacegetSurface () const
 
void getSurfaceBounds (Common::Rect &r)
 
void copyToCurrentPort () const
 
void copyToCurrentPortTransparent () const
 
void copyToCurrentPort (const Common::Rect &) const
 
void copyToCurrentPortTransparent (const Common::Rect &) const
 
void copyToCurrentPort (const Common::Rect &, const Common::Rect &) const
 
void copyToCurrentPortTransparent (const Common::Rect &, const Common::Rect &) const
 
void copyToCurrentPortMasked (const Common::Rect &, const Common::Rect &, const Surface *) const
 
void copyToCurrentPortTransparentGlow (const Common::Rect &, const Common::Rect &) const
 
void scaleTransparentCopy (const Common::Rect &, const Common::Rect &) const
 
void scaleTransparentCopyGlow (const Common::Rect &, const Common::Rect &) const
 
virtual void getImageFromPICTFile (const Common::Path &fileName)
 
virtual void getImageFromPICTResource (Common::MacResManager *resFork, uint16 id)
 
virtual void getImageFromMovieFrame (Video::VideoDecoder *, TimeValue)
 
- Public Member Functions inherited from Pegasus::Idler
virtual void startIdling ()
 
virtual void stopIdling ()
 
bool isIdling () const
 
- Public Member Functions inherited from Pegasus::InputHandler
 InputHandler (InputHandler *)
 
virtual void setNextHandler (InputHandler *nextHandler)
 
virtual InputHandlergetNextHandler ()
 
virtual void updateCursor (const Common::Point, const Hotspot *)
 
virtual bool isClickInput (const Input &, const Hotspot *)
 
virtual bool wantsCursor ()
 
virtual bool releaseInputFocus ()
 
virtual void grabInputFocus ()
 
virtual InputBits getInputFilter ()
 
virtual InputBits getClickFilter ()
 
virtual void allowInput (const bool allow)
 

Protected Member Functions

void useIdleTime () override
 
void setLeftMovieTime (const TimeValue)
 
void setMiddleMovieTime (const LowerClientSignature, const TimeValue)
 
void setRightMovieTime (const TimeValue)
 

Protected Attributes

Movie _leftAreaMovie
 
Movie _middleAreaMovie
 
Movie _rightAreaMovie
 
Movie _AIMovie
 
LowerClientSignature _leftAreaOwner
 
LowerClientSignature _middleAreaOwner
 
LowerClientSignature _rightAreaOwner
 
TimeValue _leftInventoryTime
 
TimeValue _middleInventoryTime
 
TimeValue _middleBiochipTime
 
TimeValue _rightBiochipTime
 
AIRuleList _AIRules
 
uint _lockCount
 
- Protected Attributes inherited from Pegasus::Surface
bool _ownsSurface
 
Graphics::Surface_surface
 
Common::Rect _bounds
 
- Protected Attributes inherited from Pegasus::Idler
bool _isIdling
 
Idler_nextIdler
 
Idler_prevIdler
 
- Protected Attributes inherited from Pegasus::InputHandler
InputHandler_nextHandler
 
bool _allowInput
 

Additional Inherited Members

- Static Public Member Functions inherited from Pegasus::InputHandler
static InputHandlersetInputHandler (InputHandler *)
 
static InputHandlergetCurrentHandler ()
 
static void pollForInput ()
 
static void getInput (Input &, Hotspot *&)
 
static void readInputDevice (Input &)
 
static void invalHotspots ()
 
static InputBits getCurrentFilter ()
 
- Static Protected Attributes inherited from Pegasus::InputHandler
static InputHandler_inputHandler
 
static bool _invalHotspots
 
static InputBits _lastFilter
 

The documentation for this class was generated from the following file: