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

Public Member Functions

 SubControlRoom (Neighborhood *)
 
void playAgainstRobot ()
 
void setSoundFXLevel (const uint16) override
 
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 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 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
 
void robotKillsPlayer (const uint32, Neighborhood *)
 
InputBits getInputFilter () override
 
int findActionIndex (HotSpotID)
 
void dispatchClawAction (const int)
 
void performActionImmediately (const int, const uint32, Neighborhood *)
 
void hideEverything ()
 
void showButtons ()
 
void hideButtons ()
 
void updateGreenBall ()
 
void moveGreenBallToA ()
 
void moveGreenBallToB ()
 
void moveGreenBallToC ()
 
void moveGreenBallToD ()
 
void setControlMonitorToTime (const TimeValue, const int, const bool)
 
void playControlMonitorSection (const TimeValue, const TimeValue, const NotificationFlags, const int, const bool)
 
void updateClawMonitor ()
 
void setClawMonitorToTime (const TimeValue)
 
void playClawMonitorSection (const TimeValue, const TimeValue, const NotificationFlags, const int, const bool)
 
- 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 _subControlMovie
 
TimeScale _subControlScale
 
Notification _subControlNotification
 
NotificationCallBack _subControlCallBack
 
Movie _clawMonitorMovie
 
NotificationCallBack _clawMonitorCallBack
 
int _gameState
 
uint32 _clawStartPosition
 
uint32 _clawPosition
 
uint32 _clawNextPosition
 
const uint32 * _clawExtraIDs
 
int _currentAction
 
int _nextAction
 
Sprite_buttons [kNumClawButtons]
 
Sprite _pinchButton
 
Sprite _downButton
 
Sprite _rightButton
 
Sprite _leftButton
 
Sprite _upButton
 
Sprite _ccwButton
 
Sprite _cwButton
 
Sprite _greenBall
 
TimeBase _greenBallTimer
 
Notification _greenBallNotification
 
NotificationCallBack _greenBallCallBack
 
HotSpotID _outSpotID
 
HotSpotID _prepSpotID
 
HotSpotID _clawControlSpotID
 
HotSpotID _clawButtonSpotIDs [kNumClawButtons]
 
Notification_neighborhoodNotification
 
bool _playingAgainstRobot
 
int _robotState
 
- 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: