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 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 |
Draw the item
Reimplemented from Titanic::CBaseStars.
|
overridevirtual |
Adds a new star, or removes one if already present at the given co-ordinates
Reimplemented from Titanic::CBaseStars.