From: mfranz Date: Fri, 14 Apr 2006 14:50:08 +0000 (+0000) Subject: rename OBJECT_TAXI_SIGN to OBJECT_SIGN. This isn't about taxi signs any X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=73c0ef59c1848b81d4c381f6c450e4a945d0ee1e;p=simgear.git rename OBJECT_TAXI_SIGN to OBJECT_SIGN. This isn't about taxi signs any more, but all sorts of signs. Now is the best time to get rid of a misleading name. --- diff --git a/simgear/scene/tgdb/apt_signs.cxx b/simgear/scene/tgdb/apt_signs.cxx index ebd626d4..089369fb 100644 --- a/simgear/scene/tgdb/apt_signs.cxx +++ b/simgear/scene/tgdb/apt_signs.cxx @@ -32,7 +32,7 @@ #include "apt_signs.hxx" -#define TAXI "OBJECT_TAXI_SIGN: " +#define TAXI "OBJECT_SIGN: " #define RWY "OBJECT_RUNWAY_SIGN: " @@ -87,8 +87,7 @@ struct pair { // // Example: {l}E|{L}[T]|{Y,ur}L|E{r} // -ssgBranch *sgMakeTaxiSign( SGMaterialLib *matlib, - const string path, const string content ) +ssgBranch *sgMakeSign(SGMaterialLib *matlib, const string path, const string content) { double sign_height = 1.0; // meter bool lighted = true; diff --git a/simgear/scene/tgdb/apt_signs.hxx b/simgear/scene/tgdb/apt_signs.hxx index 743d7765..ba96d160 100644 --- a/simgear/scene/tgdb/apt_signs.hxx +++ b/simgear/scene/tgdb/apt_signs.hxx @@ -41,9 +41,9 @@ class SGMaterialLib; // forward declaration SG_USING_STD(string); -// Generate a taxi sign -ssgBranch *sgMakeTaxiSign( SGMaterialLib *matlib, - const string path, const string content ); +// Generate a generic sign +ssgBranch *sgMakeSign( SGMaterialLib *matlib, + const string path, const string content ); // Generate a runway sign