1
0
Fork 0

runway/taxiway: add dry lakebed texture

This commit is contained in:
Christian Schmitt 2012-06-24 17:42:19 +02:00
parent c31247f51a
commit 0f690ff621
2 changed files with 7 additions and 10 deletions

View file

@ -103,9 +103,9 @@ int Runway::BuildBtg( superpoly_list* rwy_polys, texparams_list* texparams, supe
} }
else if ( rwy.surface == 12 /* Dry Lakebed */ ) 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 // water
} }
@ -136,15 +136,12 @@ int Runway::BuildBtg( superpoly_list* rwy_polys, texparams_list* texparams, supe
case 3: // Grass case 3: // Grass
case 4: // Dirt case 4: // Dirt
case 5: // Gravel 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_simple_rwy( rwy_polys, texparams, accum, slivers );
gen_runway_lights( rwy_lights ); gen_runway_lights( rwy_lights );
break; break;
case 12: // dry lakebed
SG_LOG( SG_GENERAL, SG_DEBUG, "Build Runway: Dry Lakebed");
break;
case 13: // water case 13: // water
SG_LOG( SG_GENERAL, SG_DEBUG, "Build Runway: Water"); SG_LOG( SG_GENERAL, SG_DEBUG, "Build Runway: Water");
break; break;
@ -158,7 +155,7 @@ int Runway::BuildBtg( superpoly_list* rwy_polys, texparams_list* texparams, supe
break; break;
default: // unknown 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; break;
} }

View file

@ -99,7 +99,7 @@ int Taxiway::BuildBtg( superpoly_list* rwy_polys, texparams_list* texparams, sup
} }
else if ( surface == 12 /* Dry Lakebed */ ) else if ( surface == 12 /* Dry Lakebed */ )
{ {
material = "dirt_rwy"; material = "lakebed_taxiway";
} }
else if ( surface == 13 /* Water runway (buoy's?) */ ) else if ( surface == 13 /* Water runway (buoy's?) */ )
{ {