From 73c0ef59c1848b81d4c381f6c450e4a945d0ee1e Mon Sep 17 00:00:00 2001 From: mfranz Date: Fri, 14 Apr 2006 14:50:08 +0000 Subject: [PATCH] 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. --- simgear/scene/tgdb/apt_signs.cxx | 5 ++--- simgear/scene/tgdb/apt_signs.hxx | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) 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 -- 2.39.5