]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/AIEntity.hxx
Add David Culp's AI model manager code which is derived from David Luff's AI/ATC...
[flightgear.git] / src / ATC / AIEntity.hxx
index 3156c4724782ed120feb006b98e18df7dedb243b..436eb186d7233a087d225ceb0f9dc51b04f507f8 100644 (file)
 #include <plib/ssg.h>
 
 #include <simgear/math/point3d.hxx>
+#include <simgear/scene/model/model.hxx>
 #include <simgear/scene/model/placement.hxx>
 
-#include <Model/model.hxx>
-
 
 /*****************************************************************
 *
@@ -50,6 +49,8 @@ public:
     // Send a transmission *TO* the AIEntity.
     // FIXME int code is a hack - eventually this will receive Alexander's coded messages.
     virtual void RegisterTransmission(int code);
+       
+       inline Point3D GetPos() { return(pos); }
 
 protected:
 
@@ -59,7 +60,7 @@ protected:
     double pitch;      //degrees
 
     char* model_path;  //Path to the 3D model
-    FGModelPlacement aip;
+    SGModelPlacement aip;
 
     void Transform();
 };