Add climate selection options to set the environment and weather based on climate data. Setting the weather is not yet implemented in the code but eventually it will be.
This commit is contained in:
parent
4aff635cdb
commit
7f66257bfb
2 changed files with 37 additions and 2 deletions
|
@ -283,6 +283,11 @@
|
|||
|
||||
</config>
|
||||
|
||||
<climate>
|
||||
<weather-update type="bool" userarchive="y">false</weather-update>
|
||||
<environment-update type="bool" userarchive="y">false</environment-update>
|
||||
</climate>
|
||||
|
||||
<clouds>
|
||||
<layer n="0">
|
||||
<coverage type="string">clear</coverage>
|
||||
|
|
|
@ -88,15 +88,45 @@
|
|||
</text>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<layout>vbox</layout>
|
||||
<halign>left</halign>
|
||||
<text>
|
||||
<label> </label>
|
||||
<halign>left</halign>
|
||||
</text>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
|
||||
<checkbox>
|
||||
<label> Climate updates weather</label>
|
||||
<name>climate-update</name>
|
||||
<property>/environment/climate/weather-update</property>
|
||||
<live>true</live>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
</binding>
|
||||
</checkbox>
|
||||
|
||||
<checkbox>
|
||||
<label> Climate updates environment</label>
|
||||
<name>climate-update</name>
|
||||
<property>/environment/climate/environment-update</property>
|
||||
<live>true</live>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
</binding>
|
||||
</checkbox>
|
||||
</group>
|
||||
|
||||
<checkbox>
|
||||
<label> Set maximum snow level from METAR</label>
|
||||
<label> Set maximum snow level from weather</label>
|
||||
<name>metar-snow</name>
|
||||
<property>/environment/params/metar-updates-snow-level</property>
|
||||
<binding>
|
||||
|
|
Loading…
Reference in a new issue