]> git.mxchange.org Git - flightgear.git/commitdiff
Added urban area type.
authorcurt <curt>
Fri, 11 Jun 1999 00:24:23 +0000 (00:24 +0000)
committercurt <curt>
Fri, 11 Jun 1999 00:24:23 +0000 (00:24 +0000)
Tools/Construct/Main/main.cxx

index 11c124ce8c4e72f2fed70cc156f7ccef4f73a9a3..9bb417cab3634bbf5a491e6681580fe0dca2b789 100644 (file)
@@ -113,6 +113,12 @@ int load_polys( FGConstruct& c ) {
     result = actual_load_polys( poly_path, c, clipper );
     cout << "  loaded " << result << " polys" << endl;
 
+    // load urban areas
+    poly_path = c.get_work_base() + ".urban" + "/Scenery/" + base;
+    cout << "poly_path = " << poly_path << endl;
+    result = actual_load_polys( poly_path, c, clipper );
+    cout << "  loaded " << result << " polys" << endl;
+
     point2d min, max;
     min.x = c.get_bucket().get_center_lon() - 0.5 * c.get_bucket().get_width();
     min.y = c.get_bucket().get_center_lat() - 0.5 * c.get_bucket().get_height();