Support new line features
This commit is contained in:
parent
c6ef571612
commit
45effdba78
1 changed files with 13 additions and 1 deletions
|
@ -764,7 +764,19 @@ int LinearFeature::Finish( bool closed, unsigned int idx )
|
|||
cur_light_contour.SetType( "RWY_RED_LIGHTS" );
|
||||
light_delta = 10.0f;
|
||||
break;
|
||||
|
||||
|
||||
case LF_UNIDIR_GREEN:
|
||||
cur_light_contour.SetType( "RWY_GREEN_LIGHTS" );
|
||||
light_delta = 10.0f;
|
||||
break;
|
||||
|
||||
case LF_UNIDIR_GREEN_AMBER:
|
||||
cur_light_contour.SetType( "RWY_GREEN_LIGHTS" );
|
||||
alt_light_contour.SetType( "RWY_YELLOW_LIGHTS" );
|
||||
light_delta = 10.0f;
|
||||
alternate = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
// catch unknown lighting type. Allows TerraGear to exit cleanly when it comes across new light features 107 and 108
|
||||
TG_LOG(SG_GENERAL, SG_ALERT, "LinearFeature::Finish: unknown lighting feature " << lights[i]->type );
|
||||
|
|
Loading…
Add table
Reference in a new issue