//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#ifndef _FG_AIGAVFRTraffic_HXX
#define _FG_AIGAVFRTraffic_HXX
#include <simgear/math/point3d.hxx>
#include <Main/fg_props.hxx>
-#include "tower.hxx"
-#include "AIPlane.hxx"
-#include "ATCProjection.hxx"
-#include "ground.hxx"
#include "AILocalTraffic.hxx"
#include <string>
~FGAIGAVFRTraffic();
// Init en-route to destID at point pt. (lat, lon, elev) (elev in meters, lat and lon in degrees).
- bool Init(Point3D pt, string destID, const string& callsign);
+ bool Init(const Point3D& pt, const string& destID, const string& callsign);
// Init at srcID to fly to destID
- bool Init(string srcID, string destID, const string& callsign, OperatingState state = PARKED);
+ bool Init(const string& srcID, const string& destID, const string& callsign, OperatingState state = PARKED);
// Run the internal calculations
void Update(double dt);
double stall_speed_landing_config;
// environment - some of this might get moved into FGAIPlane
- SGPropertyNode* wind_from_hdg; //degrees
- SGPropertyNode* wind_speed_knots; //knots
+ SGPropertyNode_ptr wind_from_hdg; //degrees
+ SGPropertyNode_ptr wind_speed_knots; //knots
atc_type changeFreqType; // the service we need to change to