From a48332cfdf1ecd98ba3df11dc5b42c7e17dfed85 Mon Sep 17 00:00:00 2001 From: david Date: Sun, 8 Jun 2003 14:44:53 +0000 Subject: [PATCH] Added initialization and user dialog for improved weather system. --- gui/dialogs/weather.xml | 840 ++++++++++++++++++++++++++++++++++++++++ gui/menubar.xml | 73 +--- preferences.xml | 66 +++- 3 files changed, 900 insertions(+), 79 deletions(-) create mode 100644 gui/dialogs/weather.xml diff --git a/gui/dialogs/weather.xml b/gui/dialogs/weather.xml new file mode 100644 index 000000000..56ef04f5c --- /dev/null +++ b/gui/dialogs/weather.xml @@ -0,0 +1,840 @@ + + + + + + + weather + 800 + 570 + false + + + 10 + 540 + + + + + 10 + 480 + + + + + + + 0 + 450 + + + 10 + 0 + + + + + 75 + 0 + + + + + 160 + 0 + + + + + 240 + 0 + + + + + 330 + 0 + + + + + 400 + 0 + + + + + 490 + 0 + + + + + 580 + 0 + + + + + 670 + 0 + + + + + + + + + 0 + 420 + + + 10 + 0 + + + + + 75 + 0 + 80 + 25 + /environment/config/aloft/entry[4]/elevation-ft + + + + 160 + 0 + 80 + 25 + /environment/config/aloft/entry[4]/wind-from-heading-deg + + + + 245 + 0 + 80 + 25 + /environment/config/aloft/entry[4]/wind-speed-kt + + + + 330 + 0 + 75 + 25 + /environment/config/aloft/entry[4]/turbulence-norm + + + + 410 + 0 + 80 + 25 + /environment/config/aloft/entry[4]/visibility-m + + + + 495 + 0 + 80 + 25 + /environment/config/aloft/entry[4]/temperature-degc + + + + 580 + 0 + 80 + 25 + /environment/config/aloft/entry[4]/dewpoint-degC + + + + 665 + 0 + 80 + 25 + /environment/config/aloft/entry[4]/pressure-sea-level-inhg + + + + + + 0 + 390 + + + 10 + 0 + + + + + 75 + 0 + 80 + 25 + /environment/config/aloft/entry[3]/elevation-ft + + + + 160 + 0 + 80 + 25 + /environment/config/aloft/entry[3]/wind-from-heading-deg + + + + 245 + 0 + 80 + 25 + /environment/config/aloft/entry[3]/wind-speed-kt + + + + 330 + 0 + 75 + 25 + /environment/config/aloft/entry[3]/turbulence-norm + + + + 410 + 0 + 80 + 25 + /environment/config/aloft/entry[3]/visibility-m + + + + 495 + 0 + 80 + 25 + /environment/config/aloft/entry[3]/temperature-degc + + + + 580 + 0 + 80 + 25 + /environment/config/aloft/entry[3]/dewpoint-degC + + + + 665 + 0 + 80 + 25 + /environment/config/aloft/entry[3]/pressure-sea-level-inhg + + + + + + 0 + 360 + + + 10 + 0 + + + + + 75 + 0 + 80 + 25 + /environment/config/aloft/entry[2]/elevation-ft + + + + 160 + 0 + 80 + 25 + /environment/config/aloft/entry[2]/wind-from-heading-deg + + + + 245 + 0 + 80 + 25 + /environment/config/aloft/entry[2]/wind-speed-kt + + + + 330 + 0 + 75 + 25 + /environment/config/aloft/entry[2]/turbulence-norm + + + + 410 + 0 + 80 + 25 + /environment/config/aloft/entry[2]/visibility-m + + + + 495 + 0 + 80 + 25 + /environment/config/aloft/entry[2]/temperature-degc + + + + 580 + 0 + 80 + 25 + /environment/config/aloft/entry[2]/dewpoint-degC + + + + 665 + 0 + 80 + 25 + /environment/config/aloft/entry[2]/pressure-sea-level-inhg + + + + + + 0 + 330 + + + 10 + 0 + + + + + 75 + 0 + 80 + 25 + /environment/config/aloft/entry[1]/elevation-ft + + + + 160 + 0 + 80 + 25 + /environment/config/aloft/entry[1]/wind-from-heading-deg + + + + 245 + 0 + 80 + 25 + /environment/config/aloft/entry[1]/wind-speed-kt + + + + 330 + 0 + 75 + 25 + /environment/config/aloft/entry[1]/turbulence-norm + + + + 410 + 0 + 80 + 25 + /environment/config/aloft/entry[1]/visibility-m + + + + 495 + 0 + 80 + 25 + /environment/config/aloft/entry[1]/temperature-degc + + + + 580 + 0 + 80 + 25 + /environment/config/aloft/entry[1]/dewpoint-degC + + + + 665 + 0 + 80 + 25 + /environment/config/aloft/entry[1]/pressure-sea-level-inhg + + + + + + 0 + 300 + + + 10 + 0 + + + + + 75 + 0 + 80 + 25 + /environment/config/aloft/entry[0]/elevation-ft + + + + 160 + 0 + 80 + 25 + /environment/config/aloft/entry[0]/wind-from-heading-deg + + + + 245 + 0 + 80 + 25 + /environment/config/aloft/entry[0]/wind-speed-kt + + + + 330 + 0 + 75 + 25 + /environment/config/aloft/entry[0]/turbulence-norm + + + + 410 + 0 + 80 + 25 + /environment/config/aloft/entry[0]/visibility-m + + + + 495 + 0 + 80 + 25 + /environment/config/aloft/entry[0]/temperature-degc + + + + 580 + 0 + 80 + 25 + /environment/config/aloft/entry[0]/dewpoint-degC + + + + 665 + 0 + 80 + 25 + /environment/config/aloft/entry[0]/pressure-sea-level-inhg + + + + + + 10 + 240 + + + + + + + 0 + 210 + + + 10 + 0 + + + + + 75 + 0 + + + + + 160 + 0 + + + + + 240 + 0 + + + + + 330 + 0 + + + + + 400 + 0 + + + + + 490 + 0 + + + + + 580 + 0 + + + + + 670 + 0 + + + + + + + 0 + 180 + + + 10 + 0 + + + + + 75 + 0 + 80 + 25 + /environment/config/boundary/entry[2]/elevation-ft + + + + 160 + 0 + 80 + 25 + /environment/config/boundary/entry[2]/wind-from-heading-deg + + + + 245 + 0 + 80 + 25 + /environment/config/boundary/entry[2]/wind-speed-kt + + + + 330 + 0 + 75 + 25 + /environment/config/boundary/entry[2]/turbulence-norm + + + + 410 + 0 + 80 + 25 + /environment/config/boundary/entry[2]/visibility-m + + + + 495 + 0 + 80 + 25 + /environment/config/boundary/entry[2]/temperature-degc + + + + 580 + 0 + 80 + 25 + /environment/config/boundary/entry[2]/dewpoint-degC + + + + 665 + 0 + 80 + 25 + /environment/config/boundary/entry[2]/pressure-sea-level-inhg + + + + + + 0 + 150 + + + 10 + 0 + + + + + 75 + 0 + 80 + 25 + /environment/config/boundary/entry[1]/elevation-ft + + + + 160 + 0 + 80 + 25 + /environment/config/boundary/entry[1]/wind-from-heading-deg + + + + 245 + 0 + 80 + 25 + /environment/config/boundary/entry[1]/wind-speed-kt + + + + 330 + 0 + 75 + 25 + /environment/config/boundary/entry[1]/turbulence-norm + + + + 410 + 0 + 80 + 25 + /environment/config/boundary/entry[1]/visibility-m + + + + 495 + 0 + 80 + 25 + /environment/config/boundary/entry[1]/temperature-degc + + + + 580 + 0 + 80 + 25 + /environment/config/boundary/entry[1]/dewpoint-degC + + + + 665 + 0 + 80 + 25 + /environment/config/boundary/entry[1]/pressure-sea-level-inhg + + + + + + 0 + 120 + + + 10 + 0 + + + + + 75 + 0 + 80 + 25 + /environment/config/boundary/entry[0]/elevation-ft + + + + 160 + 0 + 80 + 25 + /environment/config/boundary/entry[0]/wind-from-heading-deg + + + + 245 + 0 + 80 + 25 + /environment/config/boundary/entry[0]/wind-speed-kt + + + + 330 + 0 + 75 + 25 + /environment/config/boundary/entry[0]/turbulence-norm + + + + 410 + 0 + 80 + 25 + /environment/config/boundary/entry[0]/visibility-m + + + + 495 + 0 + 80 + 25 + /environment/config/boundary/entry[0]/temperature-degc + + + + 580 + 0 + 80 + 25 + /environment/config/boundary/entry[0]/dewpoint-degC + + + + 665 + 0 + 80 + 25 + /environment/config/boundary/entry[0]/pressure-sea-level-inhg + + + + + + 0 + 60 + + + 10 + 0 + + + + + 250 + 0 + 80 + 25 + /environment/config/boundary-transition-ft + + + + + + + + 105 + 10 + + + + + + + + + + + + diff --git a/gui/menubar.xml b/gui/menubar.xml index 6c00d30db..c01d515c4 100644 --- a/gui/menubar.xml +++ b/gui/menubar.xml @@ -199,10 +199,10 @@ - + dialog-show - air + weather @@ -214,75 +214,6 @@ - - - - dialog-show - winds - - - - - - - - property-randomize - /environment/visibility-m - 20 - 20000 - - - - property-randomize - /environment/temperature-sea-level-degc - -40 - 40 - - - - property-randomize - /environment/dewpoint-sea-level-degc - -40 - 40 - - - - property-randomize - /environment/pressure-sea-level-inhg - 27.92 - 31.92 - - - - property-randomize - /environment/wind-from-heading-deg - 0 - 360 - - - - property-randomize - /environment/params/base-wind-speed-kt - 0 - 40 - - - - - property-randomize - /environment/turbulence-norm - 0.0 - 0.5 - - - - property-randomize - /environment/clouds/layer[0]/elevation-ft - 0 - 15000 - - - diff --git a/preferences.xml b/preferences.xml index ab43770bb..1dc528bfd 100644 --- a/preferences.xml +++ b/preferences.xml @@ -247,12 +247,62 @@ Started September 2000 by David Megginson, david@megginson.com - 16000 - 15 - 5 - 29.92 - 270 - 0.0 + + + 500 + + + + + 0 + 270 + 3 + 0.0 + 16000 + 29.92 + 15.0 + 5.0 + + + + 500 + 280 + 6 + 0.1 + + + + + + + + 3000 + 300 + 10 + 0.05 + 16000 + 29.92 + 15.0 + 5.0 + + + + 6000 + 310 + 20 + 0.00 + + + + 9000 + 320 + 30 + + + + + + true @@ -282,11 +332,11 @@ Started September 2000 by David Megginson, david@megginson.com 40000 + false - 0 - 0 +