~ubuntu-branches/ubuntu/precise/flightgear/precise

« back to all changes in this revision

Viewing changes to src/AIModel/AIBase.hxx

  • Committer: Bazaar Package Importer
  • Author(s): Ove Kaaven
  • Date: 2011-01-30 15:46:35 UTC
  • mfrom: (3.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110130154635-rlynmg9n5hzxq5xe
Tags: 2.0.0-3
* Recommend fgfs-aircraft-base and fgfs-models-base.
  Closes. #610276.
* Added note about scenery SharedModels.tgz to README.Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#include <simgear/constants.h>
27
27
#include <simgear/math/SGMath.hxx>
28
 
#include <simgear/math/point3d.hxx>
29
28
#include <simgear/scene/model/placement.hxx>
30
29
#include <simgear/misc/sg_path.hxx>
31
30
#include <simgear/structure/SGSharedPtr.hxx>
37
36
using std::string;
38
37
using std::list;
39
38
 
 
39
class SGMaterial;
40
40
class FGAIManager;
41
41
class FGAIFlightPlan;
42
42
 
44
44
 
45
45
public:
46
46
    enum object_type { otNull = 0, otAircraft, otShip, otCarrier, otBallistic,
47
 
                       otRocket, otStorm, otThermal, otStatic, otWingman,
48
 
                       otMultiplayer,
 
47
                       otRocket, otStorm, otThermal, otStatic, otWingman, otGroundVehicle,
 
48
                       otEscort, otMultiplayer,
49
49
                       MAX_OBJECTS };   // Needs to be last!!!
50
50
 
51
51
    FGAIBase(object_type ot);
94
94
    SGVec3d getCartPosAt(const SGVec3d& off) const;
95
95
    SGVec3d getCartPos() const;
96
96
 
 
97
    bool getGroundElevationM(const SGGeod& pos, double& elev,
 
98
                             const SGMaterial** material) const;
 
99
 
97
100
    double _getCartPosX() const;
98
101
    double _getCartPosY() const;
99
102
    double _getCartPosZ() const;