Public Member Functions | |
| 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 |
Public Member Functions inherited from Titanic::CStarFieldBase | |
| bool | loadYale (int v1) override |
| bool | selectStar (CSurfaceArea *surfaceArea, CCamera *camera, const Common::Point &pt, void *handler=nullptr) override |
| bool | loadStar () override |
| bool | setup () |
Public Member Functions inherited from Titanic::CBaseStars | |
| virtual void | draw (CSurfaceArea *surfaceArea, CCamera *camera, CStarCloseup *closeup) |
| virtual bool | loadYale (int v1) |
| virtual bool | selectStar (CSurfaceArea *surfaceArea, CCamera *camera, const Common::Point &pt, void *handler=nullptr) |
| virtual bool | addStar (const CBaseStarEntry *entry) |
| virtual bool | loadStar () |
| virtual void | load (SimpleFile *file) |
| virtual void | save (SimpleFile *file, int indent) |
| 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) |
Additional Inherited Members | |
Public Attributes inherited from Titanic::CBaseStars | |
| Common::Array< CBaseStarEntry > | _data |
Protected Member Functions inherited from Titanic::CBaseStars | |
| void | loadData (Common::SeekableReadStream &s) |
| void | loadData (const CString &resName) |
| void | resetEntry (CBaseStarEntry &entry) |
Protected Attributes inherited from Titanic::CBaseStars | |
| FRange | _minMax |
| double | _minVal |
| double | _maxVal |
| double | _range |
| double | _value1 |
| double | _value2 |
| double | _value3 |
| double | _value4 |
|
overridevirtual |
Load the data for the class from file
Reimplemented from Titanic::CBaseStars.
|
overridevirtual |
Save the data for the class to file
Reimplemented from Titanic::CBaseStars.
| void Titanic::CStarField::render | ( | CVideoSurface * | surface, |
| CCamera * | camera | ||
| ) |
Renders the contents of the starfield
| StarMode Titanic::CStarField::getMode | ( | ) | const |
Gets the current display mode
| void Titanic::CStarField::setMode | ( | StarMode | mode | ) |
Sets the display mode
| void Titanic::CStarField::toggleBox | ( | ) |
Toggles whether the big box is visible
| bool Titanic::CStarField::setBoxVisible | ( | bool | isVisible | ) |
Sets whether the big box is visible
| int Titanic::CStarField::getMatchedIndex | ( | ) | const |
Returns the index for the number of star matches
| bool Titanic::CStarField::isCloseToMarker | ( | ) | const |
Returns true if the center of the starfield viewpoint is close to a marker
| void Titanic::CStarField::setSolved | ( | ) |
Sets the flag that the starfield has been solved
| bool Titanic::CStarField::isSolved | ( | ) | const |
Returns true if the starfield puzzle has been solved
| bool Titanic::CStarField::isSkipped | ( | ) | const |
Return true if the starfield puzzle was skipped
| void Titanic::CStarField::skipPuzzle | ( | ) |
Skips the starfield puzzle
|
inline |
Returns the number of markers placed in the starfield
| double Titanic::CStarField::lockDistance | ( | CSurfaceArea * | surfaceArea, |
| CCamera * | camera, | ||
| FVector & | screenCoord, | ||
| FVector & | worldCoord, | ||
| FVector & | photoPos | ||
| ) |
Gets the lock distance to a star
| void Titanic::CStarField::incLockLevel | ( | ) |
Increments the number of matched markers
| void Titanic::CStarField::decLockLevel | ( | CVideoSurface * | surface | ) |
Decrements the number of matched markers
| bool Titanic::CStarField::mouseButtonDown | ( | CVideoSurface * | surface, |
| CCamera * | camera, | ||
| int | flags, | ||
| const Common::Point & | pt | ||
| ) |
Called when the starfield is clicked
| const CBaseStarEntry * Titanic::CStarField::getRandomStar | ( | ) | const |
Gets a random star
| const CBaseStarEntry * Titanic::CStarField::getStar | ( | int | index | ) | const |
Gets a specified star