22 #ifndef TITANIC_STAR_FIELD_H 23 #define TITANIC_STAR_FIELD_H 25 #include "titanic/star_control/star_field_base.h" 26 #include "titanic/star_control/star_closeup.h" 27 #include "titanic/star_control/star_markers.h" 28 #include "titanic/star_control/star_crosshairs.h" 29 #include "titanic/star_control/const_boundaries.h" 30 #include "titanic/star_control/constellations.h" 34 #define STAR_SCALE 1024.0F 35 #define UNIVERSE_SCALE 3000000.0f 44 bool _renderBoundaries;
81 bool getBoundaryState()
const;
83 void setBoundaryState(
bool state);
85 bool getConstMapState()
const;
87 void setConstMapState(
bool state);
146 return _markers.size();
169 void ToggleSolarRendering() { _starCloseup.fn1(); }
Definition: surface_area.h:36
void load(SimpleFile *file) override
void decLockLevel(CVideoSurface *surface)
Definition: constellations.h:33
Definition: star_closeup.h:39
bool setBoxVisible(bool isVisible)
Definition: star_markers.h:29
Definition: error_code.h:27
int getMarkerCount() const
Definition: star_field.h:145
const CBaseStarEntry * getRandomStar() const
Definition: star_field_base.h:29
Definition: simple_file.h:49
void render(CVideoSurface *surface, CCamera *camera)
double lockDistance(CSurfaceArea *surfaceArea, CCamera *camera, FVector &screenCoord, FVector &worldCoord, FVector &photoPos)
bool isCloseToMarker() const
void save(SimpleFile *file, int indent) override
Definition: star_field.h:37
const CBaseStarEntry * getStar(int index) const
Definition: star_crosshairs.h:39
bool mouseButtonDown(CVideoSurface *surface, CCamera *camera, int flags, const Common::Point &pt)
Definition: const_boundaries.h:33
int getMatchedIndex() const
void setMode(StarMode mode)
Definition: base_stars.h:42
Definition: video_surface.h:43