1
0
Fork 0

Distance attenuation patch from Erik Hofman:

It adds a command line options to enable/disbale distance attenuation
using a property rather than using a #define inside the code. It also
adds a small change for systems that don't support the OpenGL extension,
so that the lights *do* fade away as they get furher away but they don't
get smaller in size.
This commit is contained in:
david 2002-12-30 21:52:50 +00:00
parent f051bfcc49
commit 77fa7b108f
2 changed files with 12 additions and 0 deletions

View file

@ -162,6 +162,8 @@
<fog-disable-desc>Disable fog/haze</fog-disable-desc>
<fog-fastest-desc>Enable fastest fog/haze</fog-fastest-desc>
<fog-nicest-desc>Enable nicest fog/haze</fog-nicest-desc>
<disable-distance-attenuation>Disable runway light distance attenuation</disable-distance-attenuation>
<enable-distance-attenuation>Enable runway light distance attenuation</enable-distance-attenuation>
<enable-clouds-desc>Enable 2D (flat) cloud layers</enable-clouds-desc>
<disable-clouds-desc>Disable 2D (flat) cloud layers</disable-clouds-desc>
<enable-clouds3d-desc>Enable 3D (volumetric) cloud layers</enable-clouds3d-desc>

View file

@ -434,6 +434,16 @@
<description>strings/fog-nicest-desc</description>
</option>
<option>
<name>disable-distance-attenuation</name>
<description>strings/disable-distance-attenuation</description>
</option>
<option>
<name>enable-distance-attenuation</name>
<description>strings/enable-distance-attenuation</description>
</option>
<option>
<name>enable-clouds</name>
<description>strings/enable-clouds-desc</description>