ScummVM API documentation
Myst3::Scene Class Reference
Inheritance diagram for Myst3::Scene:
Myst3::Window Myst3::Drawable

Public Member Functions

 Scene (Myst3Engine *vm)
 
Common::Rect getPosition () const override
 
Common::Rect getOriginalPosition () const override
 
void updateCamera (Common::Point &mouse)
 
void updateMouseSpeed ()
 
void screenPosToDirection (const Common::Point &screen, float &pitch, float &heading) const
 
void drawSunspotFlare (const SunSpot &s)
 
float distanceToZone (float spotHeading, float spotPitch, float spotRadius, float heading, float pitch)
 
- Public Member Functions inherited from Myst3::Window
Common::Point getCenter () const
 
Common::Point screenPosToWindowPos (const Common::Point &screen) const
 
Common::Point scalePoint (const Common::Point &screen) const
 
- Public Member Functions inherited from Myst3::Drawable
virtual void draw ()
 
virtual void drawOverlay ()
 
bool isConstrainedToWindow () const
 
bool is3D () const
 
bool isScaled () const
 

Static Public Member Functions

static Math::Vector3d directionToVector (float pitch, float heading)
 

Additional Inherited Members

- Protected Attributes inherited from Myst3::Drawable
bool _isConstrainedToWindow
 
bool _is3D
 
bool _scaled
 

Member Function Documentation

◆ getPosition()

Common::Rect Myst3::Scene::getPosition ( ) const
overridevirtual

Get the window position in screen coordinates

Implements Myst3::Window.

◆ getOriginalPosition()

Common::Rect Myst3::Scene::getOriginalPosition ( ) const
overridevirtual

Get the window position in original (640x480) screen coordinates

Implements Myst3::Window.


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