]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/tilemgr.hxx
Allow using the system version of flite and the HTS engine
[flightgear.git] / src / Scenery / tilemgr.hxx
index 2c676f73ee8c06c73d6f945466db826fa3ea1d42..6931d4acca956d3145d61b0dcc60f346534f6e1e 100644 (file)
@@ -29,7 +29,6 @@
 #include <simgear/structure/subsystem_mgr.hxx>
 #include <simgear/bucket/newbucket.hxx>
 #include "SceneryPager.hxx"
-#include "tileentry.hxx"
 #include "tilecache.hxx"
 
 namespace osg
@@ -69,9 +68,6 @@ private:
     SGBucket pending;
     osg::ref_ptr<simgear::SGReaderWriterOptions> _options;
 
-    // current longitude latitude
-    double longitude;
-    double latitude;
     double scheduled_visibility;
 
     /**
@@ -79,7 +75,11 @@ private:
      */
     TileCache tile_cache;
     simgear::SGTerraSync* _terra_sync;
-
+    
+    class TileManagerListener;
+    friend class TileManagerListener;
+    TileManagerListener* _listener;
+    
     // update various queues internal queues
     void update_queues(bool& isDownloadingScenery);
 
@@ -110,6 +110,10 @@ public:
 
     // Returns true if tiles around current view position have been loaded
     bool isSceneryLoaded();
+    
+    // notify the tile manahger the material library was reloaded,
+    // so it can pass this through to its options object
+    void materialLibChanged();
 };