X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Ftgdb%2Fapt_signs.hxx;h=8e3718a4d04be23613b25596732e016bf7b7da5e;hb=d4c7e950927b1e19a7a7622a7919f32233a6b7a8;hp=edd96dfb13df86ceac3f69a6dc1a8fd2008e131b;hpb=1ae257944b87f67bbc10cabe013975a7298c816e;p=simgear.git diff --git a/simgear/scene/tgdb/apt_signs.hxx b/simgear/scene/tgdb/apt_signs.hxx index edd96dfb..8e3718a4 100644 --- a/simgear/scene/tgdb/apt_signs.hxx +++ b/simgear/scene/tgdb/apt_signs.hxx @@ -2,7 +2,7 @@ // // Written by Curtis Olson, started July 2001. // -// Copyright (C) 2001 Curtis L. Olson - curt@flightgear.org +// Copyright (C) 2001 Curtis L. Olson - http://www.flightgear.org/~curt // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as @@ -16,39 +16,39 @@ // // 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., 675 Mass Ave, Cambridge, MA 02139, USA. +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // // $Id$ -#ifndef _APT_SIGNS_HXX -#define _APT_SIGNS_HXX +#ifndef _SG_APT_SIGNS_HXX +#define _SG_APT_SIGNS_HXX -#ifndef __cplusplus +#ifndef __cplusplus # error This library requires C++ -#endif +#endif #include -#include STL_STRING +#include -#include // plib include +#include class SGMaterialLib; // forward declaration -SG_USING_STD(string); +using std::string; -// Generate a taxi sign -ssgBranch *gen_taxi_sign( SGMaterialLib *matlib, - const string path, const string content ); +// Generate a generic sign +osg::Node* SGMakeSign( SGMaterialLib *matlib, + const string& path, const string& content ); // Generate a runway sign -ssgBranch *gen_runway_sign( SGMaterialLib *matlib, - const string path, const string name ); +osg::Node* SGMakeRunwaySign( SGMaterialLib *matlib, + const string& path, const string& name ); -#endif // _APT_SIGNS_HXX +#endif // _SG_APT_SIGNS_HXX