1
0
Fork 0

make HUD colors settable. The number of color groups isn't fixed. Add as

many as you like, but not at runtime. Some aircraft may especially want to
change the first ("day") color, as the predefined green is IMHO a bit dark
and should possibly be more white-ish.
This commit is contained in:
mfranz 2006-06-07 17:57:12 +00:00
parent c5246e9495
commit 9869235aa4

View file

@ -173,11 +173,25 @@ Started September 2000 by David Megginson, david@megginson.com
<path>Huds/Default/default.xml</path>
<visibility type="bool">false</visibility>
<antialiased type="bool">false</antialiased>
<alpha type="float">0.67</alpha>
<font>
<name type="string">Helvetica.txf</name>
<size type="float">10</size>
</font>
<alpha type="float">0.67</alpha>
<brightness type="float">0.75</brightness>
<current-color type="int">0</current-color>
<colors>
<color n="0"><!-- day -->
<red type="float">0.1</red>
<green type="float">0.9</green>
<blue type="float">0.1</blue>
</color>
<color n="1"><!-- night -->
<red type="float">0.9</red>
<green type="float">0.1</green>
<blue type="float">0.1</blue>
</color>
</colors>
</hud>
<systems>
<path>Aircraft/Generic/generic-systems.xml</path>