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

Classes

struct  Line3D
 
struct  Point3D
 

Public Member Functions

 GlobeGame (Neighborhood *)
 
void setSoundFXLevel (const uint16) override
 
void handleInput (const Input &, const Hotspot *) override
 
void clickInHotspot (const Input &, const Hotspot *) override
 
void activateHotspots () 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 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 receiveNotification (Notification *, const NotificationFlags) override
 
void spinGlobe (const Input &, const Hotspot *, GlobeTrackDirection)
 
void clickGlobe (const Input &)
 
int16 findClickedSilo (const Input &)
 
void globeMovieFrameToOrigin (int16, int16 &, int16 &)
 
void globePointToLatLong (const Point3D &, int16, int16, int16 &, int16 &)
 
void screenPointTo3DPoint (int16, int16, Point3D &)
 
bool lineHitsGlobe (const Line3D &, Point3D &)
 
- 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 _robotMovie
 
Movie _monitorMovie
 
Movie _globeMovie
 
Movie _upperNamesMovie
 
Movie _lowerNamesMovie
 
Notification _globeNotification
 
NotificationCallBack _robotCallBack
 
NotificationCallBack _monitorCallBack
 
GlobeTracker _globeTracker
 
Picture _globeCircleLeft
 
Picture _globeCircleRight
 
Picture _globeCircleUp
 
Picture _globeCircleDown
 
Picture _motionHighlightLeft
 
Picture _motionHighlightRight
 
Picture _motionHighlightUp
 
Picture _motionHighlightDown
 
Picture _targetHighlightUpperLeft
 
Picture _targetHighlightUpperRight
 
Picture _targetHighlightLowerLeft
 
Picture _targetHighlightLowerRight
 
GlobeCountdown _countdown
 
NotificationCallBack _countdownCallBack
 
int16 _gameState
 
int16 _currentSiloIndex
 
Notification_neighborhoodNotification
 
bool _playedInstructions
 
- Protected Attributes inherited from Pegasus::GameInteraction
InputHandler_savedHandler
 
Neighborhood_owner
 
- Protected Attributes inherited from Pegasus::InputHandler
InputHandler_nextHandler
 
bool _allowInput
 

Static Protected Attributes

static const int16 _siloCoords [kNumAllSilos][2]
 
static const int16 _targetSilo [kNumTargetSilos]
 
static const int16 _timeLimit [kNumTargetSilos]
 
static const TimeValue _siloName [kNumTargetSilos][2]
 
- Static Protected Attributes inherited from Pegasus::InputHandler
static InputHandler_inputHandler
 
static bool _invalHotspots
 
static InputBits _lastFilter
 

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 ()
 

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