Cancel specular highlights due to sun at night
[fg:toms-fgdata.git] / Environment / layer-speed-change.xml
1 <?xml version="1.0" ?>
2 <!--
3  This file is part of FlightGear, the free flight simulator
4  http://www.flightgear.org/
5
6  Copyright (C) 2009 Torsten Dreyer, Torsten (at) t3r _dot_ de
7
8  This program is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License as
10  published by the Free Software Foundation; either version 2 of the
11  License, or (at your option) any later version.
12
13  This program is distributed in the hope that it will be useful, but
14  WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  General Public License for more details.
17 -->
18 <PropertyList>
19   <name>MetarController:layer:wind-speed-kt</name>
20   <type>gain</type>
21   <gain>1.0</gain>
22   <enable>
23     <condition>
24       <property>/environment/metar/valid</property>
25       <property>/environment/params/metar-updates-environment</property>
26     </condition>
27   </enable>
28   <input>
29     <expression>
30       <product>
31         <property>/environment/config/boundary/entry[0]/wind-speed-kt</property>
32         <sum>
33           <property>/environment/config/boundary/entry[1]/wind-speed-change-rel</property>
34           <value>1.0</value>
35         </sum>
36       </product>
37     </expression>
38   </input>
39   <output>/environment/config/boundary/entry[1]/wind-speed-kt</output>
40 </PropertyList>