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

« back to all changes in this revision

Viewing changes to src/AIModel/AIEscort.hxx

  • Committer: Package Import Robot
  • Author(s): Ove Kaaven
  • Date: 2011-09-03 22:16:12 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20110903221612-2cjy0z7ztj5nkln5
Tags: 2.4.0-1
* New upstream release. Closes: #638588.
* Build-Depend on OpenSceneGraph 3.0, and the Subversion library.
* Recommend fgfs-scenery-base.
* Enable parallel builds (shorter compile times on multicore CPUs).
* Removed hack that tried to build without optimizations if
  building with optimizations fails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
    virtual void reinit() { init(); }
51
51
    virtual void update (double dt);
52
52
 
53
 
    void setParentName(const std::string& p);
54
 
    void setParent();
55
53
    void setStnRange(double r);
56
54
    void setStnBrg(double y);
57
55
    void setStationSpeed();
61
59
    void setStnHtFt(double h);
62
60
    void setStnPatrol(bool p);
63
61
    void setStnDegTrue(bool t);
 
62
    void setParent();
64
63
 
65
64
    void setMaxSpeed(double m);
66
65
    void setUpdateInterval(double i);
73
72
 
74
73
    void calcRangeBearing(double lat, double lon, double lat2, double lon2,
75
74
        double &range, double &bearing) const;
76
 
    double calcRelBearingDeg(double bearing, double heading);
77
75
    double calcTrueBearingDeg(double bearing, double heading);
78
 
    double calcRecipBearingDeg(double bearing);
79
76
 
80
77
    SGGeod _selectedpos;
81
78
    SGGeod _tgtpos;
95
92
    double _max_speed;
96
93
 
97
94
    const SGMaterial* _material;
98
 
    SGPropertyNode_ptr _selected_ac;
99
95
 
100
96
    bool _MPControl, _patrol, _stn_deg_true;
101
97
 
102
 
    std::string _parent;
 
98
//    std::string _parent;
103
99
 
104
100
};
105
101