X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAirports%2Fparking.cxx;h=b5c8f1ef0667fd5055190d9f45f082ac5a7fa0d9;hb=fc887b106bbb199ffe9c042b8271eae1be26c9aa;hp=ebc06210fb4f8c5121c721a7af13adae7d92ba89;hpb=4238a46faa8fc8e9ac9174fe960eb7c5df188a4c;p=flightgear.git diff --git a/src/Airports/parking.cxx b/src/Airports/parking.cxx index ebc06210f..b5c8f1ef0 100644 --- a/src/Airports/parking.cxx +++ b/src/Airports/parking.cxx @@ -26,42 +26,36 @@ # include #endif -//#include - #include -//#include -//#include - -//#include -//#include -//#include -//#include -//#include -//#include -//#include
-//#include
-//#include - -#include STL_STRING +#include #include "parking.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(int index, + const SGGeod& pos, + double aHeading, double aRadius, + const std::string& name, + const std::string& aType, + const std::string& codes) : + FGTaxiNode(index, pos, false, 0), + heading(aHeading), + radius(aRadius), + parkingName(name), + type(aType), + airlineCodes(codes) +{ +} + +FGParking::~FGParking() +{ +} + +void FGParking::setPushBackPoint(const FGTaxiNodeRef &node) { - heading = hdg; - parkingName = name; - type = tpe; - airlineCodes = codes; + pushBackPoint = node; }