]> git.mxchange.org Git - flightgear.git/blobdiff - src/Model/acmodel.hxx
Moved random ground cover object management code (userdata.[ch]xx) over
[flightgear.git] / src / Model / acmodel.hxx
index 08ffd139fcc0151a354254ccc39588951e76dbc8..0e6fe2235c54df27607fe985d9f0b240f548d7e6 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 SGModelPlacement;
 
 
 class FGAircraftModel : public FGSubsystem
@@ -32,13 +34,13 @@ 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; }
+  virtual SGModelPlacement * get3DModel() { return _aircraft; }
 
 private:
 
-  FG3DModel * _aircraft;
+  SGModelPlacement * _aircraft;
   ssgSelector * _selector;
   ssgRoot * _scene;
   float _nearplane;
@@ -47,5 +49,3 @@ private:
 };
 
 #endif // __ACMODEL_HXX
-
-