<?xml version="1.0" encoding="ISO-8859-1"?>

<PropertyList>

  <path>interior.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>YokeL</object-name>
    <object-name>LBL1</object-name>
    <object-name>YokeR</object-name>
    <object-name>LBL2</object-name>
    <object-name>EngLever01</object-name>
    <object-name>EngLever02</object-name>
    <object-name>EngLever03</object-name>
    <object-name>EngLever04</object-name>
    <object-name>EngLever05</object-name>
    <object-name>EngLever06</object-name>

    <!-- Transparence -->
    <object-name>intGlass</object-name>
    <object-name>intGlass2</object-name>
    <object-name>intGlass3</object-name>
    <!-- HDR mode -->
    <object-name>HDRintGlass</object-name>
    <object-name>HDRintGlass2</object-name>
    <object-name>HDRintGlass3</object-name>
  </animation>

  <!-- working for Compositor -->
  <effect>
    <inherits-from>../Effects/Glass/glassrain</inherits-from>
    <object-name>intGlass</object-name>
    <object-name>intGlass2</object-name>
    <object-name>intGlass3</object-name>
  </effect>

  <effect>
    <inherits-from>../Effects/Glass/glass</inherits-from>
    <object-name>HDRintGlass</object-name>
    <object-name>HDRintGlass2</object-name>
    <object-name>HDRintGlass3</object-name>
  </effect>

  <!-- Sélection des vitres en fonction de HDR ou pas -->
  <animation>
    <type>select</type>
    <condition>
      <!-- <property>sim/rendering/hdr/hdr-enabled</property> -->
      <property>sim/multiplay/generic/bool[2]</property>
    </condition>
    <object-name>HDRintGlass</object-name>
    <object-name>HDRintGlass2</object-name>
    <object-name>HDRintGlass3</object-name>
  </animation>

  <animation>
    <type>select</type>
    <condition>
      <!-- <not><property>sim/rendering/hdr/hdr-enabled</property></not> -->
      <not><property>sim/multiplay/generic/bool[2]</property></not>
    </condition>
    <object-name>intGlass</object-name>
    <object-name>intGlass2</object-name>
    <object-name>intGlass3</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intGlass</object-name>
    <object-name>HDRintGlass</object-name>
    <!-- <property>surface-positions/wing-fold-pos-norm</property>-->
    <property>sim/multiplay/generic/float[30]</property>
    <factor> 9.39 </factor>
    <center>
      <x-m> -23.521 </x-m>
      <y-m>   0.000 </y-m>
      <z-m>   4.739 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <model>
    <path>Panel/all-panel.xml</path>
  </model>

  <model>
    <path>../Pilot/all-pilots.xml</path>
  </model>

  <model>
    <path>Seats/all-seats.xml</path>
  </model>

  <!-- Yokes -->
  <animation>
    <type>rotate</type>
    <object-name>YokeL</object-name>
    <property>controls/flight/aileron</property>
    <factor> -40 </factor>
    <center>
      <x-m> -23.703 </x-m>
      <y-m>  -0.506 </y-m>
      <z-m>   3.926 </z-m>
    </center>
    <axis>
      <x> 0.60 </x>
      <y> 0.00 </y>
      <z> 0.30 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>YokeR</object-name>
    <property>controls/flight/aileron</property>
    <factor> -40 </factor>
    <center>
      <x-m> -23.703 </x-m>
      <y-m>   0.506 </y-m>
      <z-m>   3.926 </z-m>
    </center>
    <axis>
      <x> 0.60 </x>
      <y> 0.00 </y>
      <z> 0.30 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>YokeL</object-name>
    <object-name>LBL1</object-name>
    <property>controls/flight/elevator</property>
    <factor> -0.01 </factor>
    <center>
      <x-m> -23.703 </x-m>
      <y-m>  -0.506 </y-m>
      <z-m>   3.926 </z-m>
    </center>
    <axis>
      <x> 0.60 </x>
      <y> 0.00 </y>
      <z> 0.30 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>YokeR</object-name>
    <object-name>LBL2</object-name>
    <property>controls/flight/elevator</property>
    <factor> -0.01 </factor>
    <center>
      <x-m> -23.703 </x-m>
      <y-m>   0.506 </y-m>
      <z-m>   3.926 </z-m>
    </center>
    <axis>
      <x> 0.60 </x>
      <y> 0.00 </y>
      <z> 0.30 </z>
    </axis>
  </animation>

  <!-- EngLevers -->
  <animation>
    <type>rotate</type>
    <object-name>EngLever01</object-name>
    <property>controls/engines/engine[0]/throttle</property>
    <factor>-51.99</factor>
    <center>
      <x-m> -23.721 </x-m>
      <y-m>   0.000 </y-m>
      <z-m>   3.497 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>EngLever02</object-name>
    <property>controls/engines/engine[1]/throttle</property>
    <factor>-51.99</factor>
    <center>
      <x-m> -23.721 </x-m>
      <y-m>   0.000 </y-m>
      <z-m>   3.497 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>EngLever03</object-name>
    <property>controls/engines/engine[2]/throttle</property>
    <factor>-51.99</factor>
    <center>
      <x-m> -23.721 </x-m>
      <y-m>   0.000 </y-m>
      <z-m>   3.497 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>EngLever04</object-name>
    <property>controls/engines/engine[3]/throttle</property>
    <factor>-51.99</factor>
    <center>
      <x-m> -23.721 </x-m>
      <y-m>   0.000 </y-m>
      <z-m>   3.497 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>EngLever05</object-name>
    <property>controls/engines/engine[4]/throttle</property>
    <factor>-51.99</factor>
    <center>
      <x-m> -23.721 </x-m>
      <y-m>   0.000 </y-m>
      <z-m>   3.497 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>EngLever06</object-name>
    <property>controls/engines/engine[5]/throttle</property>
    <factor>-51.99</factor>
    <center>
      <x-m> -23.721 </x-m>
      <y-m>   0.000 </y-m>
      <z-m>   3.497 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- flap lever -->
  <animation>
    <type>rotate</type>
    <object-name>FlapLever</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor>-40.0</factor>
    <center>
      <x-m> -23.449 </x-m>
      <y-m>  -0.154 </y-m>
      <z-m>   3.593 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

</PropertyList>
