]> git.mxchange.org Git - simgear.git/blobdiff - simgear/route/route.hxx
Rotate the scenery tiles so that the horizont is axis aligned.
[simgear.git] / simgear / route / route.hxx
index 1f7c0323378ae151e52e928fe9124f795f4025e0..75fac7f048739324612bafe53e5e4396cbd3ea86 100644 (file)
 # error This library requires C++
 #endif
 
-
 #include <simgear/compiler.h>
 
-#include STL_STRING
 #include <vector>
 
-SG_USING_STD(string);
-SG_USING_STD(vector);
+using std::vector;
 
 #include <simgear/route/waypoint.hxx>
 
@@ -116,6 +113,10 @@ public:
        }
     }
 
+    inline int current_index() const {
+        return current_wp;
+    }
+
     /** Increment the current waypoint pointer. */
     inline void increment_current() {
        if ( current_wp < (int)route.size() - 1 ) {