Planet.hpp   Planet.hpp 
skipping to change at line 90 skipping to change at line 90
{ {
public: public:
friend class SolarSystem; friend class SolarSystem;
Planet(const QString& englishName, Planet(const QString& englishName,
int flagLighting, int flagLighting,
double radius, double radius,
double oblateness, double oblateness,
Vec3f color, Vec3f color,
float albedo, float albedo,
const QString& texMapName, const QString& texMapName,
const QString& texHaloName,
posFuncType _coordFunc, posFuncType _coordFunc,
void* userDataPtr, void* userDataPtr,
OsulatingFunctType *osculatingFunc, OsulatingFunctType *osculatingFunc,
bool closeOrbit, bool closeOrbit,
bool hidden, bool hidden,
bool hasAtmosphere); bool hasAtmosphere);
~Planet(); ~Planet();
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Methods inherited from StelObject // Methods inherited from StelObject
//! Get a string with data about the Planet. //! Get a string with data about the Planet.
skipping to change at line 201 skipping to change at line 200
void update(int deltaTime); void update(int deltaTime);
void setFlagHints(bool b){hintFader = b;} void setFlagHints(bool b){hintFader = b;}
bool getFlagHints(void) const {return hintFader;} bool getFlagHints(void) const {return hintFader;}
void setFlagLabels(bool b){flagLabels = b;} void setFlagLabels(bool b){flagLabels = b;}
bool getFlagLabels(void) const {return flagLabels;} bool getFlagLabels(void) const {return flagLabels;}
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// DEPRECATED // DEPRECATED
///// Trail related code
// Should move to a TrailPath class which works on a StelObject, not
on a Planet
void updateTrail(const StelNavigator* nav);
void drawTrail(const StelCore* core);
//! Start/stop accumulating new trail data (clear old data)
void startTrail(bool b);
void setFlagTrail(bool b){if(b == trailFader) return; trailFader = b
; startTrail(b);}
bool getFlagTrail(void) const {return trailFader;}
static void setTrailColor(const Vec3f& c) { trailColor = c; }
static const Vec3f& getTrailColor() { return trailColor; }
static Vec3f trailColor;
std::list<TrailPoint>trail;
bool trailOn; // accumulate trail data if true
double DeltaTrail;
int MaxTrail;
double lastTrailJD;
bool firstPoint; // if need to take first point of tra
il still
LinearFader trailFader;
///// Orbit related code ///// Orbit related code
// Should move to an OrbitPath class which works on a SolarSystemObj ect, not a Planet // Should move to an OrbitPath class which works on a SolarSystemObj ect, not a Planet
void setFlagOrbits(bool b){orbitFader = b;} void setFlagOrbits(bool b){orbitFader = b;}
bool getFlagOrbits(void) const {return orbitFader;} bool getFlagOrbits(void) const {return orbitFader;}
LinearFader orbitFader; LinearFader orbitFader;
// draw orbital path of Planet // draw orbital path of Planet
void drawOrbit(const StelCore*); void drawOrbit(const StelCore*);
Vec3d orbit[ORBIT_SEGMENTS+1]; // store heliocentric coordinates f or drawing the orbit Vec3d orbit[ORBIT_SEGMENTS+1]; // store heliocentric coordinates f or drawing the orbit
double lastOrbitJD; double lastOrbitJD;
double deltaJD; double deltaJD;
 End of changes. 3 change blocks. 
25 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/