1
0
Fork 0
Commit graph

47 commits

Author SHA1 Message Date
Michael Danilov
d4dfafaac7 Weather dialog: stop resetting weather when Detailed Weather has been loaded but disabled (fix for Issue 1 in https://sourceforge.net/p/flightgear/codetickets/2486/) 2021-08-19 02:33:29 +02:00
Michael Danilov
c9709e2a62 Local Weather: auto-enable 3D clouds and disable the checkbox. 2021-08-19 00:16:46 +02:00
James Turner
986369f6ea Use logprint in more places
Trying to reduce Nasal alert-level output for non-alert-y things.
2020-06-28 07:27:29 +01:00
Julian Smith
a14f11b68a gui/dialogs/weather*: minor cleanup.
gui/dialogs/weather-metar-description.xml
    removed top-level width/height, fixes odd size affects.
gui/dialogs/weather.xml
    removed code that was disabled in recent commit.
2019-11-07 15:29:02 +00:00
Julian Smith
b21ecb2315 gui/dialogs/weather*: show METAR description in separate window.
METAR description is too big to fit in 'Weather Conditions' window.

Also moved the description of item selected in the popup (Live data, Manual
input, ... etc.) so it is immediately below the popup. Used to be the other
side of the METAR info, which was a little confusing.
2019-11-06 17:53:03 +00:00
Julian Smith
807b35eab7 gui/dialogs/weather.xml: added human-readable metar info.
Relies on associated recent changes to flightgear and simgear, which put
human-readable metar text into /environment/metar/description.
2019-11-01 22:56:36 +00:00
Stuart Buchanan
43c77895b1 Fix for https://sourceforge.net/p/flightgear/codetickets/1955/ 2017-04-09 22:02:08 +01:00
Torsten Dreyer
e80fae2c19 make display of metar live again in wx dialog
reflect changes of METAR in the dialogs text field
has probably been set to false by accident.
2017-03-10 09:40:58 +01:00
Stuart Buchanan
d04903ddb1 Make METAR string editable in GUI. Fix bug 1764 2015-06-03 20:14:28 +01:00
Aidan Fell
01f1f9e6c1 notify users of AW 2015-05-15 20:08:53 +01:00
Stuart Buchanan
b4d16682ce GUI Cleanup from Michael HABARTA. Part 3/3 2015-05-03 17:13:50 +01:00
Stuart Buchanan
37f3d9b72f Minor clean-up of weather dialog
- Fix bug when opening weather dialog when in manual mode.
- Move buttons to be opposite the appropriate radio buttons
- Keep buttons visible at all times.
- Update description to account for recent Basic Weather -> ALS integration.
2013-05-21 20:50:21 +01:00
Stuart Buchanan
e73a07b0cf Fix manual weather UI. 2013-04-25 22:02:47 +01:00
Stuart Buchanan
5ede8f2bb9 Fix manual configuration of basic weather. 2013-04-16 22:14:51 +01:00
Vivian Meazza
e28d4c22cb Add descriptive text
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-02-27 23:40:49 +00:00
Thorsten Renk
397fdf1cc4 Weather bugfixes and additional scenarios 2012-10-06 21:13:19 +01:00
Stuart Buchanan
0a40f0be0f Updated Weather dialog
- Bug fix so manual configuration works properly
- Interpret METAR directly to set default wind settings for Local Weather mode.
2012-08-09 21:38:36 +01:00
Stuart Buchanan
ed068bef82 Unification of Weather UI. 2012-08-07 21:27:29 +01:00
ThorstenB
b62c1c01b7 Avoid duplication of "findElementByName" function.
Now moved to common gui.nas.
2012-03-24 12:45:58 +01:00
Torsten Dreyer
d63d9c98e7 Local/Global Weather Menu cleanup
- use just a single "Weather" menu item
- add buttons to switch between global and local weather dialogs
- Rename Global Weather to Basic Weather
- Rename Local Weather to Advanced Weather
2012-01-22 18:29:11 +01:00
ThorstenB
fdcd319c9f Fix global weather dialog.
Don't try to call "local_weather" when it isn't loaded.
2012-01-07 09:42:36 +01:00
Torsten Dreyer
8da025920b Fix #567: disable local weather global weather scenario changes 2012-01-05 13:52:17 +01:00
Gijs de Rooy
f852529e56 Adjust snow line based on METAR. Snow level is only adjusted when METAR reports snow below the user set altitude. 2011-12-06 20:39:05 +01:00
ThorstenB
539716828b Added GUI/menu item for scenery download/update. 2011-06-13 20:40:46 +02:00
Torsten Dreyer
c03ed7ee02 global-weather: add Curt's button and some tweaking
- add Apply button for the METAR input
- make the 'valid' checkbox disabled - it's a read-only property
- cleanup some indention
2011-01-23 12:15:37 +01:00
Torsten Dreyer
cf1660986d fix bug 255: add turbulence to weather menu 2011-01-21 10:36:28 +01:00
Torsten Dreyer
cdb21a52e4 GlobalWeather: (better) support for weather-scenario
- handle /environment/weather-scenario property on startup
- try to detect predefined scenario on startup of global
weather dialog box and select the corresponding entry in
the scenario combo box.
2011-01-17 21:05:01 +01:00
Stuart Buchanan
3d7d00ead9 Minor changes various dialogs to make generally consistent:
- Title bar with cancel button in top left hand side.
- horizontal line dividing main dialog from bottom buttons
- Minor layout and Nasal fixes.
2010-12-27 20:19:31 +00:00
Torsten Dreyer
c41e11e80b bugfix: enable globalwx METAR textfield on --metar
The METAR input field is now enabled when the global weather
dialog is opened and fg was started with --metar=something
2010-12-22 22:54:49 +01:00
Torsten Dreyer
db627540aa GlobalWeather: use /environment/[rain|snow]-norm 2010-12-21 09:58:20 +01:00
Gijs de Rooy
cec50787b6 Gray-out dependant options, uniform close button 2010-12-15 13:43:09 +01:00
Torsten Dreyer
7062de844f GlobalWx: Metar does not update high altitudes visibility 2010-11-26 14:10:59 +01:00
Torsten Dreyer
10ed64e3ee GlobalWeather bugfix: enable editing of METAR
Initialize the METAR textbox to the current METAR on selection
of "Manual input" to have some data to start with. Apply the
data when the METAR textbox looses focus.
2010-11-21 21:20:17 +01:00
Torsten Dreyer
1751fdb22e GlobalWeather: display changing METAR 2010-11-21 20:27:05 +01:00
Torsten Dreyer
0fd0567d57 Make METAR field editable on manual input 2010-11-20 11:13:26 +01:00
Torsten Dreyer
083c9e9de6 weather-dialog: show, if METAR is valid
add a checkbox tied to the metar-valid property
2010-10-07 17:56:24 +02:00
Torsten Dreyer
284a283acb Some fixes for the GlobalWeather dialog
- make aloft and boundary data editable in "Disabled" mode
- make aloft and boundary data not-editable in other modes
- fix live-update issues on many input fields
2010-09-23 20:31:57 +02:00
Torsten Dreyer
d02cff21cf weather-dialog: handle incoming METAR
metar/data is a tied property, it does not trigger
a listener - metar/valid does.
2010-09-12 23:04:49 +02:00
Torsten Dreyer
9bdc9ec4e1 Environment: handle metar-updates-environment
And some minor fixes
2010-09-11 23:32:20 +02:00
Torsten Dreyer
66f3f67f37 GlobalWeather dialog: cosmetic changes and a bug fix
- Don't refer to the obsolete Weather Conditions and Clouds dialogs
- Nasal based rebuild of the cloud layers are no longer required this way
2010-09-11 21:27:09 +02:00
Torsten Dreyer
c6072c9c76 Environment controller overhaul
This is the initial commit for a reworked environment controller.
The main intention is to decouple the individual modules like
metar fetch, metar properties, environment interpolation etc.
to make it easier for other weather module developers to modify
environment settings.
As a side effect, the dialogs for weather-scenario, weather-conditions,
clouds and precipitations have been merged into a single dialog
2010-09-11 16:15:49 +02:00
mfranz
9fa98151db use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
mfranz
9c49dccd5b let all dialogs in $FG_ROOT/gui/dialogs be closed/canceled/dismissed on
Escape key; nasal generated dialogs will follow
2005-11-05 13:59:06 +00:00
david
6f9792af13 Add the ability to control turbulence rate as well as magnitude.
Square the normalized direction acceleration for the y and z axes, so
that turbulence predominantly affects pitch.

Bind to the /environment/turbulence/magnitude-norm and
/environment/turbulence/rate-hz properties in FlightGear.
2003-07-13 20:26:00 +00:00
curt
dc0f5206f3 Add two helpful comments to the weather dialog box as a reminder that
"Aloft" altitudes and data elements are relative to sea level while
"Boundary" altitdues and data elements are relative to the current ground
level.
2003-06-24 19:55:15 +00:00
ehofman
b4dc96fa85 It's typo time 2003-06-22 08:02:27 +00:00
david
a48332cfdf Added initialization and user dialog for improved weather system. 2003-06-08 14:44:53 +00:00