]> git.mxchange.org Git - simgear.git/blobdiff - simgear/ephemeris/ephemeris.hxx
Added gdbm to SimGear. Many systems will already have gdbm installed so
[simgear.git] / simgear / ephemeris / ephemeris.hxx
index 7b9a7c42c17f9f69379de884706acf47f689ad8d..74594e3b5cc470b4fedcbab25d628d9b4d9212bf 100644 (file)
@@ -39,6 +39,7 @@
 #include "saturn.hxx"
 #include "uranus.hxx"
 #include "neptune.hxx"
+#include "stars.hxx"
 
 
 class FGEphemeris {
@@ -59,11 +60,13 @@ class FGEphemeris {
     // planets[i][2] = Magnitude
     int nplanets;
     sgdVec3 planets[7];
-    
+
+    FGStars *stars;
+
 public:
 
     // Constructor
-    FGEphemeris( void );
+    FGEphemeris( const string &path );
 
     // Destructor
     ~FGEphemeris( void );
@@ -93,6 +96,10 @@ public:
     // planets
     inline int getNumPlanets() const { return nplanets; }
     inline sgdVec3 *getPlanets() { return planets; }
+
+    // planets
+    inline int getNumStars() const { return stars->getNumStars(); }
+    inline sgdVec3 *getStars() { return stars->getStars(); }
 };