]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/parking.cxx
Overhaul the ground-net / parking code.
[flightgear.git] / src / Airports / parking.cxx
index 58928dfcfa0863492199131c4a7a296679728ddc..032a12549c50beb4dc58f92365d3b068438e2efd 100644 (file)
 #include <string>
 
 #include "parking.hxx"
-#include "groundnetwork.hxx"
 
 /*********************************************************************************
  * FGParking
  ********************************************************************************/
 
-FGParking::FGParking(PositionedID aGuid, int index, const SGGeod& pos,
+FGParking::FGParking(PositionedID aGuid, 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),
+                     const std::string& codes,
+                     PositionedID pushBackNode) :
+  FGTaxiNode(aGuid, pos, false, 0),
   heading(aHeading),
   radius(aRadius),
   parkingName(name),
   type(aType),
   airlineCodes(codes),
-  available(true),
-  pushBackPoint(0)
+  pushBackPoint(pushBackNode)
 {
 }