ScummVM API documentation
Titanic::CStarMarkers Class Reference
Inheritance diagram for Titanic::CStarMarkers:
Titanic::CBaseStars

Public Member Functions

void draw (CSurfaceArea *surfaceArea, CCamera *camera, CStarCloseup *closeup) override
 
bool addStar (const CBaseStarEntry *entry) override
 
- Public Member Functions inherited from Titanic::CBaseStars
virtual bool loadYale (int v1)
 
virtual bool selectStar (CSurfaceArea *surfaceArea, CCamera *camera, const Common::Point &pt, void *handler=nullptr)
 
virtual bool loadStar ()
 
virtual void load (SimpleFile *file)
 
virtual void save (SimpleFile *file, int indent)
 
void clear ()
 
void initialize ()
 
int size () const
 
const CBaseStarEntrygetDataPtr (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
 

Member Function Documentation

◆ draw()

void Titanic::CStarMarkers::draw ( CSurfaceArea surfaceArea,
CCamera camera,
CStarCloseup closeup 
)
overridevirtual

Draw the item

Reimplemented from Titanic::CBaseStars.

◆ addStar()

bool Titanic::CStarMarkers::addStar ( const CBaseStarEntry entry)
overridevirtual

Adds a new star, or removes one if already present at the given co-ordinates

Reimplemented from Titanic::CBaseStars.


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