From 0f690ff6216e78ae34fc47cc8221ad4463d92289 Mon Sep 17 00:00:00 2001 From: Christian Schmitt Date: Sun, 24 Jun 2012 17:42:19 +0200 Subject: [PATCH] runway/taxiway: add dry lakebed texture --- src/Airports/GenAirports850/runway.cxx | 15 ++++++--------- src/Airports/GenAirports850/taxiway.cxx | 2 +- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/Airports/GenAirports850/runway.cxx b/src/Airports/GenAirports850/runway.cxx index 92517f84..718191b4 100644 --- a/src/Airports/GenAirports850/runway.cxx +++ b/src/Airports/GenAirports850/runway.cxx @@ -103,9 +103,9 @@ int Runway::BuildBtg( superpoly_list* rwy_polys, texparams_list* texparams, supe } else if ( rwy.surface == 12 /* Dry Lakebed */ ) { - material_prefix = "dirt_rwy"; + material_prefix = "lakebed_taxiway"; } - else if ( rwy.surface == 13 /* Water runway (buoy's?) */ ) + else if ( rwy.surface == 13 /* Water runway (buoys) */ ) { // water } @@ -128,7 +128,7 @@ int Runway::BuildBtg( superpoly_list* rwy_polys, texparams_list* texparams, supe { case 1: // asphalt: case 2: // concrete - SG_LOG( SG_GENERAL, SG_DEBUG, "Build Runway: asphalt or concrete" << rwy.surface); + SG_LOG( SG_GENERAL, SG_DEBUG, "Build Runway: asphalt or concrete " << rwy.surface); gen_rwy( rwy_polys, texparams, accum, slivers, make_shapefiles ); gen_runway_lights( rwy_lights ); break; @@ -136,15 +136,12 @@ int Runway::BuildBtg( superpoly_list* rwy_polys, texparams_list* texparams, supe case 3: // Grass case 4: // Dirt case 5: // Gravel - SG_LOG( SG_GENERAL, SG_DEBUG, "Build Runway: Turf, Dirt or Gravel" << rwy.surface ); + case 12: // dry lakebed + SG_LOG( SG_GENERAL, SG_DEBUG, "Build Runway: Grass, Dirt, Gravel or Dry Lakebed " << rwy.surface ); gen_simple_rwy( rwy_polys, texparams, accum, slivers ); gen_runway_lights( rwy_lights ); break; - case 12: // dry lakebed - SG_LOG( SG_GENERAL, SG_DEBUG, "Build Runway: Dry Lakebed"); - break; - case 13: // water SG_LOG( SG_GENERAL, SG_DEBUG, "Build Runway: Water"); break; @@ -158,7 +155,7 @@ int Runway::BuildBtg( superpoly_list* rwy_polys, texparams_list* texparams, supe break; default: // unknown - SG_LOG( SG_GENERAL, SG_DEBUG, "Build Runway: unknown" << rwy.surface); + SG_LOG( SG_GENERAL, SG_DEBUG, "Build Runway: unknown: " << rwy.surface); break; } diff --git a/src/Airports/GenAirports850/taxiway.cxx b/src/Airports/GenAirports850/taxiway.cxx index 71b413ac..7c696c03 100644 --- a/src/Airports/GenAirports850/taxiway.cxx +++ b/src/Airports/GenAirports850/taxiway.cxx @@ -99,7 +99,7 @@ int Taxiway::BuildBtg( superpoly_list* rwy_polys, texparams_list* texparams, sup } else if ( surface == 12 /* Dry Lakebed */ ) { - material = "dirt_rwy"; + material = "lakebed_taxiway"; } else if ( surface == 13 /* Water runway (buoy's?) */ ) {