Starshatter_Open
Open source Starshatter engine
|
#include <StarSystem.h>
Public Types | |
enum | OrbitalType { NOTHING, STAR, PLANET, MOON, REGION, TERRAIN } |
Public Member Functions | |
Orbital (StarSystem *sys, const char *n, OrbitalType t, double m, double r, double o, Orbital *p=0) | |
virtual | ~Orbital () |
int | operator== (const Orbital &o) const |
int | operator< (const Orbital &o) const |
int | operator<= (const Orbital &o) const |
virtual void | Update () |
Point | PredictLocation (double delta_t) |
const char * | Name () const |
OrbitalType | Type () const |
int | SubType () const |
const char * | Description () const |
double | Mass () const |
double | Radius () const |
double | Rotation () const |
double | RotationPhase () const |
double | Orbit () const |
bool | Retrograde () const |
double | Phase () const |
double | Period () const |
Point | Location () const |
Graphic * | Rep () const |
const Bitmap & | GetMapIcon () const |
void | SetMapIcon (const Bitmap &img) |
StarSystem * | System () const |
Orbital * | Primary () const |
ListIter< OrbitalRegion > | Regions () |
Static Public Member Functions | |
static const char * | TYPENAME () |
Protected Attributes | |
Text | name |
OrbitalType | type |
int | subtype |
Text | description |
double | mass |
double | radius |
double | rotation |
double | theta |
double | orbit |
double | phase |
double | period |
double | velocity |
Point | loc |
bool | retro |
Graphic * | rep |
Bitmap | map_icon |
StarSystem * | system |
Orbital * | primary |
List< OrbitalRegion > | regions |
Friends | |
class | StarSystem |
Definition at line 178 of file StarSystem.h.
enum Orbital::OrbitalType |
Definition at line 185 of file StarSystem.h.
Orbital::Orbital | ( | StarSystem * | sys, |
const char * | n, | ||
OrbitalType | t, | ||
double | m, | ||
double | r, | ||
double | o, | ||
Orbital * | p = 0 |
||
) |
Definition at line 1836 of file StarSystem.cpp.
|
virtual |
Definition at line 1851 of file StarSystem.cpp.
|
inline |
Definition at line 203 of file StarSystem.h.
|
inline |
Definition at line 215 of file StarSystem.h.
|
inline |
Definition at line 212 of file StarSystem.h.
|
inline |
Definition at line 204 of file StarSystem.h.
|
inline |
Definition at line 199 of file StarSystem.h.
|
inline |
Definition at line 191 of file StarSystem.h.
|
inline |
Definition at line 192 of file StarSystem.h.
|
inline |
Definition at line 190 of file StarSystem.h.
|
inline |
Definition at line 208 of file StarSystem.h.
|
inline |
Definition at line 211 of file StarSystem.h.
|
inline |
Definition at line 210 of file StarSystem.h.
Point Orbital::PredictLocation | ( | double | delta_t | ) |
Definition at line 1884 of file StarSystem.cpp.
|
inline |
Definition at line 219 of file StarSystem.h.
|
inline |
Definition at line 205 of file StarSystem.h.
|
inline |
Definition at line 220 of file StarSystem.h.
|
inline |
Definition at line 213 of file StarSystem.h.
|
inline |
Definition at line 209 of file StarSystem.h.
|
inline |
Definition at line 206 of file StarSystem.h.
|
inline |
Definition at line 207 of file StarSystem.h.
void Orbital::SetMapIcon | ( | const Bitmap & | img | ) |
Definition at line 1905 of file StarSystem.cpp.
|
inline |
Definition at line 201 of file StarSystem.h.
|
inline |
Definition at line 218 of file StarSystem.h.
|
inline |
Definition at line 200 of file StarSystem.h.
|
inlinestatic |
Reimplemented in OrbitalRegion, and OrbitalBody.
Definition at line 183 of file StarSystem.h.
|
virtual |
Reimplemented in OrbitalBody, and TerrainRegion.
Definition at line 1860 of file StarSystem.cpp.
|
friend |
Reimplemented in OrbitalRegion, OrbitalBody, and TerrainRegion.
Definition at line 180 of file StarSystem.h.
|
protected |
Definition at line 227 of file StarSystem.h.
|
protected |
Definition at line 236 of file StarSystem.h.
|
protected |
Definition at line 239 of file StarSystem.h.
|
protected |
Definition at line 228 of file StarSystem.h.
|
protected |
Definition at line 223 of file StarSystem.h.
|
protected |
Definition at line 232 of file StarSystem.h.
|
protected |
Definition at line 234 of file StarSystem.h.
|
protected |
Definition at line 233 of file StarSystem.h.
|
protected |
Definition at line 242 of file StarSystem.h.
|
protected |
Definition at line 229 of file StarSystem.h.
|
protected |
Definition at line 244 of file StarSystem.h.
|
protected |
Definition at line 238 of file StarSystem.h.
|
protected |
Definition at line 237 of file StarSystem.h.
|
protected |
Definition at line 230 of file StarSystem.h.
|
protected |
Definition at line 225 of file StarSystem.h.
|
protected |
Definition at line 241 of file StarSystem.h.
|
protected |
Definition at line 231 of file StarSystem.h.
|
protected |
Definition at line 224 of file StarSystem.h.
|
protected |
Definition at line 235 of file StarSystem.h.