ScummVM API documentation
Pegasus::WSC Class Reference
Inheritance diagram for Pegasus::WSC:
Pegasus::Neighborhood Pegasus::IDObject Pegasus::NotificationReceiver Pegasus::InputHandler Pegasus::Idler

Public Member Functions

 WSC (InputHandler *, PegasusEngine *)
 
void flushGameState () override
 
uint16 getDateResID () const override
 
bool okayToJump () override
 
void checkContinuePoint (const RoomID, const DirectionConstant) override
 
bool inSynthesizerGame ()
 
bool canSolve () override
 
void doSolve () override
 
void setSoundFXLevel (const uint16) override
 
void prepareForAIHint (const Common::Path &) override
 
void cleanUpAfterAIHint (const Common::Path &) override
 
void init () override
 
void start () override
 
- Public Member Functions inherited from Pegasus::Neighborhood
 Neighborhood (InputHandler *nextHandler, PegasusEngine *vm, const Common::String &resName, NeighborhoodID id)
 
virtual void moveNavTo (const CoordType, const CoordType)
 
void makeContinuePoint ()
 
virtual void cantTurnThatWay (CanTurnReason)
 
virtual void turn (const TurnDirection)
 
virtual void turnUp ()
 
virtual void turnDown ()
 
virtual void openDoor ()
 
virtual void updateViewFrame ()
 
void requestExtraSequence (const ExtraID, const NotificationFlags, const InputBits interruptionFilter)
 
void requestSpotSound (const TimeValue, const TimeValue, const InputBits interruptionFilter, const NotificationFlags)
 
void playSpotSoundSync (const TimeValue in, const TimeValue out)
 
void requestDelay (const TimeValue, const TimeScale, const InputBits interruptionFilter, const NotificationFlags)
 
NotificationgetNeighborhoodNotification ()
 
virtual void startSpotLoop (TimeValue, TimeValue, NotificationFlags=0)
 
virtual bool actionQueueEmpty ()
 
virtual void showViewFrame (TimeValue)
 
bool startExtraSequenceSync (const ExtraID, const InputBits)
 
virtual void loopExtraSequence (const uint32, NotificationFlags=0)
 
int32 getLastExtra () const
 
virtual void scheduleNavCallBack (NotificationFlags)
 
MoviegetNavMovie ()
 
bool navMoviePlaying ()
 
void setCurrentAlternate (const AlternateID alt)
 
AlternateID getCurrentAlternate () const
 
void setCurrentActivation (const HotSpotActivationID a)
 
HotSpotActivationID getCurrentActivation ()
 
virtual void playDeathExtra (ExtraID, DeathReason)
 
virtual void die (const DeathReason)
 
virtual void setAmbienceLevel (const uint16)
 
void forceStridingStop (const RoomID, const DirectionConstant, const AlternateID)
 
void restoreStriding (const RoomID, const DirectionConstant, const AlternateID)
 
HotspotInfoTable::EntryfindHotspotEntry (const HotSpotID)
 
PushgetTurnPush ()
 
PicturegetTurnPushPicture ()
 
void hideNav ()
 
void showNav ()
 
virtual AirQuality getAirQuality (const RoomID)
 
virtual void checkAirMask ()
 
virtual void checkFlashlight ()
 
virtual void shieldOn ()
 
virtual void shieldOff ()
 
virtual void loadLoopSound1 (const Common::Path &, const uint16 volume=0x100, const TimeValue fadeOut=kDefaultLoopFadeOut, const TimeValue fadeIn=kDefaultLoopFadeIn, const TimeScale fadeScale=kDefaultLoopFadeScale)
 
virtual void loadLoopSound2 (const Common::Path &, const uint16 volume=0x100, const TimeValue fadeOut=kDefaultLoopFadeOut, const TimeValue fadeIn=kDefaultLoopFadeIn, const TimeScale fadeScale=kDefaultLoopFadeScale)
 
bool loop1Loaded (const Common::Path &soundName)
 
bool loop2Loaded (const Common::Path &soundName)
 
void startLoop1Fader (const FaderMoveSpec &)
 
void startLoop2Fader (const FaderMoveSpec &)
 
virtual GameInteractionmakeInteraction (const InteractionID)
 
virtual void requestDeleteCurrentInteraction ()
 
virtual void showExtraView (uint32)
 
virtual void startExtraLongSequence (const uint32, const uint32, NotificationFlags, const InputBits interruptionFilter)
 
void openCroppedMovie (const Common::Path &, CoordType, CoordType)
 
void loopCroppedMovie (const Common::Path &, CoordType, CoordType)
 
void closeCroppedMovie ()
 
void playCroppedMovieOnce (const Common::Path &, CoordType, CoordType, const InputBits interruptionFilter=kFilterNoInput)
 
void playMovieSegment (Movie *, TimeValue=0, TimeValue=0xffffffff)
 
virtual void recallToTSASuccess ()
 
virtual void recallToTSAFailure ()
 
void handleInput (const Input &, const Hotspot *) override
 
- 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 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)
 
- Public Member Functions inherited from Pegasus::Idler
virtual void startIdling ()
 
virtual void stopIdling ()
 
bool isIdling () const
 

Protected Types

enum  {
  kWSCDraggingAntidoteFlag, kWSCPrivateLabMessagesOpenFlag, kWSCPrivateInterruptedMorphFlag, kWSCPrivateInMoleculeGameFlag,
  kWSCPrivateSinclairOfficeOpenFlag, kWSCPrivateOfficeLogOpenFlag, kWSCPrivate58SouthOpenFlag, kWSCPrivateClickedCatwalkCableFlag,
  kWSCPrivateRobotHeadOpenFlag, kWSCPrivateSeenPeopleAt17WestFlag, kWSCPrivateSeenPeopleAt19NorthFlag, kWSCPrivateSeenPeopleAt21SouthFlag,
  kWSCPrivateSeenPeopleAt24SouthFlag, kWSCPrivateSeenPeopleAt34EastFlag, kWSCPrivateSeenPeopleAt36WestFlag, kWSCPrivateSeenPeopleAt38NorthFlag,
  kWSCPrivateSeenPeopleAt46SouthFlag, kWSCPrivateSeenPeopleAt49NorthFlag, kWSCPrivateSeenPeopleAt73WestFlag, kWSCPrivateNeedPeopleAt17WestFlag,
  kWSCPrivateNeedPeopleAt21SouthFlag, kWSCPrivateNeedPeopleAt24SouthFlag, kWSCPrivateNeedPeopleAt34EastFlag, kWSCPrivateNeedPeopleAt36WestFlag,
  kWSCPrivateNeedPeopleAt38NorthFlag, kWSCPrivateNeedPeopleAt46SouthFlag, kWSCPrivateNeedPeopleAt49NorthFlag, kWSCPrivateNeedPeopleAt73WestFlag,
  kWSCPrivateGotRetScanChipFlag, kWSCPrivateGotMapChipFlag, kWSCPrivateGotOpticalChipFlag, kNumWSCPrivateFlags
}
 

Protected Member Functions

void arriveAt (const RoomID, const DirectionConstant) override
 
void turnTo (const DirectionConstant) override
 
void receiveNotification (Notification *, const NotificationFlags) override
 
void dropItemIntoRoom (Item *, Hotspot *) override
 
void clickInHotspot (const Input &, const Hotspot *) override
 
TimeValue getViewTime (const RoomID, const DirectionConstant) override
 
void getZoomEntry (const HotSpotID, ZoomTable::Entry &) override
 
CanMoveForwardReason canMoveForward (ExitTable::Entry &entry) override
 
void cantMoveThatWay (CanMoveForwardReason reason) override
 
CanTurnReason canTurn (TurnDirection turn, DirectionConstant &nextDir) override
 
void zoomTo (const Hotspot *hotspot) override
 
void activateOneHotspot (HotspotInfoTable::Entry &, Hotspot *) override
 
void setUpMoleculeGame ()
 
void nextMoleculeGameLevel ()
 
void startMoleculeGameLevel ()
 
void moleculeGameClick (const HotSpotID)
 
void loadAmbientLoops () override
 
CanOpenDoorReason canOpenDoor (DoorTable::Entry &) override
 
void cantOpenDoor (CanOpenDoorReason) override
 
void pickedUpItem (Item *) override
 
void doorOpened () override
 
void startExtraSequence (const ExtraID, const NotificationFlags, const InputBits) override
 
void startDoorOpenMovie (const TimeValue, const TimeValue) override
 
void getExtraEntry (const uint32, ExtraTable::Entry &) override
 
void takeItemFromRoom (Item *item) override
 
void checkPeopleCrossing ()
 
void turnLeft () override
 
void turnRight () override
 
void moveForward () override
 
HotspotgetItemScreenSpot (Item *, DisplayElement *) override
 
int16 getStaticCompassAngle (const RoomID, const DirectionConstant) override
 
void getExitCompassMove (const ExitTable::Entry &exitEntry, FaderMoveSpec &compassMove) override
 
void getExtraCompassMove (const ExtraTable::Entry &entry, FaderMoveSpec &compassMove) override
 
void bumpIntoWall () override
 
void spotCompleted () override
 
void activateHotspots () override
 
void setUpAIRules () override
 
Common::Path getBriefingMovie () override
 
Common::Path getEnvScanMovie () override
 
uint getNumHints () override
 
Common::Path getHintMovie (uint) override
 
void closeDoorOffScreen (const RoomID, const DirectionConstant) override
 
void setUpPoison ()
 
void findSpotEntry (const RoomID, const DirectionConstant, SpotFlags, SpotTable::Entry &) override
 
void timerExpired (const uint32) override
 
Common::Path getSoundSpotsName () override
 
Common::Path getNavMovieName () override
 
- Protected Member Functions inherited from Pegasus::Neighborhood
virtual void getExitEntry (const RoomID room, const DirectionConstant direction, ExitTable::Entry &entry)
 
virtual void getDoorEntry (const RoomID room, const DirectionConstant direction, DoorTable::Entry &doorEntry)
 
virtual DirectionConstant getTurnEntry (const RoomID room, const DirectionConstant direction, const TurnDirection turn)
 
virtual void getHotspotEntry (const HotSpotID id, HotspotInfoTable::Entry &hotspotEntry)
 
virtual void startExitMovie (const ExitTable::Entry &)
 
virtual void keepStriding (ExitTable::Entry &)
 
virtual void stopStriding ()
 
virtual void checkStriding ()
 
virtual bool stillMoveForward ()
 
virtual void scheduleStridingCallBack (const TimeValue, NotificationFlags flags)
 
virtual void startZoomMovie (const ZoomTable::Entry &)
 
virtual void startTurnPush (const TurnDirection, const TimeValue, const DirectionConstant)
 
virtual void playExtraMovie (const ExtraTable::Entry &, const NotificationFlags, const InputBits interruptionFilter)
 
virtual void activateCurrentView (const RoomID, const DirectionConstant, SpotFlags)
 
virtual void startSpotOnceOnly (TimeValue, TimeValue)
 
virtual void startMovieSequence (const TimeValue, const TimeValue, NotificationFlags, bool loopSequence, const InputBits interruptionFilter, const TimeValue strideStop=0xffffffff)
 
virtual void createNeighborhoodSpots ()
 
void resetLastExtra ()
 
virtual void throwAwayInterface ()
 
void popActionQueue ()
 
void serviceActionQueue ()
 
void requestAction (const QueueRequestType, const ExtraID, const TimeValue, const TimeValue, const InputBits, const NotificationFlags)
 
virtual bool prepareExtraSync (const ExtraID)
 
virtual bool waitMovieFinish (Movie *, const InputBits)
 
InputBits getInputFilter () override
 
virtual void getZoomCompassMove (const ZoomTable::Entry &, FaderMoveSpec &)
 
virtual void setHotspotFlags (const HotSpotID, const HotSpotFlags)
 
virtual void setIsItemTaken (const ItemID)
 
virtual void upButton (const Input &)
 
virtual void leftButton (const Input &)
 
virtual void rightButton (const Input &)
 
virtual void downButton (const Input &)
 
void initOnePicture (Picture *, const Common::Path &, DisplayOrder, CoordType, CoordType, bool)
 
void initOneMovie (Movie *, const Common::Path &, DisplayOrder, CoordType, CoordType, bool)
 
void reinstateMonocleInterface ()
 
virtual void newInteraction (const InteractionID)
 
void useIdleTime () override
 
virtual void zoomUpOrBump ()
 
void scheduleEvent (const TimeValue, const TimeScale, const uint32)
 
void cancelEvent ()
 
bool isEventTimerRunning ()
 
uint32 getTimerEvent ()
 
void timerFunction ()
 
void pauseTimer ()
 
void resumeTimer ()
 
bool timerPaused ()
 
- Protected Member Functions inherited from Pegasus::NotificationReceiver
virtual void newNotification (Notification *notification)
 

Protected Attributes

FlagsArray< byte, kNumWSCPrivateFlags > _privateFlags
 
const Hotspot_cachedZoomSpot
 
Hotspot _biotechImplantSpot
 
Movie _extraMovie
 
NotificationCallBack _extraMovieCallBack
 
MoleculeBin _moleculeBin
 
int32 _moleculeGameLevel
 
int32 _numCorrect
 
Movie _moleculesMovie
 
uint32 _levelArray [6]
 
Sprite_argonSprite
 
Sound _welcomeSound
 
- Protected Attributes inherited from Pegasus::Neighborhood
PegasusEngine_vm
 
Common::String _resName
 
DoorTable _doorTable
 
ExitTable _exitTable
 
ExtraTable _extraTable
 
HotspotInfoTable _hotspotInfoTable
 
SpotTable _spotTable
 
TurnTable _turnTable
 
ViewTable _viewTable
 
ZoomTable _zoomTable
 
AlternateID _currentAlternate
 
HotSpotActivationID _currentActivation
 
ExtraID _lastExtra
 
DeathReason _extraDeathReason
 
Movie _navMovie
 
Picture _pushIn
 
Push _turnPush
 
Notification _neighborhoodNotification
 
NotificationCallBack _navMovieCallBack
 
StriderCallBack _stridingCallBack
 
NotificationCallBack _turnPushCallBack
 
NotificationCallBack _spotSoundCallBack
 
NotificationCallBack _delayCallBack
 
HotspotList _neighborhoodHotspots
 
SoundTimeBase _spotSounds
 
NeighborhoodActionQueue _actionQueue
 
TimeBase _delayTimer
 
InputBits _interruptionFilter
 
bool _isRunning
 
GameInteraction_currentInteraction
 
bool _doneWithInteraction
 
Movie _croppedMovie
 
Sound _soundLoop1
 
Common::Path _loop1SoundString
 
SoundFader _loop1Fader
 
Sound _soundLoop2
 
Common::Path _loop2SoundString
 
SoundFader _loop2Fader
 
FuseFunction _eventTimer
 
uint32 _timerEvent
 
- Protected Attributes inherited from Pegasus::InputHandler
InputHandler_nextHandler
 
bool _allowInput
 
- Protected Attributes inherited from Pegasus::Idler
bool _isIdling
 
Idler_nextIdler
 
Idler_prevIdler
 

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: