X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAirports%2Fparking.cxx;h=58928dfcfa0863492199131c4a7a296679728ddc;hb=3d4806adbe6705f785fd950bd4b4afde1cb4f8d2;hp=ebc06210fb4f8c5121c721a7af13adae7d92ba89;hpb=4238a46faa8fc8e9ac9174fe960eb7c5df188a4c;p=flightgear.git diff --git a/src/Airports/parking.cxx b/src/Airports/parking.cxx index ebc06210f..58928dfcf 100644 --- a/src/Airports/parking.cxx +++ b/src/Airports/parking.cxx @@ -26,42 +26,32 @@ # include #endif -//#include - #include -//#include -//#include - -//#include -//#include -//#include -//#include -//#include -//#include -//#include
-//#include
-//#include - -#include STL_STRING +#include #include "parking.hxx" +#include "groundnetwork.hxx" /********************************************************************************* * FGParking ********************************************************************************/ -FGParking::FGParking(double lat, - double lon, - double hdg, - double rad, - int idx, - const string &name, - const string &tpe, - const string &codes) - : FGTaxiNode(lat,lon,idx) + +FGParking::FGParking(PositionedID aGuid, int index, const SGGeod& pos, + double aHeading, double aRadius, + const std::string& name, const std::string& aType, + const std::string& codes) : + FGTaxiNode(aGuid, index, pos, false, 0), + heading(aHeading), + radius(aRadius), + parkingName(name), + type(aType), + airlineCodes(codes), + available(true), + pushBackPoint(0) +{ +} + +FGParking::~FGParking() { - heading = hdg; - parkingName = name; - type = tpe; - airlineCodes = codes; }