]> git.mxchange.org Git - flightgear.git/blobdiff - src/Model/acmodel.hxx
Default to glider again when model is not present.
[flightgear.git] / src / Model / acmodel.hxx
index 22401df6100fd29301f166dd80736fb5adc0be79..4e691ca0a12244ea43895b45ce8e86aa61375edb 100644 (file)
 SG_USING_STD(string);
 SG_USING_STD(vector);
 
-#include <simgear/misc/props.hxx>
+#include <Main/fgfs.hxx>       // for FGSubsystem
 
-#include <Main/fgfs.hxx>
 
-#include "model.hxx"
+// Don't pull in the headers, since we don't need them here.
+class ssgRoot;
+class ssgSelector;
+class FG3DModel;
 
 
 class FGAircraftModel : public FGSubsystem
@@ -32,13 +34,18 @@ public:
   virtual void init ();
   virtual void bind ();
   virtual void unbind ();
-  virtual void update (int dt);
+  virtual void update (double dt);
+  virtual void draw ();
+  virtual FG3DModel * get3DModel() { return _aircraft; }
 
 private:
 
   FG3DModel * _aircraft;
+  ssgSelector * _selector;
+  ssgRoot * _scene;
+  float _nearplane;
+  float _farplane;
 
 };
 
 #endif // __ACMODEL_HXX
-