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

<PropertyList>

  <path>interior.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>interieur</object-name>
    <object-name>inttour</object-name>
    <object-name>poche</object-name>
    <object-name>renfort</object-name>
    <object-name>system</object-name>
    <object-name>manetteL</object-name>
    <object-name>manetteR</object-name>
    <object-name>intporteAG</object-name>
    <object-name>intporteAD</object-name>
    <object-name>intporteBG</object-name>
    <object-name>intporteBD</object-name>
    <object-name>intcapotG</object-name>
    <object-name>intcapotD</object-name>

    <!-- Objets transparents -->
    <object-name>intvitres</object-name>
    <!-- HDR mode -->
    <object-name>HDRintvitres</object-name>
  </animation>

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

  <effect>
    <inherits-from>../Effects/Glass/glass</inherits-from>
    <object-name>HDRintvitres</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>
    </condition>
    <object-name>HDRintvitres</object-name>
  </animation>

  <animation>
    <type>select</type>
    <condition>
      <not><property>/sim/rendering/hdr/hdr-enabled</property></not>
    </condition>
    <object-name>intvitres</object-name>
  </animation>

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

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

  <model>
    <path>Panel/Instruments/yoke/all-yokes.xml</path>
  </model>

  <model>
    <path>Panel/Instruments/throttle/all-throttles.xml</path>
  </model>

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

  <model>
    <path>Panel/Instruments/map/all-maps.xml</path>
  </model>

  <!-- Porte -->
  <animation>
    <type>pick</type>
    <object-name>intporteBG</object-name>
    <object-name>intporteBD</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>doors.crew.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intporteBG</object-name>
    <property>sim/model/door-positions/crew/position-norm</property>
    <factor> 175.0 </factor>
    <center>
      <x-m> -0.360 </x-m>
      <y-m> -0.292 </y-m>
      <z-m>  0.224 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intporteBD</object-name>
    <property>sim/model/door-positions/crew/position-norm</property>
    <factor> -175.0 </factor>
    <center>
      <x-m> -0.360 </x-m>
      <y-m>  0.292 </y-m>
      <z-m>  0.224 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>intporteAG</object-name>
    <object-name>intporteAD</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>doors.passenger.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intporteAG</object-name>
    <property>sim/model/door-positions/passenger/position-norm</property>
    <factor> 175.0 </factor>
    <center>
      <x-m> -1.227 </x-m>
      <y-m> -0.292 </y-m>
      <z-m>  0.224 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intporteAD</object-name>
    <property>sim/model/door-positions/passenger/position-norm</property>
    <factor> -175.0 </factor>
    <center>
      <x-m> -1.227 </x-m>
      <y-m>  0.292 </y-m>
      <z-m>  0.224 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>intcapotG</object-name>
    <object-name>intcapotD</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>doors.engine.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intcapotG</object-name>
    <property>sim/model/door-positions/engine/position-norm</property>
    <factor> -60.0 </factor>
    <center>
      <x-m> -2.369 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.501 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intcapotD</object-name>
    <property>sim/model/door-positions/engine/position-norm</property>
    <factor> 60.0 </factor>
    <center>
      <x-m> -2.369 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.501 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

</PropertyList>
