ScummVM API documentation
Pegasus::PressureDoor Class Reference
Inheritance diagram for Pegasus::PressureDoor:
Pegasus::GameInteraction Pegasus::NotificationReceiver Pegasus::IDObject Pegasus::InputHandler

Public Member Functions

 PressureDoor (Neighborhood *, bool isUpperDoor, const HotSpotID, const HotSpotID, const HotSpotID, TimeValue pressureSoundIn, TimeValue pressureSoundOut, TimeValue equalizeSoundIn, TimeValue equalizeSoundOut)
 
void incrementPressure (const HotSpotID)
 
void stopChangingPressure ()
 
void playAgainstRobot ()
 
bool canSolve () override
 
void doSolve () override
 
- Public Member Functions inherited from Pegasus::GameInteraction
 GameInteraction (const InteractionID id, Neighborhood *nextHandler)
 
void startInteraction ()
 
void stopInteraction ()
 
void startOverInteraction ()
 
bool isInteracting () const
 
NeighborhoodgetOwner () const
 
virtual Common::Path getBriefingMovie ()
 
virtual Common::Path getEnvScanMovie ()
 
virtual long getNumHints ()
 
virtual Common::Path getHintMovie (uint)
 
virtual void setSoundFXLevel (const uint16)
 
virtual void setAmbienceLevel (const uint16)
 
- Public Member Functions inherited from Pegasus::IDObject
 IDObject (const int32 id)
 
int32 getObjectID () const
 
- Public Member Functions inherited from Pegasus::InputHandler
 InputHandler (InputHandler *)
 
virtual void setNextHandler (InputHandler *nextHandler)
 
virtual InputHandlergetNextHandler ()
 
virtual void handleInput (const Input &, const Hotspot *)
 
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 openInteraction () override
 
void initInteraction () override
 
void closeInteraction () override
 
void activateHotspots () override
 
void clickInHotspot (const Input &, const Hotspot *) override
 
void receiveNotification (Notification *, const NotificationFlags) override
 
- Protected Member Functions inherited from Pegasus::GameInteraction
virtual void resetInteraction ()
 
- Protected Member Functions inherited from Pegasus::NotificationReceiver
virtual void newNotification (Notification *notification)
 

Protected Attributes

Movie _levelsMovie
 
TimeScale _levelsScale
 
Movie _typeMovie
 
TimeScale _typeScale
 
Sprite _upButton
 
Sprite _downButton
 
Notification _pressureNotification
 
NotificationCallBack _pressureCallBack
 
Notification_neighborhoodNotification
 
int _gameState
 
HotSpotID _upHotspotID
 
HotSpotID _downHotspotID
 
HotSpotID _outHotspotID
 
PressureTracker _doorTracker
 
TimeValue _pressureSoundIn
 
TimeValue _pressureSoundOut
 
TimeValue _equalizeSoundIn
 
TimeValue _equalizeSoundOut
 
bool _isUpperDoor
 
bool _playingAgainstRobot
 
bool _typePunched
 
int _robotState
 
int _punchCount
 
TimeBase _utilityTimer
 
Notification _utilityNotification
 
NotificationCallBack _utilityCallBack
 
TimeValue _punchInTime
 
- Protected Attributes inherited from Pegasus::GameInteraction
InputHandler_savedHandler
 
Neighborhood_owner
 
- 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: