d9bfd5a425
SimGear change. It changes all the SG_xxxx to be the 'real' includes, and gets rid of many #ifdef SG_HAVE_STD_INCLUDES. As an added bonus, rather than replacing 'SG_USING_NAMESPACE(std)' with 'using namespace std', I just fixed the small number of places to use std:: explicitly. So we're no longer polluting the global namespace with the entire contents of std, in many cases. There is one more 'mechanical' change to come - getting rid of SG_USING_STD(X), but I want to keep that separate from everything else. (There's another mechnical change, replacing <math.h> with <cmath> and so on *everywhere*, but one step at a time)
71 lines
2.1 KiB
C++
71 lines
2.1 KiB
C++
// parking.cxx - Implementation of a class to manage aircraft parking in
|
|
// FlightGear. This code is intended to be used by AI code and
|
|
// initial user-startup location selection.
|
|
//
|
|
// Written by Durk Talsma, started December 2004.
|
|
//
|
|
// Copyright (C) 2004 Durk Talsma.
|
|
//
|
|
// This program is free software; you can redistribute it and/or
|
|
// modify it under the terms of the GNU General Public License as
|
|
// published by the Free Software Foundation; either version 2 of the
|
|
// License, or (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful, but
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
// General Public License for more details.
|
|
//
|
|
// 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
//
|
|
// $Id$
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
# include <config.h>
|
|
#endif
|
|
|
|
//#include <algorithm>
|
|
|
|
#include <simgear/compiler.h>
|
|
|
|
//#include <plib/sg.h>
|
|
//#include <plib/ul.h>
|
|
|
|
//#include <Environment/environment_mgr.hxx>
|
|
//#include <Environment/environment.hxx>
|
|
//#include <simgear/misc/sg_path.hxx>
|
|
//#include <simgear/props/props.hxx>
|
|
//#include <simgear/structure/subsystem_mgr.hxx>
|
|
//#include <simgear/debug/logstream.hxx>
|
|
//#include <Main/globals.hxx>
|
|
//#include <Main/fg_props.hxx>
|
|
//#include <Airports/runways.hxx>
|
|
|
|
#include <string>
|
|
|
|
#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)
|
|
// {
|
|
// heading = hdg;
|
|
// parkingName = name;
|
|
// type = tpe;
|
|
// airlineCodes = codes;
|
|
// }
|
|
FGParking::~FGParking() {
|
|
delete pushBackRoute;
|
|
}
|