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.)
void update_queues();
SGPropertyNode* _visibilityMeters;
+ SGPropertyChangeListener* _propListener;
+ SGPropertyNode_ptr _randomObjects;
+ SGPropertyNode_ptr _randomVegetation;
+ SGPropertyNode_ptr _maxTileRangeM;
public:
FGTileMgr();
virtual void update(double dt);
+ // update loader configuration options
+ void configChanged();
+
int schedule_tiles_at(const SGGeod& location, double rangeM);