]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIBase.hxx
Merge branch 'jmt/gps' into next
[flightgear.git] / src / AIModel / AIBase.hxx
index 46d287f732778dd4397f07fb6bf7cf6fccba2057..1ab3a640eacb314cf880051a90950eeba878d9ae 100644 (file)
@@ -36,6 +36,7 @@
 using std::string;
 using std::list;
 
+class SGMaterial;
 class FGAIManager;
 class FGAIFlightPlan;
 
@@ -43,8 +44,8 @@ class FGAIBase : public osg::Referenced {
 
 public:
     enum object_type { otNull = 0, otAircraft, otShip, otCarrier, otBallistic,
-                       otRocket, otStorm, otThermal, otStatic, otWingman,
-                       otMultiplayer,
+                       otRocket, otStorm, otThermal, otStatic, otWingman, otGroundVehicle,
+                       otEscort, otMultiplayer,
                        MAX_OBJECTS };  // Needs to be last!!!
 
     FGAIBase(object_type ot);
@@ -93,6 +94,9 @@ public:
     SGVec3d getCartPosAt(const SGVec3d& off) const;
     SGVec3d getCartPos() const;
 
+    bool getGroundElevationM(const SGGeod& pos, double& elev,
+                             const SGMaterial** material) const;
+
     double _getCartPosX() const;
     double _getCartPosY() const;
     double _getCartPosZ() const;