]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/tilemgr.hxx
Lots of changes to the ATC/AI system for initial revision of random AI GA VFR traffic
[flightgear.git] / src / Scenery / tilemgr.hxx
index 990a6fd05fc8fd5b0c7d7f388d298199e5cccc1d..f0d3969cbace649ddb3c3ef36f544d003ee9f9d0 100644 (file)
@@ -77,14 +77,11 @@ private:
     void initialize_queue();
 
     // schedule a tile for loading
-    void sched_tile( const SGBucket& b );
+    void sched_tile( const SGBucket& b, const bool is_inner_ring );
 
     // schedule a needed buckets for loading
     void schedule_needed(double visibility_meters, SGBucket curr_bucket);
 
-    // see comment at prep_ssg_nodes()
-    void prep_ssg_node( int idx );
-       
     FGHitList hit_list;
 
     SGBucket previous_bucket;
@@ -100,8 +97,7 @@ private:
     // current longitude latitude
     double longitude;
     double latitude;
-    double last_longitude;
-    double last_latitude;
+    double altitude_m;
 
     /**
      * tile cache
@@ -166,7 +162,8 @@ public:
     int update( SGLocation *location, double visibility_meters,
                 sgdVec3 abs_pos_vector );
 
-    int updateCurrentElevAtPos(sgdVec3 abs_pos_vector, Point3D center );
+    int updateCurrentElevAtPos( sgdVec3 abs_pos_vector, double altitude_m,
+                                Point3D center );
 
     // Determine scenery altitude.  Normally this just happens when we
     // render the scene, but we'd also like to be able to do this