class Node;
}
+namespace simgear
+{
+class SGTerraSync;
+}
+
class FGTileMgr : public SGSubsystem, public simgear::ModelLoadHelper {
private:
* tile cache
*/
simgear::TileCache tile_cache;
+ simgear::SGTerraSync* _terra_sync;
// Update the various queues maintained by the tilemagr (private
// internal function, do not call directly.)
SGPropertyChangeListener* _propListener;
SGPropertyNode_ptr _randomObjects;
SGPropertyNode_ptr _randomVegetation;
+ SGPropertyNode_ptr _maxTileRangeM;
public:
FGTileMgr();
bool schedule_scenery(const SGGeod& position, double range_m, double duration=0.0);
// Load a model for a tile
- osg::Node* loadTileModel(const string& modelPath, bool cacheModel);
+ osg::Node* loadTileModel(const std::string& modelPath, bool cacheModel);
// Returns true if tiles around current view position have been loaded
bool isSceneryLoaded();