|
void | load (SimpleFile *file) override |
|
void | save (SimpleFile *file, int indent) override |
|
bool | initDocument () |
|
void | render (CVideoSurface *surface, CCamera *camera) |
|
bool | getBoundaryState () const |
|
void | setBoundaryState (bool state) |
|
bool | getConstMapState () const |
|
void | setConstMapState (bool state) |
|
int | get54 () const |
|
void | set54 (int val) |
|
StarMode | getMode () const |
|
void | setMode (StarMode mode) |
|
void | toggleBox () |
|
bool | setBoxVisible (bool isVisible) |
|
int | getMatchedIndex () const |
|
bool | isCloseToMarker () const |
|
void | setSolved () |
|
bool | isSolved () const |
|
bool | isSkipped () const |
|
void | skipPuzzle () |
|
int | getMarkerCount () const |
|
void | fn1 (CErrorCode *errorCode) |
|
double | lockDistance (CSurfaceArea *surfaceArea, CCamera *camera, FVector &screenCoord, FVector &worldCoord, FVector &photoPos) |
|
void | fn6 (CVideoSurface *surface, CCamera *camera) |
|
void | incLockLevel () |
|
void | decLockLevel (CVideoSurface *surface) |
|
void | ToggleSolarRendering () |
|
bool | mouseButtonDown (CVideoSurface *surface, CCamera *camera, int flags, const Common::Point &pt) |
|
const CBaseStarEntry * | getRandomStar () const |
|
const CBaseStarEntry * | getStar (int index) const |
|
bool | loadYale (int v1) override |
|
bool | selectStar (CSurfaceArea *surfaceArea, CCamera *camera, const Common::Point &pt, void *handler=nullptr) override |
|
bool | loadStar () override |
|
bool | setup () |
|
virtual void | draw (CSurfaceArea *surfaceArea, CCamera *camera, CStarCloseup *closeup) |
|
virtual bool | addStar (const CBaseStarEntry *entry) |
|
void | clear () |
|
void | initialize () |
|
int | size () const |
|
const CBaseStarEntry * | getDataPtr (int index) const |
|
int | findStar (CSurfaceArea *surfaceArea, CCamera *camera, const Common::Point &pt) |
|
int | baseFn2 (CSurfaceArea *surfaceArea, CCamera *camera) |
|
◆ load()
void Titanic::CStarField::load |
( |
SimpleFile * |
file | ) |
|
|
overridevirtual |
◆ save()
void Titanic::CStarField::save |
( |
SimpleFile * |
file, |
|
|
int |
indent |
|
) |
| |
|
overridevirtual |
◆ render()
Renders the contents of the starfield
◆ getMode()
StarMode Titanic::CStarField::getMode |
( |
| ) |
const |
Gets the current display mode
◆ setMode()
void Titanic::CStarField::setMode |
( |
StarMode |
mode | ) |
|
◆ toggleBox()
void Titanic::CStarField::toggleBox |
( |
| ) |
|
Toggles whether the big box is visible
◆ setBoxVisible()
bool Titanic::CStarField::setBoxVisible |
( |
bool |
isVisible | ) |
|
Sets whether the big box is visible
◆ getMatchedIndex()
int Titanic::CStarField::getMatchedIndex |
( |
| ) |
const |
Returns the index for the number of star matches
◆ isCloseToMarker()
bool Titanic::CStarField::isCloseToMarker |
( |
| ) |
const |
Returns true if the center of the starfield viewpoint is close to a marker
◆ setSolved()
void Titanic::CStarField::setSolved |
( |
| ) |
|
Sets the flag that the starfield has been solved
◆ isSolved()
bool Titanic::CStarField::isSolved |
( |
| ) |
const |
Returns true if the starfield puzzle has been solved
◆ isSkipped()
bool Titanic::CStarField::isSkipped |
( |
| ) |
const |
Return true if the starfield puzzle was skipped
◆ skipPuzzle()
void Titanic::CStarField::skipPuzzle |
( |
| ) |
|
Skips the starfield puzzle
◆ getMarkerCount()
int Titanic::CStarField::getMarkerCount |
( |
| ) |
const |
|
inline |
Returns the number of markers placed in the starfield
◆ lockDistance()
Gets the lock distance to a star
◆ incLockLevel()
void Titanic::CStarField::incLockLevel |
( |
| ) |
|
Increments the number of matched markers
◆ decLockLevel()
void Titanic::CStarField::decLockLevel |
( |
CVideoSurface * |
surface | ) |
|
Decrements the number of matched markers
◆ mouseButtonDown()
Called when the starfield is clicked
◆ getRandomStar()
◆ getStar()
The documentation for this class was generated from the following file: