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>
|
||||
<number>0</number>
|
||||
</gps>
|
||||
<!-- -->
|
||||
|
||||
<wxradar>
|
||||
<name>wxradar</name>
|
||||
<number>0</number>
|
||||
</wxradar>
|
||||
|
||||
<tacan>
|
||||
<name>tacan</name>
|
||||
<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…
Reference in a new issue