]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/AIEntity.hxx
Moved random ground cover object management code (userdata.[ch]xx) over
[flightgear.git] / src / ATC / AIEntity.hxx
index 9e99f5a87381cc8efba67ac983690adad44ddbcd..deab859e2b8a92c9828dc2e96173a0fe9e0f8a03 100644 (file)
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-/*****************************************************************
-*
-* WARNING - Curt has some ideas about AI traffic so anything in here
-* may get rewritten or scrapped.  Contact Curt curt@flightgear.org 
-* before spending any time or effort on this code!!!
-*
-******************************************************************/
-
 #ifndef _FG_AIEntity_HXX
 #define _FG_AIEntity_HXX
 
-#include <Model/model.hxx>
 #include <plib/sg.h>
 #include <plib/ssg.h>
+
 #include <simgear/math/point3d.hxx>
+#include <simgear/scene/model/model.hxx>
+#include <simgear/scene/model/placement.hxx>
 
 
 /*****************************************************************
@@ -51,6 +45,10 @@ public:
 
     // Run the internal calculations
     virtual void Update(double dt);
+       
+    // 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);
 
 protected:
 
@@ -60,7 +58,7 @@ protected:
     double pitch;      //degrees
 
     char* model_path;  //Path to the 3D model
-    FGModelPlacement aip;
+    SGModelPlacement aip;
 
     void Transform();
 };