Debian Codegraph @

Aircraft/Instruments/brakes.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!--
3 A simple indicator lamp. Used here as a brake light.
4 John Check <[email protected]>
5 -->
6
7 <PropertyList>
8 <name>Brake</name>
9 <w-base>64</w-base>
10 <h-base>26</h-base>
11
12 <layers>
13 <!-- The "bulb" -->
14 <layer>
15 <name>Brake light</name>
16 <type>switch</type>
17 <layer>
18 <condition>
19 <property>/controls/gear/brake-parking</property> <!-- parking brake -->
20 </condition>
21 <name>on</name>
22 <texture>
23 <path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
24 <x1>0.25</x1>
25 <y1>0.0</y1>
26 <x2>0.5</x2>
27 <y2>0.095</y2>
28 </texture>
29 <w>64</w>
30 <h>26</h>
31 </layer>
32 <layer>
33 <name>off</name>
34 <texture>
35 <path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
36 <x1>0.0</x1>
37 <y1>0.0</y1>
38 <x2>0.25</x2>
39 <y2>0.095</y2>
40 </texture>
41 <w>64</w>
42 <h>26</h>
43 </layer>
44 </layer>
45 <!-- translucent lens -->
46 <layer>
47 <name>lens</name>
48 <texture>
49 <path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
50 <x1>0.495</x1>
51 <y1>0.0875</y1>
52 <x2>0.75</x2>
53 <y2>0.1975</y2>
54 </texture>
55 <transformations>
56 <transformation>
57 <type>y-shift</type>
58 <offset>-2</offset>
59 </transformation>
60 </transformations>
61 <w>64</w>
62 <h>26</h>
63 </layer>
64 </layers>
65
66 <actions>
67 <action>
68 <desc>brake</desc>
69 <button>0</button>
70 <x>-32</x>
71 <y>-13</y>
72 <w>64</w>
73 <h>26</h>
74 <binding>
75 <command>property-toggle</command>
76 <property>/controls/gear/brake-parking</property>
77 </binding>
78 </action>
79 </actions>
80 </PropertyList>