From: curt Date: Fri, 11 Jun 1999 00:24:23 +0000 (+0000) Subject: Added urban area type. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3b3e09d992acd365923544efa3d0d2e83d3499e1;p=flightgear.git Added urban area type. --- diff --git a/Tools/Construct/Main/main.cxx b/Tools/Construct/Main/main.cxx index 11c124ce8..9bb417cab 100644 --- a/Tools/Construct/Main/main.cxx +++ b/Tools/Construct/Main/main.cxx @@ -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();