22 #ifndef TITANIC_BASE_STARS_H 23 #define TITANIC_BASE_STARS_H 25 #include "titanic/star_control/frange.h" 26 #include "common/array.h" 29 class SeekableReadStream;
34 enum StarMode { MODE_STARFIELD = 0, MODE_PHOTO = 1 };
67 return x == sp.
x && y == sp.
y && _index1 == sp._index1 && _index2 == sp._index2;
85 double _value1, _value2;
86 double _value3, _value4;
96 void loadData(
const CString &resName);
113 virtual bool loadYale(
int v1) {
return true; }
119 const Common::Point &pt,
void *handler =
nullptr) {
return false; }
126 virtual bool loadStar() {
return false; }
145 int size()
const {
return _data.
size(); }
Definition: surface_area.h:36
virtual void load(SimpleFile *file)
Definition: base_stars.h:131
Definition: star_closeup.h:39
Definition: simple_file.h:49
virtual void save(SimpleFile *file, int indent)
Definition: base_stars.h:136
virtual bool addStar(const CBaseStarEntry *entry)
Definition: base_stars.h:124
Definition: base_stars.h:61
virtual bool selectStar(CSurfaceArea *surfaceArea, CCamera *camera, const Common::Point &pt, void *handler=nullptr)
Definition: base_stars.h:118
Definition: algorithm.h:29
size_type size() const
Definition: array.h:315
int16 x
Definition: rect.h:46
int16 y
Definition: rect.h:47
Definition: base_stars.h:42
Definition: base_stars.h:74