Packice overlay and water color variations for high quality water shader in Atmospher...
[fg:toms-fgdata.git] / gui / dialogs / environment-settings.xml
1 <?xml version="1.0"?>
2
3 <PropertyList>
4   <name>environment-settings</name>
5   <modal>false</modal>
6   <resizable>false</resizable>
7   <layout>vbox</layout>
8   <default-padding>3</default-padding>
9
10   <!-- Title bar with close button -->
11   <group>
12     <layout>hbox</layout>
13     <default-padding>1</default-padding>
14
15     <empty>
16       <stretch>true</stretch>
17     </empty>
18
19     <text>
20       <label>Environment Settings</label>
21     </text>
22
23     <empty>
24       <stretch>true</stretch>
25     </empty>
26
27     <button>
28       <legend/>
29       <key>Esc</key>
30       <pref-width>16</pref-width>
31       <pref-height>16</pref-height>
32       <border>2</border>
33       <binding>
34         <command>dialog-close</command>
35       </binding>
36     </button>
37   </group>
38
39   <hrule/>
40
41   <group>
42     <layout>table</layout>
43     
44     <text>
45       <row>0</row>
46       <col>0</col>
47       <label>Ground textures:</label>
48       <halign>right</halign>
49     </text>
50     <combo>
51       <row>0</row>
52       <col>1</col>
53       <name>season</name>
54       <halign>left</halign>
55       <live>true</live>
56       <property>/sim/startup/season</property>
57       <value>summer</value>
58       <value>winter</value>
59       <binding>
60         <command>dialog-apply</command>
61         <object-name>season</object-name>
62       </binding>
63     </combo>
64
65     <button>
66       <row>0</row>
67       <col>2</col>
68       <legend>Reload Scenery</legend>
69       <binding>
70         <command>reinit</command>
71         <subsystem>tile-manager</subsystem>
72       </binding>
73     </button>
74     
75   </group>
76     
77   <hrule/>
78   
79     
80   <group>
81     <layout>table</layout>
82     
83     <text>
84       <row>0</row>
85       <col>0</col>
86       <colspan>4</colspan>
87       <halign>left</halign>
88       <label>Ground conditions (requires shaders effects)</label>
89     </text>
90     
91     <checkbox>
92       <row>1</row>
93       <col>0</col>
94       <colspan>4</colspan>
95       <halign>left</halign>
96       <label>Set maximum snow level from METAR</label>
97       <name>metar-snow</name>
98       <property>/environment/params/metar-updates-snow-level</property>
99       <binding>
100         <command>dialog-apply</command>
101         <object-name>metar-snow</object-name>
102       </binding>
103     </checkbox>
104     
105     <text>
106       <label>Snow line</label>
107       <halign>left</halign>
108       <row>2</row>
109       <col>0</col>
110     </text>
111     
112     <text>
113       <label>-425m</label>
114       <halign>right</halign>
115       <row>2</row>
116       <col>1</col>
117     </text>
118         
119     <slider>
120       <name>snow-level</name>
121       <row>2</row>
122       <col>2</col>
123       <min>-425.0</min>
124       <max>7500.0</max>
125       <live>true</live>
126       <property>/environment/snow-level-m</property>
127       <binding>
128         <command>dialog-apply</command>
129         <object-name>snow-level</object-name>
130       </binding>
131     </slider>
132
133     <text>
134       <label>7500m</label>
135       <halign>left</halign>
136       <row>2</row>
137       <col>3</col>
138     </text>
139     
140     <text>
141       <row>2</row>
142       <col>4</col>
143       <label>12345678</label>
144       <format>%.fm</format>
145       <live>true</live>
146       <property>/environment/snow-level-m</property>
147     </text>    
148     
149
150    <text>
151       <enable>
152        <property>/sim/rendering/shaders/skydome</property>
153       </enable>
154       <label>Snow thickness</label>
155       <halign>left</halign>
156       <row>3</row>
157       <col>0</col>
158     </text>
159     
160     <text>
161       <enable>
162        <property>/sim/rendering/shaders/skydome</property>
163       </enable>
164       <label>thin</label>
165       <halign>right</halign>
166       <row>3</row>
167       <col>1</col>
168     </text>
169         
170     <slider>
171       <enable>
172        <property>/sim/rendering/shaders/skydome</property>
173       </enable>
174       <name>snow-thickness</name>
175       <row>3</row>
176       <col>2</col>
177       <min>0.0</min>
178       <max>0.6</max>
179       <live>true</live>
180       <property>/environment/surface/snow-thickness-factor</property>
181       <binding>
182         <command>dialog-apply</command>
183         <object-name>snow-thickness</object-name>
184       </binding>
185     </slider>
186
187     <text>
188       <enable>
189        <property>/sim/rendering/shaders/skydome</property>
190       </enable>
191       <label>thick</label>
192       <halign>left</halign>
193       <row>3</row>
194       <col>3</col>
195     </text>
196
197
198    <text>
199     <enable>
200      <property>/sim/rendering/shaders/skydome</property>
201      </enable>
202      <label>Ice cover</label>
203      <halign>left</halign>
204      <row>4</row>
205      <col>0</col>
206     </text>
207     
208     <text>
209      <enable>
210       <property>/sim/rendering/shaders/skydome</property> 
211      </enable>
212      <label>none</label>
213      <halign>right</halign>
214      <row>4</row>
215      <col>1</col>
216     </text>
217         
218     <slider>
219      <enable>
220       <property>/sim/rendering/shaders/skydome</property>
221      </enable>
222      <name>ice-cover</name>
223      <row>4</row>
224      <col>2</col>
225      <min>0.0</min>
226      <max>1.0</max>
227      <live>true</live>
228      <property>/environment/sea/surface/ice-cover</property>
229      <binding>
230        <command>dialog-apply</command>
231        <object-name>ice-cover</object-name>
232      </binding>
233     </slider>
234
235     <text>
236      <enable>
237       <property>/sim/rendering/shaders/skydome</property>
238      </enable>
239      <label>thick</label>
240      <halign>left</halign>
241      <row>4</row>
242      <col>3</col>
243     </text>
244
245
246
247     <text>
248       <enable>
249        <property>/sim/rendering/shaders/skydome</property>
250       </enable>
251       <label>Dust cover</label>
252       <halign>left</halign>
253       <row>5</row>
254       <col>0</col>
255     </text>
256     
257     <text>
258       <enable>
259        <property>/sim/rendering/shaders/skydome</property>
260       </enable>
261       <label>none</label>
262       <halign>right</halign>
263       <row>5</row>
264       <col>1</col>
265     </text>
266         
267     <slider>
268       <enable>
269        <property>/sim/rendering/shaders/skydome</property>
270       </enable>
271       <name>dust-level</name>
272       <row>5</row>
273       <col>2</col>
274       <min>0.0</min>
275       <max>0.7</max>
276       <live>true</live>
277       <property>/environment/surface/dust-cover-factor</property>
278       <binding>
279         <command>dialog-apply</command>
280         <object-name>dust-level</object-name>
281       </binding>
282     </slider>
283
284     <text>
285       <enable>
286        <property>/sim/rendering/shaders/skydome</property>
287       </enable>
288       <label>dusty</label>
289       <halign>left</halign>
290       <row>5</row>
291       <col>3</col>
292     </text>
293
294     <text>
295       <enable>
296        <property>/sim/rendering/shaders/skydome</property>
297       </enable>
298       <label>Wetness</label>
299       <halign>left</halign>
300       <row>6</row>
301       <col>0</col>
302     </text>
303     
304     <text>
305       <enable>
306        <property>/sim/rendering/shaders/skydome</property>
307       </enable>
308       <label>dry</label>
309       <halign>right</halign>
310       <row>6</row>
311       <col>1</col>
312     </text>
313         
314     <slider>
315       <enable>
316        <property>/sim/rendering/shaders/skydome</property>
317       </enable>
318       <name>wetness</name>
319       <row>6</row>
320       <col>2</col>
321       <min>0.0</min>
322       <max>0.7</max>
323       <live>true</live>
324       <property>/environment/surface/wetness</property>
325       <binding>
326         <command>dialog-apply</command>
327         <object-name>wetness</object-name>
328       </binding>
329     </slider>
330
331     <text>
332       <enable>
333        <property>/sim/rendering/shaders/skydome</property>
334       </enable>
335       <label>wet</label>
336       <halign>left</halign>
337       <row>6</row>
338       <col>3</col>
339     </text>
340     
341
342     <text>
343       <enable>
344        <property>/sim/rendering/shaders/skydome</property>
345       </enable>
346       <label>Vegetation</label>
347       <halign>left</halign>
348       <row>7</row>
349       <col>0</col>
350     </text>
351     
352     <text>
353       <enable>
354        <property>/sim/rendering/shaders/skydome</property>
355       </enable>
356       <label>none</label>
357       <halign>right</halign>
358       <row>7</row>
359       <col>1</col>
360     </text>
361         
362     <slider>
363       <enable>
364        <property>/sim/rendering/shaders/skydome</property>
365       </enable>
366       <name>lichen-level</name>
367       <row>7</row>
368       <col>2</col>
369       <min>0.0</min>
370       <max>0.7</max>
371       <live>true</live>
372       <property>/environment/surface/lichen-cover-factor</property>
373       <binding>
374         <command>dialog-apply</command>
375         <object-name>lichen-level</object-name>
376       </binding>
377     </slider>
378
379     <text>
380       <enable>
381        <property>/sim/rendering/shaders/skydome</property>
382       </enable>
383       <label>mossy</label>
384       <halign>left</halign>
385       <row>7</row>
386       <col>3</col>
387     </text>
388
389
390     <text>
391       <enable>
392        <property>/sim/rendering/shaders/skydome</property>
393       </enable>
394       <label>Season (experimental)</label>
395       <halign>left</halign>
396       <row>8</row>
397       <col>0</col>
398     </text>
399     
400     <text>
401       <enable>
402        <property>/sim/rendering/shaders/skydome</property>
403       </enable>
404       <label>summer</label>
405       <halign>right</halign>
406       <row>8</row>
407       <col>1</col>
408     </text>
409         
410     <slider>
411       <enable>
412        <property>/sim/rendering/shaders/skydome</property>
413       </enable>
414       <name>season</name>
415       <row>8</row>
416       <col>2</col>
417       <min>0.0</min>
418       <max>2.0</max>
419       <live>true</live>
420       <property>/environment/season</property>
421       <binding>
422         <command>dialog-apply</command>
423         <object-name>season</object-name>
424       </binding>
425     </slider>
426
427     <text>
428       <enable>
429        <property>/sim/rendering/shaders/skydome</property>
430       </enable>
431       <label>late autumn</label>
432       <halign>left</halign>
433       <row>8</row>
434       <col>3</col>
435     </text>
436
437   </group>
438   
439   <hrule/>
440
441   <group>
442     <empty>
443       <stretch>true</stretch>
444     </empty>
445     <layout>hbox</layout>
446
447     <button>
448       <legend>Close</legend>
449       <default>true</default>
450       <key>Esc</key>
451       <binding>
452         <command>dialog-close</command>
453       </binding>
454     </button>
455     <empty>
456       <stretch>true</stretch>
457     </empty>
458   </group>
459
460 </PropertyList>