<?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>inttourverriere</object-name>
    <object-name>inttourporte</object-name>
    <object-name>intintverriere</object-name>
    <object-name>intporte</object-name>
    <object-name>planchet</object-name>
    <object-name>intbagage.leftdoor</object-name>
    <object-name>intbagage.rightdoor</object-name>

    <!-- Objets transparents -->
    <object-name>intvitres</object-name>
    <object-name>intverriere</object-name>
    <object-name>intvitreporte</object-name>
    <!-- HDR mode -->
    <object-name>HDRintvitres</object-name>
    <object-name>HDRintverriere</object-name>
    <object-name>HDRintvitreporte</object-name>
  </animation>

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

  <effect>
    <inherits-from>../Effects/Glass/blueglass</inherits-from>
    <object-name>HDRintverriere</object-name>
    <object-name>HDRintvitres</object-name>
    <object-name>HDRintvitreporte</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>HDRintverriere</object-name>
    <object-name>HDRintvitres</object-name>
    <object-name>HDRintvitreporte</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>intverriere</object-name>
    <object-name>intvitres</object-name>
    <object-name>intvitreporte</object-name>
  </animation>

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

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

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

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

  <model>
    <path>bagages/all-suitcases.xml</path>
  </model>

  <!-- Int Canopy -->
  <animation>
    <type>rotate</type>
    <object-name>inttourverriere</object-name>
    <object-name>intintverriere</object-name>
    <object-name>intverriere</object-name>
    <object-name>HDRintverriere</object-name>
    <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <factor> 45 </factor>
    <center>
      <x-m> -2.337 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.324 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intporte</object-name>
    <object-name>inttourporte</object-name>
    <object-name>intvitreporte</object-name>
    <object-name>HDRintvitreporte</object-name>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> -95 </factor>
    <axis>
      <x1-m> -0.796 </x1-m>
      <y1-m> -0.112 </y1-m>
      <z1-m>  0.727 </z1-m>
      <x2-m> -0.481 </x2-m>
      <y2-m> -0.112 </y2-m>
      <z2-m>  0.698 </z2-m>
    </axis>
  </animation>

  <!-- Noze doors -->
  <animation>
    <type>rotate</type>
    <object-name>intbagage.leftdoor</object-name>
    <!-- <property>sim/model/door-positions/leftbagage/position-norm</property> -->
    <property>sim/multiplay/generic/float[7]</property>
    <factor> -100 </factor>
    <axis>
      <x1-m> -3.705 </x1-m>
      <y1-m> -0.0610 </y1-m>
      <z1-m>  0.0601 </z1-m>
      <x2-m> -2.8638 </x2-m>
      <y2-m> -0.0917 </y2-m>
      <z2-m>  0.2437 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intbagage.rightdoor</object-name>
    <!-- <property>sim/model/door-positions/rightbagage/position-norm</property> -->
    <property>sim/multiplay/generic/float[8]</property>
    <factor> 100 </factor>
    <axis>
      <x1-m> -3.7050 </x1-m>
      <y1-m>  0.0610 </y1-m>
      <z1-m>  0.0601 </z1-m>
      <x2-m> -2.8638 </x2-m>
      <y2-m>  0.0917 </y2-m>
      <z2-m>  0.2437 </z2-m>
    </axis>
  </animation>

</PropertyList>
