Harald JOHNSEN: Add a (test) WxRadar instrument.
This commit is contained in:
parent
52a134fae6
commit
fec91079ae
4 changed files with 70 additions and 1 deletions
|
@ -127,7 +127,12 @@ file, these values will be used (they are hardcoded).
|
||||||
<name>gps</name>
|
<name>gps</name>
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</gps>
|
</gps>
|
||||||
<!-- -->
|
|
||||||
|
<wxradar>
|
||||||
|
<name>wxradar</name>
|
||||||
|
<number>0</number>
|
||||||
|
</wxradar>
|
||||||
|
|
||||||
<tacan>
|
<tacan>
|
||||||
<name>tacan</name>
|
<name>tacan</name>
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
|
|
BIN
Aircraft/Instruments/Textures/od_wxradar.rgb
Normal file
BIN
Aircraft/Instruments/Textures/od_wxradar.rgb
Normal file
Binary file not shown.
BIN
Aircraft/Instruments/Textures/wxecho.rgb
Normal file
BIN
Aircraft/Instruments/Textures/wxecho.rgb
Normal file
Binary file not shown.
64
Aircraft/Instruments/weather-radar.xml
Normal file
64
Aircraft/Instruments/weather-radar.xml
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
<!--
|
||||||
|
|
||||||
|
sample
|
||||||
|
|
||||||
|
<instrumentation>
|
||||||
|
<wxradar>
|
||||||
|
<range type="int" archive="y">32</range>
|
||||||
|
<minimized type="bool" archive="y">false</minimized>
|
||||||
|
<switch archive="y">ON</switch>
|
||||||
|
<mode archive="y">WX</mode>
|
||||||
|
<lightning type="bool" archive="y">false</lightning>
|
||||||
|
<display-mode archive="y">arc</display-mode>
|
||||||
|
</wxradar>
|
||||||
|
</instrumentation>
|
||||||
|
|
||||||
|
-->
|
||||||
|
<PropertyList>
|
||||||
|
|
||||||
|
<name>wxRadar</name>
|
||||||
|
<w-base>256</w-base>
|
||||||
|
<h-base>256</h-base>
|
||||||
|
<layers>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>background</name>
|
||||||
|
<w>256</w>
|
||||||
|
<h>256</h>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/radar_background.rgb</path>
|
||||||
|
<x1>0</x1>
|
||||||
|
<y1>0</y1>
|
||||||
|
<x2>1</x2>
|
||||||
|
<y2>1</y2>
|
||||||
|
</texture>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>data</name>
|
||||||
|
<w>256</w>
|
||||||
|
<h>256</h>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/od_wxradar.rgb</path>
|
||||||
|
<x1>0</x1>
|
||||||
|
<y1>0</y1>
|
||||||
|
<x2>1</x2>
|
||||||
|
<y2>1</y2>
|
||||||
|
</texture>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>frame</name>
|
||||||
|
<w>256</w>
|
||||||
|
<h>256</h>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/radar_frame.rgb</path>
|
||||||
|
<x1>0</x1>
|
||||||
|
<y1>0</y1>
|
||||||
|
<x2>1</x2>
|
||||||
|
<y2>1</y2>
|
||||||
|
</texture>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
</layers>
|
||||||
|
</PropertyList>
|
Loading…
Add table
Reference in a new issue