]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/tgdb/TileCache.hxx
Merge branch 'maint' into next
[simgear.git] / simgear / scene / tgdb / TileCache.hxx
index 6e137d0ad66f67a3aeb0e9b5a240ab1a86016d28..f141507db47e9504310edbbb48e3b1c516f6bfe1 100644 (file)
@@ -30,7 +30,7 @@
 #include <simgear/math/point3d.hxx>
 #include <simgear/scene/tgdb/TileEntry.hxx>
 
-SG_USING_STD(map);
+using std::map;
 
 namespace simgear {
 
@@ -53,6 +53,8 @@ private:
     // Free a tile cache entry
     void entry_free( long cache_index );
 
+    double current_time;
+
 public:
     tile_map_iterator begin() { return tile_cache.begin(); }
     tile_map_iterator end() { return tile_cache.end(); }
@@ -122,6 +124,9 @@ public:
      * @return success/failure
      */
     bool insert_tile( simgear::TileEntry* e );
+
+    void set_current_time(double val) { current_time = val; }
+    double get_current_time() const { return current_time; }
 };
 
 }