ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <scene.h>

Inheritance diagram for Myst3::Scene:
Collaboration diagram for Myst3::Scene:

List of all members.

Public Member Functions

 Scene (Myst3Engine *vm)
Common::Rect getPosition () const override
 Get the window position in screen coordinates.
Common::Rect getOriginalPosition () const override
 Get the window position in original (640x480) screen coordinates.
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)

Static Public Member Functions

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

Private Attributes

Myst3Engine_vm
uint _mouseSpeed

Detailed Description

Definition at line 35 of file scene.h.


Constructor & Destructor Documentation

Myst3::Scene::Scene ( Myst3Engine vm  ) 

Definition at line 38 of file scene.cpp.


Member Function Documentation

Math::Vector3d Myst3::Scene::directionToVector ( float  pitch,
float  heading 
) [static]

Definition at line 118 of file scene.cpp.

float Myst3::Scene::distanceToZone ( float  spotHeading,
float  spotPitch,
float  spotRadius,
float  heading,
float  pitch 
)

Definition at line 131 of file scene.cpp.

void Myst3::Scene::drawSunspotFlare ( const SunSpot s  ) 

Definition at line 105 of file scene.cpp.

Common::Rect Myst3::Scene::getOriginalPosition (  )  const [override, virtual]

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

Implements Myst3::Window.

Definition at line 185 of file scene.cpp.

Common::Rect Myst3::Scene::getPosition (  )  const [override, virtual]

Get the window position in screen coordinates.

Implements Myst3::Window.

Definition at line 144 of file scene.cpp.

void Myst3::Scene::screenPosToDirection ( const Common::Point screen,
float &  pitch,
float &  heading 
) const

Definition at line 198 of file scene.cpp.

void Myst3::Scene::updateCamera ( Common::Point mouse  ) 

Definition at line 45 of file scene.cpp.

void Myst3::Scene::updateMouseSpeed (  ) 

Definition at line 140 of file scene.cpp.


Member Data Documentation

Definition at line 39 of file scene.h.

Definition at line 37 of file scene.h.


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


Generated on Sat Sep 14 2019 05:04:49 for ResidualVM by doxygen 1.7.1
curved edge   curved edge