<?xml version="1.0"?>

<!--
MACH indicator instrument.
Apr 27 2001
Martin Dressler dr@musicabona.cz
Modified by Ilia Pavlenko for Tupolev 154 operational speeds.
GPL
-->

<PropertyList>

 <name>Tu-154 Airspeed Indicator (Knots)</name>
 
  <w-base>128</w-base>
  <h-base>128</h-base>
   
   <layers>
    <layer>
     <name>gauge face</name>
     <texture>   
     <path>Aircraft/tu154/Panels/Instruments/Textures/mach-tu154.rgb</path>
     <x1>0.5</x1>
     <y1>0.5</y1>
     <x2>1.0</x2>
     <y2>1.0</y2>
     </texture>
     <w>126</w>
     <h>126</h>
    </layer>
    <layer>
    <name>needle</name>
   <texture>
    <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
    <x1>0.8</x1>
    <y1>0.78125</y1>
    <x2>0.8375</x2>
    <y2>1.0</y2>
   </texture>
   <w>5.5</w>
   <h>44</h>
   <transformations>
     <transformation>
      <type>rotation</type>
      <offset>220</offset>
      <property>/velocities/mach[0]</property>
      <min>0.0</min>
      <max>1.0</max>
      <scale>10</scale>
     <interpolation>
       <entry><ind> 3</ind><dep>  0</dep></entry>
       <entry><ind> 4</ind><dep>  180</dep></entry>
       <entry><ind> 5.25</ind><dep> 225</dep></entry>
       <entry><ind> 6.5</ind><dep>    270</dep></entry>
       <entry><ind> 7.75</ind><dep> 315</dep></entry>
       <entry><ind> 9</ind><dep>   0</dep></entry>
       <entry><ind> 10</ind><dep>  40</dep></entry>
       </interpolation> 
     </transformation>
    <transformation>
    <type>y-shift</type>
    <offset>16</offset>
    </transformation>
   </transformations>
  </layer> 
 
 <layer>
  <name>button</name>
  <texture>
  <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
  <x1>0.6171875</x1>
  <y1>0.2421875</y1>
  <x2>0.7890625</x2>
  <y2>0.4140625</y2>
  </texture>
  <w>14</w>
  <h>14</h>
  </layer>
  
  <layer>
   <name>glare shield</name>
   <texture>
    <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
    <x1>0.5</x1>
    <y1>0.0</y1>
    <x2>1.0</x2>
    <y2>0.5</y2>
   </texture>
  <w>128</w>
  <h>128</h>
   <transformations>
    <transformation>
     <type>x-shift</type>
     <offset>2</offset>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>-2</offset>
    </transformation>
    </transformations>
  </layer>
  </layers>
</PropertyList>

