#ifndef _FG_AIGAVFRTraffic_HXX
#define _FG_AIGAVFRTraffic_HXX
-#include <plib/sg.h>
-#include <plib/ssg.h>
#include <simgear/math/point3d.hxx>
#include <Main/fg_props.hxx>
~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);