ScummVM API documentation
Titanic::CStarView Class Reference

Public Member Functions

void load (SimpleFile *file, int param)
 
void save (SimpleFile *file, int indent)
 
void setup (CScreenManager *screenManager, CStarField *starField, CStarControl *starControl)
 
void takeCurrentHomePhoto ()
 
void draw (CScreenManager *screenManager)
 
bool updateCamera ()
 
bool MouseButtonDownMsg (int unused, const Point &pt)
 
bool MouseMoveMsg (int unused, const Point &pt)
 
bool KeyCharMsg (int key, CErrorCode *errorCode)
 
bool canSetStarDestination () const
 
void starDestinationSet ()
 
void resetView ()
 
void triggerFade (bool fadeIn)
 
void viewEarth ()
 
void viewFromEarth ()
 
void viewBoundaries ()
 
void viewConstellations ()
 
void viewRandomStar ()
 
void fullSpeed ()
 
void toggleSteroPair ()
 
void toggleHomePhoto ()
 
void toggleSolarRendering ()
 
void TogglePosFrame ()
 
void stereoPairOn ()
 
void stereoPairOff ()
 
void takeHomePhoto ()
 
void lockStar ()
 
void unlockStar ()
 

Member Function Documentation

◆ load()

void Titanic::CStarView::load ( SimpleFile file,
int  param 
)

Load the data for the class from file

◆ save()

void Titanic::CStarView::save ( SimpleFile file,
int  indent 
)

Save the data for the class to file

◆ setup()

void Titanic::CStarView::setup ( CScreenManager screenManager,
CStarField starField,
CStarControl starControl 
)

Sets references used by the view

◆ takeCurrentHomePhoto()

void Titanic::CStarView::takeCurrentHomePhoto ( )

Take a photograph of a view specified by the current home photo lens

◆ draw()

void Titanic::CStarView::draw ( CScreenManager screenManager)

Allows the item to draw itself

◆ updateCamera()

bool Titanic::CStarView::updateCamera ( )

Updates the camera, allowing for movement

◆ MouseButtonDownMsg()

bool Titanic::CStarView::MouseButtonDownMsg ( int  unused,
const Point pt 
)

Handles mouse down messages

◆ MouseMoveMsg()

bool Titanic::CStarView::MouseMoveMsg ( int  unused,
const Point pt 
)

Handles mouse move messages

◆ KeyCharMsg()

bool Titanic::CStarView::KeyCharMsg ( int  key,
CErrorCode errorCode 
)

Handles keyboard messages

◆ canSetStarDestination()

bool Titanic::CStarView::canSetStarDestination ( ) const

Returns true if a star destination can be set

◆ starDestinationSet()

void Titanic::CStarView::starDestinationSet ( )

Called when a star destination is set

◆ resetView()

void Titanic::CStarView::resetView ( )

Reset the starfield view

◆ viewEarth()

void Titanic::CStarView::viewEarth ( )

View the solar system

◆ viewFromEarth()

void Titanic::CStarView::viewFromEarth ( )

Set the view to be from earth

◆ viewBoundaries()

void Titanic::CStarView::viewBoundaries ( )

Turn on constellation boundaries

◆ viewConstellations()

void Titanic::CStarView::viewConstellations ( )

Turn on the constellation lines

◆ viewRandomStar()

void Titanic::CStarView::viewRandomStar ( )

Look at a random star

◆ fullSpeed()

void Titanic::CStarView::fullSpeed ( )

Increase starfield movement to full speed

◆ toggleSteroPair()

void Titanic::CStarView::toggleSteroPair ( )

Enable stereo pair vision

◆ toggleHomePhoto()

void Titanic::CStarView::toggleHomePhoto ( )

Toggles between starfield and photo modes

◆ toggleSolarRendering()

void Titanic::CStarView::toggleSolarRendering ( )

Toggles the solar object rendering

◆ TogglePosFrame()

void Titanic::CStarView::TogglePosFrame ( )

Toggles whether the viewpoint box is visible in the starfield

◆ stereoPairOn()

void Titanic::CStarView::stereoPairOn ( )

Turn on Stereo Pair imaging

◆ stereoPairOff()

void Titanic::CStarView::stereoPairOff ( )

Turn off Stereo Pair imaging

◆ takeHomePhoto()

void Titanic::CStarView::takeHomePhoto ( )

Called when the photograph is used on the navigation computer, takes a photograph of the current view, writing it to the home photo surface

◆ lockStar()

void Titanic::CStarView::lockStar ( )

Handles locking in a star

◆ unlockStar()

void Titanic::CStarView::unlockStar ( )

Handles unlocking a star


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