From 3b3e09d992acd365923544efa3d0d2e83d3499e1 Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 11 Jun 1999 00:24:23 +0000 Subject: [PATCH] Added urban area type. --- Tools/Construct/Main/main.cxx | 6 ++++++ 1 file changed, 6 insertions(+) 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(); -- 2.39.5