]> git.mxchange.org Git - simgear.git/blobdiff - simgear/route/waypoint.cxx
Step #1 towards abandoning the original point lighting scheme in favor of
[simgear.git] / simgear / route / waypoint.cxx
index 9e6820b911ddd08b7e3f6f59650912a0c2bd49f9..286fe1cc5f1c708347c4c75bab1879543e0e79d9 100644 (file)
 //
 // 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$
 
+#ifdef HAVE_CONFIG_H
+#  include <simgear_config.h>
+#endif
 
 #include <simgear/math/polar3d.hxx>
 #include <simgear/math/sg_geodesy.hxx>
 
 // Constructor
 SGWayPoint::SGWayPoint( const double lon, const double lat, const double alt,
-                       const modetype m, const string s ) {
+                       const modetype m, const string s, const string n ) {
     target_lon = lon;
     target_lat = lat;
     target_alt = alt;
     mode = m;
     id = s;
+    name = n;
 }