]> git.mxchange.org Git - flightgear.git/blobdiff - Astro/moon.hxx
Changes contributed by Durk Talsma:
[flightgear.git] / Astro / moon.hxx
index 02f35abf184b794b5675aa5737a0422d1e3b19f2..e69b3ff626a19386b02dbca448f0278009613ebf 100644 (file)
@@ -38,13 +38,19 @@ class Moon : public CelestialBody
 private:
   void TexInit();  // This should move to the constructor eventually.
 
-  GLUquadricObj *Object;
+  GLUquadricObj *moonObject;
   GLuint Sphere;
+  GLuint moon_texid;
+  GLuint moon_halotexid;
+  GLubyte *moon_texbuf;
+  GLubyte *moon_halotexbuf;
   
+  void setHalo();
 public:
   Moon ( fgTIME *t);
+  ~Moon();
   void updatePosition(fgTIME *t, Star *ourSun);
-  void newImage(float, float);
+  void newImage();
 };