<?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>inttournez</object-name>
    <object-name>inttemp01</object-name>
    <object-name>inttourvitres</object-name>
    <object-name>inttourelle</object-name>
    <object-name>inttourelletoit</object-name>
    <object-name>planchet</object-name>
    <object-name>meubles</object-name>

    <!-- Objets transparents -->
    <object-name>intvitres</object-name>
    <object-name>intvitreavant</object-name>
    <object-name>intvitrenez</object-name>
    <object-name>intvitretourelle</object-name>
    <object-name>intvitretourelletoit</object-name>
    <!-- HDR mode -->
    <object-name>HDRintvitres</object-name>
    <object-name>HDRintvitreavant</object-name>
    <object-name>HDRintvitrenez</object-name>
    <object-name>HDRintvitretourelle</object-name>
    <object-name>HDRintvitretourelletoit</object-name>
  </animation>

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

  <effect>
    <inherits-from>../Effects/Glass/glass</inherits-from>
    <object-name>HDRintvitres</object-name>
    <object-name>HDRintvitreavant</object-name>
    <object-name>HDRintvitrenez</object-name>
    <object-name>HDRintvitretourelle</object-name>
    <object-name>HDRintvitretourelletoit</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>HDRintvitres</object-name>
    <object-name>HDRintvitreavant</object-name>
    <object-name>HDRintvitrenez</object-name>
    <object-name>HDRintvitretourelle</object-name>
    <object-name>HDRintvitretourelletoit</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>intvitres</object-name>
    <object-name>intvitreavant</object-name>
    <object-name>intvitrenez</object-name>
    <object-name>intvitretourelle</object-name>
    <object-name>intvitretourelletoit</object-name>
  </animation>

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

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

  <!-- R1155 -->
  <model>
    <path>Panel/Instruments/r1155/r1155.xml</path>
    <offsets>
      <x-m> -5.663 </x-m>
      <y-m> -0.329 </y-m>
      <z-m>  0.664 </z-m>
    </offsets>
  </model>

  <!-- T1154 -->
  <model>
    <path>Panel/Instruments/t1154/t1154.xml</path>
    <offsets>
      <x-m> -5.663 </x-m>
      <y-m> -0.328 </y-m>
      <z-m>  0.838 </z-m>
    </offsets>
  </model>

  <!-- Roof noze -->
  <animation>
    <name>IntRoofTurret</name>
    <object-name>inttourelletoit</object-name>
    <object-name>intvitretourelletoit</object-name>
    <object-name>HDRintvitretourelletoit</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>IntRoofTurret</object-name>
    <!-- <property>sim/model/turret[0]/heading</property> -->
    <property>sim/multiplay/generic/float[15]</property>
    <center>
      <x-m> 3.20523 </x-m>
      <y-m> 0.00000 </y-m>
      <z-m> 1.45851 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y>  0 </y>
      <z> -1 </z>
    </axis>
  </animation>

  <!-- Turret noze -->
  <animation>
    <name>IntNoseTurret</name>
    <object-name>intnozeturret</object-name>
    <object-name>intvitreavant</object-name>
    <object-name>HDRintvitreavant</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>IntNoseTurret</object-name>
    <!-- <property>sim/model/turret[1]/heading</property> -->
    <property>sim/multiplay/generic/float[17]</property>
    <center>
      <x-m> -9.39817 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m>  0.27599 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y>  0 </y>
      <z> -1 </z>
    </axis>
  </animation>

  <!-- Tail noze -->
  <animation>
    <name>IntTailTurret</name>
    <object-name>inttourelle</object-name>
    <object-name>intvitretourelle</object-name>
    <object-name>HDRintvitretourelle</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>IntTailTurret</object-name>
    <!-- <property>sim/model/turret[2]/heading</property> -->
    <property>sim/multiplay/generic/float[19]</property>
    <center>
      <x-m> 10.00270 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m>  0.23151 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y>  0 </y>
      <z> -1 </z>
    </axis>
  </animation>

</PropertyList>
