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

Public Member Functions

 Caldoria (InputHandler *, PegasusEngine *)
 
uint16 getDateResID () const override
 
void pickedUpItem (Item *) override
 
GameInteractionmakeInteraction (const InteractionID) override
 
Common::Path getBriefingMovie () override
 
Common::Path getEnvScanMovie () override
 
uint getNumHints () override
 
Common::Path getHintMovie (uint) override
 
void loadAmbientLoops () override
 
bool wantsCursor () override
 
void flushGameState () override
 
void checkContinuePoint (const RoomID, const DirectionConstant) override
 
void setSoundFXLevel (const uint16) 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 ()
 
void activateHotspots () override
 
void clickInHotspot (const Input &, const Hotspot *) override
 
virtual CanMoveForwardReason canMoveForward (ExitTable::Entry &entry)
 
virtual CanTurnReason canTurn (TurnDirection turn, DirectionConstant &nextDir)
 
virtual void cantTurnThatWay (CanTurnReason)
 
virtual void cantOpenDoor (CanOpenDoorReason)
 
virtual void moveForward ()
 
virtual void turn (const TurnDirection)
 
virtual void turnLeft ()
 
virtual void turnRight ()
 
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 getExtraEntry (const uint32 id, ExtraTable::Entry &extraEntry)
 
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 bool canSolve ()
 
virtual void prepareForAIHint (const Common::Path &)
 
virtual void cleanUpAfterAIHint (const Common::Path &)
 
virtual void doSolve ()
 
virtual bool okayToJump ()
 
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 void takeItemFromRoom (Item *)
 
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 bool isClickInput (const Input &, const Hotspot *)
 
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  {
  kCaldoriaPrivate4DSystemOpenFlag, kCaloriaPrivateLeftDrawerOpenFlag, kCaldoriaPrivateRightDrawerOpenFlag, kCaldoriaPrivateReadyToShootFlag,
  kCaldoriaPrivateZoomingToBombFlag, kCaldoriaPrivateCanOpenElevatorDoorFlag, kCaldoriaPrivateSinclairTimerExpiredFlag, kCaldoriaPrivateSeen13CarFlag,
  kCaldoriaPrivateSeen14CarFlag, kCaldoriaPrivateSeen18CarFlag, kCaldoriaPrivateSeen23CarFlag, kCaldoriaPrivateSeen33CarFlag,
  kCaldoriaPrivateSeen36CarFlag, kCaldoriaPrivateSeen41NorthCarFlag, kCaldoriaPrivateSeen41EastCarFlag, kCaldoriaPrivateSeen41WestCarFlag,
  kNumCaldoriaPrivateFlags
}
 

Protected Member Functions

void init () override
 
void start () override
 
void throwAwayInterface () override
 
void setUpRoofTop ()
 
void setUpAIRules () override
 
void doAIRecalibration ()
 
TimeValue getViewTime (const RoomID, const DirectionConstant) override
 
void findSpotEntry (const RoomID, const DirectionConstant, SpotFlags, SpotTable::Entry &) override
 
void startSpotOnceOnly (TimeValue, TimeValue) override
 
void startExitMovie (const ExitTable::Entry &) override
 
void startZoomMovie (const ZoomTable::Entry &) override
 
void startDoorOpenMovie (const TimeValue, const TimeValue) override
 
void startTurnPush (const TurnDirection, const TimeValue, const DirectionConstant) override
 
void bumpIntoWall () override
 
int16 getStaticCompassAngle (const RoomID, const DirectionConstant) override
 
void getExitCompassMove (const ExitTable::Entry &, FaderMoveSpec &) override
 
void getZoomCompassMove (const ZoomTable::Entry &, FaderMoveSpec &) override
 
void getExtraCompassMove (const ExtraTable::Entry &, FaderMoveSpec &) override
 
void spotCompleted () override
 
void arriveAt (const RoomID, const DirectionConstant) override
 
void arriveAtCaldoria00 ()
 
void arriveAtCaldoriaToilet ()
 
void arriveAtCaldoria44 ()
 
void arriveAtCaldoria49 ()
 
void arriveAtCaldoria56 ()
 
void arriveAtCaldoriaDeath ()
 
void turnTo (const DirectionConstant) override
 
void zoomTo (const Hotspot *) override
 
void leftButton (const Input &) override
 
void rightButton (const Input &) override
 
void downButton (const Input &) override
 
void startExtraSequence (const ExtraID, const NotificationFlags, const InputBits) override
 
void receiveNotification (Notification *, const NotificationFlags) override
 
InputBits getInputFilter () override
 
void activateHotspots () override
 
void clickInHotspot (const Input &, const Hotspot *) override
 
void newInteraction (const InteractionID) override
 
void clickOnDoorbell (const HotSpotID)
 
HotspotgetItemScreenSpot (Item *, DisplayElement *) override
 
void dropItemIntoRoom (Item *, Hotspot *) override
 
void playMissingFloorSound ()
 
void takeElevator (uint, uint)
 
void updateElevatorMovie ()
 
void openElevatorMovie ()
 
void emptyOJGlass ()
 
void closeDoorOffScreen (const RoomID, const DirectionConstant) override
 
void doorBombTimerExpired ()
 
void sinclairTimerExpired ()
 
void checkSinclairShootsOS ()
 
void setUpSinclairLoops ()
 
void zoomToSinclair ()
 
void playEndMessage ()
 
void checkInterruptSinclair ()
 
void doArthurJoyride ()
 
void cantMoveThatWay (CanMoveForwardReason) override
 
CanOpenDoorReason canOpenDoor (DoorTable::Entry &) override
 
void doorOpened () override
 
void updateCursor (const Common::Point, const Hotspot *) override
 
Common::Path getSoundSpotsName () override
 
Common::Path getNavMovieName () override
 
- Protected Member Functions inherited from Pegasus::Neighborhood
void receiveNotification (Notification *, const NotificationFlags) override
 
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 getZoomEntry (const HotSpotID id, ZoomTable::Entry &zoomEntry)
 
virtual void getHotspotEntry (const HotSpotID id, HotspotInfoTable::Entry &hotspotEntry)
 
virtual void keepStriding (ExitTable::Entry &)
 
virtual void stopStriding ()
 
virtual void checkStriding ()
 
virtual bool stillMoveForward ()
 
virtual void scheduleStridingCallBack (const TimeValue, NotificationFlags flags)
 
virtual void playExtraMovie (const ExtraTable::Entry &, const NotificationFlags, const InputBits interruptionFilter)
 
virtual void activateCurrentView (const RoomID, const DirectionConstant, SpotFlags)
 
virtual void activateOneHotspot (HotspotInfoTable::Entry &, Hotspot *)
 
virtual void startMovieSequence (const TimeValue, const TimeValue, NotificationFlags, bool loopSequence, const InputBits interruptionFilter, const TimeValue strideStop=0xffffffff)
 
virtual void createNeighborhoodSpots ()
 
void resetLastExtra ()
 
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 setHotspotFlags (const HotSpotID, const HotSpotFlags)
 
virtual void setIsItemTaken (const ItemID)
 
virtual void upButton (const Input &)
 
void initOnePicture (Picture *, const Common::Path &, DisplayOrder, CoordType, CoordType, bool)
 
void initOneMovie (Movie *, const Common::Path &, DisplayOrder, CoordType, CoordType, bool)
 
void reinstateMonocleInterface ()
 
void useIdleTime () override
 
virtual void zoomUpOrBump ()
 
void scheduleEvent (const TimeValue, const TimeScale, const uint32)
 
void cancelEvent ()
 
virtual void timerExpired (const uint32)
 
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< uint16, kNumCaldoriaPrivateFlags > _privateFlags
 
const Hotspot_zoomOutSpot
 
Hotspot _laundryZoomInSpot
 
Hotspot _laundryZoomOutSpot
 
Hotspot _cornbreadSpot
 
Movie _extraMovie
 
NotificationCallBack _extraMovieCallBack
 
bool _lookingAtLaundry
 
FuseFunction _utilityFuse
 
long _sinclairLoopCount
 
long _numSinclairLoops
 
Sprite_gunSprite
 
SinclairCallBack _sinclairInterrupt
 
- 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: