Cool, Ralf added code to generate stopways to flightgear! But wait, the grass strip around the stopways is too big. 1/0.3048 times to big, to be exact:
http://www.jentronics.com/fgfs/temp/genapts-ante.jpg http://www.jentronics.com/fgfs/temp/genapts-current.jpg http://www.jentronics.com/fgfs/temp/genapts-post.jpg Also, the ordering of the stopways was inconsistent. Originally a stopway on runway 17 would have an asphalt strip sticking out the south end of the runway and a grass strip sticking out the north end. Now both strips stick out the south end (stopping end for 14). diff --git a/src/Airports/GenAirports/build.cxx b/src/Airports/GenAirports/build.cxx index 8ac0c6e..9702a5f 100644 --- a/src/Airports/GenAirports/build.cxx +++ b/src/Airports/GenAirports/build.cxx @@ -337,10 +337,10 @@ static void build_runway( const TGRunway& rwy_info, safe_base = gen_runway_area_w_extend( rwy_info, 0.0, 40.0, 0.0, 0.0, 40.0 ); } else { - base = gen_runway_area_w_extend( rwy_info, 0.0, 20.0, -rwy_info.stopway1, -rwy_info.stopway2, 20.0 ); + base = gen_runway_area_w_extend( rwy_info, 0.0, 20.0, -rwy_info.stopway2* SG_FEET_TO_METER, -rwy_info.stopway1* SG_FEET_TO_METER, 20.0 ); // also clear a safe area around the runway safe_base - = gen_runway_area_w_extend( rwy_info, 0.0, 180.0, -rwy_info.stopway2, -rwy_info.stopway2, 50.0 ); + = gen_runway_area_w_extend( rwy_info, 0.0, 180.0, -rwy_info.stopway2* SG_FEET_TO_METER, -rwy_info.stopway1* SG_FEET_TO_METER, 50.0 ); } *apt_clearing = tgPolygonUnion(safe_base, *apt_clearing); ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel