1
0
Fork 0
Commit graph

622 commits

Author SHA1 Message Date
ThorstenB
f84ce36d90 Fixed issue with "unnamed view".
Do not show "unnamed views" (views have no name when they belong to
another aircraft).
2011-06-12 15:31:57 +02:00
ThorstenB
c3f8c1478a tutorial submodule, part #2: adapt script/GUI to load module on demand
tutorial.nas is now loaded (only) when "Start Tutorial" button is pressed.
2011-06-05 21:37:58 +02:00
ThorstenB
f082300e20 Tutorial improvements
Make tutorial dialog a proper window, clean-up menu.
Show welcome message to new user when tutorial available.
Repeat current tutorial message, when no user progress.
2011-06-02 19:11:05 +02:00
Ryan Miller
96da518d8d New animated jetway system; add support for EGKK, EHAM, KDEN, KLAS, KSFO, PANC, 717, AI 737, AI 744, AI MD-80 2011-05-26 18:10:32 -07:00
ThorstenB
3826c0c7ee one31: improve map GUI by using checkboxes instead of buttons.
checkboxes should be used for checkbox features - and buttons for
push-button features... simple :)
Thanks to "one31..."
2011-05-20 19:53:02 +02:00
Frederic Bouvier
aa6680b4a6 Local Weather 1.1 by Thorsten Renk 2011-05-14 15:18:40 +02:00
Mathias Froehlich
04dbaa1d9a ThorstenB: checkbox to enable looped replay
(LinuxTag 2011 demo feature ;-) )
2011-05-14 09:36:19 +02:00
ThorstenB
995a219b35 Automatic tower positioning
New option in "location of tower" dialog
2011-04-18 22:57:42 +02:00
ThorstenB
b5e478f1ce Minor GUI formatting issue. 2011-04-17 17:42:51 +02:00
Vivian Meazza
c67632905a Add Skydome effect.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-04-15 16:07:53 +01:00
Vivian Meazza
d2793f013e Merge branch 'master' of gitorious.org:fg/fgdata into Work 2011-04-01 20:10:51 +01:00
Vivian Meazza
20aba403ac Bug fix.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-04-01 16:40:34 +01:00
ThorstenB
7299d07dab New option to display frame latency.
Better property to evaluate simulation performance than frame rate.
2011-03-28 00:24:32 +02:00
Ryan Miller
264996bb3c Added 3d option in the HUD dialog 2011-03-27 22:04:04 +02:00
ThorstenB
afaaf62e18 Fixed some file modes (not executable). 2011-03-27 21:01:43 +02:00
ThorstenB
93b8d1e38c Improve replay dialog 2011-03-24 23:32:55 +01:00
Frederic Bouvier
65c166c12c Local Weather 1.0 by Thorsten Renk 2011-03-19 14:03:28 +01:00
Gijs de Rooy
92f3dee117 Rendering dialog: add random objects option back in 2011-02-19 22:07:44 +01:00
Ryan Miller
aa15f24dd7 Set pushback force to 0 when the pushback dialog is closed 2011-02-19 22:00:13 +01:00
ThorstenB
04aecf90c3 Random object configuration and scenery reloading.
Re-enable "random object" checkbox.
(Debug) option for complete scenery reloading (e.g. use after TerraSync
update or changing options such as "random objects").
2011-02-13 19:31:59 +01:00
ThorstenB
17ac428f43 Adrien Bailly: Thrustmaster T.Flight Hotas X joystick support
thanks to him, 'flug' and the forum
(also removed a debug line from route-manger GUI)
2011-01-24 19:35:35 +01: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
Gijs de Rooy
5c4bdb4a1f Revert adb57b8: screenshot directory dialog 2011-01-22 22:49:25 +01:00
Torsten Dreyer
cf1660986d fix bug 255: add turbulence to weather menu 2011-01-21 10:36:28 +01:00
ThorstenB
f99d1ae0d6 Fixed route manager dialog issue
remove/clear/route sequence didn't work properly.
Reset selection when route is cleared.
2011-01-20 01:41:35 +01:00
Torsten Dreyer
ac11b6fc36 "About"-dialog overhaul 2011-01-18 08:27:22 +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
Gijs de Rooy
692d9c3717 Add screenshot dialog, to select directory 2011-01-15 22:48:43 +01:00
Gijs de Rooy
a6e2fd175a Add autohide-mouse-option to display dialog 2011-01-06 18:02:16 +01:00
Gijs de Rooy
05788b5675 Live update dialog fields, so no (non-intuitive) key-press is required 2011-01-05 22:44:33 +01:00
Gijs de Rooy
3abc7e6f61 Update about dialog to 2011 2011-01-05 21:14:33 +01:00
Gijs de Rooy
2fb720e2b3 Add cloud-density option back into the rendering dialog 2011-01-02 20:32:38 +01:00
Dave Luff
de253c6924 Re-enable ATC frequency search dialog
The dialog was removed due to being not working, but is now fixed
and can hence be re-enabled again.
2010-12-29 21:32:17 +00:00
Stuart Buchanan
24cfaf6e44 Update map dialog:-
- Close button
- Remove inactive buttons (Obstacles, Airways)
- Minor layout improvements
2010-12-29 20:18:48 +00:00
Stuart Buchanan
16b7ffba05 Consistent Close and title bars for Fuel & Payload, Wildfire and Route Manager dialogs. 2010-12-28 19:51:34 +00:00
Dave Luff
641a6d061e Merge branch 'master' of gitorious.org:fg/fgdata 2010-12-27 21:19:16 +00:00
Dave Luff
982a6b7861 Remove a dialog that only pertained to the depreciated AI system.
This dialog only set the traffic level for the now removed random-traffic AI
system.  Pointed out by Gijs - thanks!
2010-12-27 21:17:39 +00:00
Gijs de Rooy
2b58f46608 Add wireframe to rendering dialog 2010-12-27 21:44:43 +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
Gijs de Rooy
72f0ea1fea Issue 181: add object-name to all rendering options. Rename snow level to snow line. Snow dependant on crop, landmass or urban shaders. 2010-12-26 19:26:05 +01:00
Tim Moore
2504a4d9fb Merge remote branch 'gitorious/master' 2010-12-26 18:24:51 +01:00
Tim Moore
ddcd76c677 Issue 181: add object-name to binding of snow level slider
The dialog-apply binding was setting all the properties in the
rendering dialog, including ones that are tested in technique
predicates. This was causing effects to be reinitialized.
2010-12-26 18:21:26 +01: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
Gijs de Rooy
26ceeac7f1 Gray-out shader-options when shaders are disabled 2010-12-15 13:35:54 +01:00
Gijs de Rooy
cad9ef6967 Add random-vegetation back in 2010-12-14 21:26:46 +01:00
Gijs de Rooy
2fbf60435f Hide checboxes of unused/broken features. 2010-12-13 22:30:15 +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
James Turner
670d790fb2 Add version fields to the About dialog. 2010-11-14 23:59:08 +00:00
ThorstenB
9a590d3e61 Added missing buttons to AI options dialog.
Renamed "ATC/AI" to "AI" since ATC options are no longer available.
2010-11-02 19:41:00 +01:00
ThorstenB
5889a5c4e4 Merge branch 'master' of git://gitorious.org/fg/fgdata 2010-11-01 16:49:34 +01:00
Frederic Bouvier
758f691a1c Local Weather version 0.9 by Thorsten Renk 2010-10-26 21:42:36 +02:00
ThorstenB
0ebe5b0f2e Merge branch 'master' of git://gitorious.org/fg/fgdata 2010-10-20 20:46:39 +02:00
James Turner
e6b959b9c8 Updated route-manager dialog, for revised C++ parts. 2010-10-20 11:20:05 +01:00
ThorstenB
55ca38d45f Merge branch 'master' of git://gitorious.org/fg/fgdata
Conflicts:
	gui/dialogs/location-in-air.xml
2010-10-16 20:59:47 +02:00
Vivian Meazza
37e42d60b0 Add model cockpit view dialog.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-10-12 23:17:35 +01:00
Vivian Meazza
39affdc8cd Merge branch 'master' of \New Git\fgdata 2010-10-12 20:45:56 +01:00
Vivian Meazza
b020b3e0d1 Add Formation Selector
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-10-12 20:42:05 +01:00
James Turner
87688ddf6a Thorsten Brehm: fix position-in-air dialog when a parking position was previously specified. 2010-10-11 10:52:21 +01:00
ThorstenB
80eb4f44ca Fixed "Position aircraft in air" in dialog.
Setting a parking position (e.g. by default via command-line) caused
"Position aircraft in air" to not work as expected. The "parkpos" property
must be reset, otherwise heading/glidepath/azimuth do not have any effect
when repositioning.
2010-10-10 14:05:42 +02: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
bc54f3c40a Merge branch 'master' of gitorious.org:fg/fgdata 2010-10-05 16:39:46 +02:00
Torsten Dreyer
d6f3b7a375 Fix the display dialog
- Make the 2d-panel option visible
- Add the menubar-autohide function
2010-10-05 16:35:39 +02:00
Vivian Meazza
2fed0ebefb Merge branch 'master' of \New Git\fgdata 2010-09-23 23:57:50 +01:00
Vivian Meazza
7f1eec80af Add new dialog to control AIFormations
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-23 23:50:18 +01: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
b535d797a0 Cleanup of stereoscopic view options dialog
Rename OSG Display Settings dialog to Stereoscopic View Options
and move the Menubar element from Debug to View
2010-09-23 19:59:18 +02:00
willie
aa4a2db5e4 renamed "General" back to "File" commented out "Load/Save Flight"
in response to feedback on dev list and IRC, "General" reverts to "File and "Load/Save Flight" is commented out as it doesnt work currently
2010-09-23 00:17:27 +02:00
willie
28d5294c14 Reinstate "Weather Scenario" - add "ATC in Range"
Move "ATC in Range" to radios dialog

"Weather Scenario" was missing after recent changes so reinstated, "ATC in Range" added back, this time on the Radio Settings dialog.
It should probably be commented out until we are certain it is working properly.
2010-09-23 00:16:25 +02:00
Vivian Meazza
f6261f9328 Merge branch 'integration' into Work
Conflicts:
	gui/menubar.xml

Merge Willies and Torsten's menu

Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-18 14:28:14 +01: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
4587957bf9 Environment: remove obsolete files 2010-09-11 21:36:19 +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
Frederic Bouvier
a0803ad074 Local Weather v0.85 by Thorsten Renk 2010-09-10 08:52:21 +02:00
willie
408bc4973a some changes made after feedback on IRC
TODO: sort out right-align for keyboard shortcuts
2010-09-09 23:34:23 +01:00
willie
821fae4a03 further changes to the menu structure
split AI carrier options to its own menu
moved "advanced" menu items to Debug
removed several redundant items
rationalised the placement of some items
started adding keyboard shortcuts

TODO:   reinstate AI Scenario menu item (position to be conmfirmed)
        get feedback
        add more : keyboard shortcuts
2010-09-07 19:59:00 +01:00
Torsten Dreyer
8d0273a7d4 Merge branch 'master' of gitorious.org:fg/fgdata 2010-09-05 11:58:34 +02:00
Torsten Dreyer
d3c9100a92 Add a dialog for OSG DisplaySettings
This allows run-time changes to the DisplaySettings.
Probably most interesting are the stereo view modes.
2010-09-05 11:54:59 +02:00
BARANGER Emmanuel
6837a30398 - a small script of Melchior that can be improved (Start from a seaport with a seaplane). 2010-09-02 12:10:29 +02:00
gral@who.net
b92252c0a3 New checkbox transition shaders to separate rock/transition shader work from crop shaders 2010-08-31 10:29:51 +02:00
Frederic Bouvier
4dd0ef9a08 Local weather v0.81 by Thorsten Renk 2010-08-03 08:18:14 +02:00
Vivian Meazza
0e2aeaf421 Add persistent contrails
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-07-31 21:34:35 +01:00
Heiko Schulz aka HHS
8558f56362 comit
Signed-off-by: Heiko Schulz aka HHS <Heiko.H.Schulz@gmx.net>
2010-07-03 23:04:48 +02:00
Frederic Bouvier
652070f265 Thorsten Renk: local weather 0.7 2010-06-15 20:54:44 +02:00
Frederic Bouvier
eb47297d94 Thorsten Renk: local weather 0.61 2010-06-04 23:05:32 +02:00
jmt
9e12bcb88c Fix tabs in route-manager, and remove the 'x' button in favour of live input widgets. 2010-04-26 15:22:26 +00:00
jmt
e25ada7d39 Save functionality exposed in the route-manager dialog. 2010-04-13 07:58:16 +00:00
vmmeazza
81a9e2fd10 Add layered clouds 2010-04-12 21:29:37 +00:00
vmmeazza
188db1d201 Add layered clouds 2010-04-12 20:46:07 +00:00
fredb
d14a2585c7 Allow more increments 2010-04-11 09:18:59 +00:00
ehofman
2a5a34c771 set the quality slider stepsize to 1.0 (for integers) 2010-04-11 09:03:55 +00:00
fredb
b3c61e6b8c Add a quality index that will help user to choose the level of eye candy vs available hardware performance 2010-04-10 13:33:14 +00:00
torsten
0bc6f89071 Initial version for the AI-Scenario select-dialog 2010-04-09 09:45:25 +00:00
jmt
b38d470782 Switch the route-manager dialog over to use the waypoint-list widget, and update other functionality to match. 2010-03-27 17:56:01 +00:00
jmt
e415e52aae Data files for MapDialog 2010-03-27 16:52:21 +00:00
stuart
6b4857ce8c Allow the snow level of the landmass shader to be set from the property system, and expose it in the rendering dialog. Could be used in future to set the snow level based on the current weather. 2010-03-27 14:02:56 +00:00
jmt
21b52ac628 Update autopilot dialog to use a new flag, to give feedback when the GPS/route-manager is driving the true heading. 2010-03-27 12:19:52 +00:00
jmt
cca70e4e6a Fix 'active route waypoint' button to actually load the current wp, instead of wp0. 2010-03-27 11:36:14 +00:00
jmt
26607856c6 GPS: updated generic GPS dialog, with OBS course selection dial. 2010-03-25 16:42:37 +00:00
torsten
59846fb883 added an 'about' dialog 2010-03-18 08:23:23 +00:00
fredb
c9236ad565 First iteration of the urban effect with relief mapping. Relief map by HB-Gral. 2010-03-12 22:25:19 +00:00
sydadams
7108cbe50e Set pushback speed to 0 when dialog closed 2010-01-20 01:24:20 +00:00
stuart
cab075f86b Updated sound dialog, improving layout. 2009-12-13 18:06:54 +00:00
jmt
98f75bed75 Dialog fix for impending new C++ feature - reset scratch lon/lat before executing 'nearest'. 2009-12-09 18:13:03 +00:00
ehofman
e8e1db4f0b add atc and external view selection checkboxes 2009-12-08 10:36:54 +00:00
stuart
45754e544c Minor update to the Stopwatch:
- Place in bottom right of screen
- Enforce non-modal
- Remove space-bar start key assignment (clash with PTT).
2009-12-05 15:28:20 +00:00
vmmeazza
329e2ac494 Make Carrier Deck Park selectable 2009-12-01 18:43:12 +00:00
ehofman
5b4bff6fbd use consistent property name for the default sound device in the code and configuration files and add an apply button 2009-12-01 10:40:21 +00:00
ehofman
7cfe6a2476 update to allow selection of a new sound device 2009-11-30 14:24:04 +00:00
ehofman
223281b242 First stab at a new sound configuration dialog 2009-11-30 12:06:02 +00:00
stuart
1807917d0c Updated Rendering and Display options dialogs. 2009-11-22 19:26:06 +00:00
jmt
0fdbcd9048 Working towards a better route-manager GUI.
* Use puaChooser for runway selection - in the short term this requires
  pressing a helper button ('x') to trigger an update of the data.
* Display the airport name when a valid ICAO is entered.
2009-11-07 00:20:41 +00:00
torsten
4c236260be Gijs de Roy:
Here it is. What has improved:
 
- night lighting textures
- windows
- better animations on military truck
- dialog simplified
- max. speed downgraded to 15 kts.
2009-11-01 17:05:59 +00:00
sydadams
4431137ace renamed view popup checkbox 2009-10-15 05:24:45 +00:00
sydadams
78da4ae738 Added a save FOV button 2009-10-15 05:19:04 +00:00
sydadams
d6db41f31d Reorganized the rendering menu 2009-10-15 03:25:05 +00:00
jmt
98c7b517ac Route-manager dialog tweaks for better VNAV handling in the route-manager. 2009-10-13 23:19:48 +00:00
jmt
5a29a9b4d5 Make the route-manager dialog synchronize text-field state again, and disable some buttons when a route is already active. More work to do in this area. 2009-10-08 22:34:53 +00:00
jmt
3b275abc32 Allow the NAV/GPS slave to be toggled from the generic GPS dialog. 2009-10-08 22:07:09 +00:00
sydadams
1a840e6399 remove commented out code 2009-10-08 05:04:21 +00:00
sydadams
a2a0534aab added a separate "effects" dialog, may need tweaking still
Added an option in the View Options to shut off the view name popup
2009-10-08 02:19:37 +00:00
jmt
1f345e1cda Updated GPS and route-manager dialogs, in sync with the core FGFS changes. 2009-10-05 21:10:11 +00:00
stuart
e633fabdb3 Updated replay dialog:
- Dynamic view selection for replay (note that it doesn't go back to the original view after replay).
- Helpful keys (because most people forget the p p stops the replay).
2009-10-04 20:49:43 +00:00
timoore
943ba2a4fe Till Busch - effects, shaders and textures for crop and water effects
Incorporated changes to effects file syntax. Changed Till's landmass
to mix in the base terrain texture. Some shader cleanup.

Also, add a GUI control for enabling shaders.
2009-08-08 10:17:58 +00:00
timoore
df03142574 new properties for shadows 2009-07-15 22:49:00 +00:00
mfranz
a83b25e05e restore "rebuild-layers" 2009-07-11 20:19:48 +00:00
mfranz
9686924665 - use layout
- apply immediately
2009-07-11 20:04:31 +00:00
jmt
6083061422 Fix a label in the Position in Air dialog, spotted on the forums - offset distance is in nautical miles, not statute miles. 2009-06-22 14:26:16 +00:00
vmmeazza
26aaab03fc Add lso stuff 2009-06-18 22:57:00 +00:00
torsten
058364f4fd update metar data in textfield when metar changes during live data fetch 2009-06-08 19:36:02 +00:00
torsten
f9dd1e72e3 disable real weather fetch when other than "live data" scenario is selected 2009-06-07 19:18:54 +00:00
vmmeazza
4f82e154ec Modified Landing Signal Officer View - locks to the selected MP aircraft 2009-06-02 09:14:09 +00:00
torsten
ff8992d1a2 make manual input work 2009-05-29 18:08:02 +00:00
torsten
7b7966dbb1 Code beautifying. 2009-05-29 16:24:10 +00:00
torsten
92a0c2d02f new weather scenario dialog 2009-05-29 10:27:30 +00:00
mfranz
c488e244a4 make cloud properties <live> to reflect METAR changes 2009-05-12 20:37:22 +00:00
mfranz
31495d4b72 door.stop() is now implied by door.setpos() 2009-05-06 18:50:12 +00:00
torsten
c380c111a0 - pushback is allways visible when the dialog is opened
- pushback goes away when the dialog is closed
- pushback may be hidden when the dialog is visible
2009-05-06 17:03:40 +00:00
torsten
75aa906b26 limit tow speed to approx. 20kts 2009-05-06 13:39:55 +00:00
torsten
09e1472fdf - set speed instead of force by slider
- defineable properties for speed hold (cruise control) pid controller
check the wiki http://wiki.flightgear.org/index.php/Howto:_Implent_pushback for details
2009-05-06 11:27:10 +00:00
torsten
28018bd083 get rid of pushback.nas by instantiating the aircraft.door when opening the dialog. 2009-05-05 14:17:36 +00:00
abory
0734e178bc - Change connexion command to fit /Nasal/pushback.nas 2009-05-04 23:26:06 +00:00
vmmeazza
343538a5d8 AndersG, hindered by me, has produced a nice uitility which enables players to share a carrier over MP. One player controls the carrier, and others can launch and recover. 2009-05-04 20:56:32 +00:00
abory
613b5f105d - Gijs de Rooy: Generic pushback. 2009-05-04 11:20:44 +00:00
mfranz
5c41d1a99b allow aar-equipped aircraft to request a tanker everywhere without scenario 2009-03-15 16:13:55 +00:00
mfranz
4c067a4449 only "apply" the input field (not the textbox, as this appends a \n) 2009-02-16 16:31:43 +00:00
mfranz
b95ea91501 use stat[11] == "dir" instead of deprecated io.isdir() 2009-02-15 18:24:22 +00:00
stuart
9130605ca7 Use initNode() for convenient, fast, effective property initialization. 2009-02-12 21:00:57 +00:00
stuart
a0a493b8ce Failure manager. Based on work by Erobo and John DENKER. 2009-02-12 20:24:06 +00:00
mfranz
4a45a34457 calling self should, of course, be supported 2009-02-05 21:19:04 +00:00
mfranz
c2e50c2c6f immediately re-open popup if an aircraft was chosen that meanwhile disappeared 2009-02-05 00:58:05 +00:00
mfranz
20605f3623 transparent dialogs look nice, but they are just too hard to read 2009-01-31 21:39:20 +00:00
mfranz
de80ed4b1c only open popup if there's something to choose from 2009-01-31 20:10:47 +00:00
mfranz
8bb50c1871 model_view_handler: use multiplayer.model + add selection popup 2009-01-31 19:30:31 +00:00
mfranz
6aa74d2e7a add model-view: switch through all AI/MP models via dialog in bottom/left corner 2009-01-29 23:57:57 +00:00
mfranz
22fa0c3456 - remove all key shortcuts ("Enter" for the default widget remains, of course)
- let chat dialogs be opened in the bottom right corner
- make chat_full.xml smaller (it's now resizable, anyway)
2009-01-29 19:50:24 +00:00
mfranz
71d2760994 - move slider down at startup (scrolling mode from the beginning)
- make dialog smaller (resize if necessary)
2009-01-29 18:51:10 +00:00
mfranz
12a4321801 chat: make it transparent; '+' key switches to full version; esc doesn't quit
chat_full: use "window" style (to save); '-' key switches to small version
2009-01-28 22:02:38 +00:00
mfranz
ab8451d92c whoops ... "nicer" I said 2009-01-28 21:16:27 +00:00
mfranz
2ed8771724 padding (for easier resizing); stretch for nicer tab button alignment 2009-01-28 21:12:15 +00:00
mfranz
7390451334 set padding; no wrapping 2009-01-28 21:03:34 +00:00
mfranz
621f3065c9 indentation fix 2009-01-28 21:02:03 +00:00
mfranz
44992a43c7 line-wrap help text for new font 2009-01-22 23:29:57 +00:00
mfranz
eaf5089319 turn off line wrapping (if you don't like the slider, use plib/SVN/HEAD) 2009-01-20 22:52:57 +00:00
vmmeazza
5a37e3e666 Add/modify lighting controls 2009-01-18 23:33:43 +00:00
mfranz
de64fda90f make dialog resizable with Ctrl-dragging 2009-01-11 00:10:13 +00:00
mfranz
e61d93e816 make dialog resizable with Ctrl-dragging 2009-01-11 00:02:45 +00:00
mfranz
3725f226bc make dialog resizable with Ctrl-dragging 2009-01-10 22:47:36 +00:00
mfranz
488baf414f whoops ... remove garbage that wasn't meant to go into CVS 2009-01-10 22:38:21 +00:00
mfranz
29d6566de9 make dialog resizable with Ctrl-dragging 2009-01-10 22:20:15 +00:00
mfranz
b38cf98aa1 make dialog resizable with Ctrl-dragging 2009-01-10 21:59:27 +00:00
mfranz
26a999359e use fixed-width font in the nasal console textbox widget 2009-01-09 12:11:23 +00:00
mfranz
601f1c14c4 Stuart BUCHANAN: fix METAR cloud interpolation
"I've managed to fix this by differentiating rebuilding the 3D layers
(e.g. due to METAR updates) from rebuilding the entire environment (due to a
change in scenario)."

/me: property-browser.xml: drop a redundant line
2008-12-21 15:54:18 +00:00
mfranz
a75f1de1dd - n.getAttribute("children") instead of size(n.getChildren()), which is
way faster to determine whether a node has children
- cosmetics
2008-12-21 08:52:49 +00:00
fredb
b41afb94c6 Stuart Buchanan :
Attached is yet another 3D clouds patch, to fix the following:
1) The 3D clouds were not modified by the cloud coverage, due to some problems with osg::Switch
2) METAR changes to cloud coverage were not obeyed.
3) Making changes via the Cloud dialog had no effect unless 3D clouds were toggled.
4) Cloud cover was too sparse.
5) 3D Stratus clouds caused performance issues on some hardware (fixed by removing 3D stratus from cloudlayers.xml - it will now be a 2D layer).
2008-12-19 07:42:29 +00:00
fredb
a9a4fc67e0 Csaba/Jester :
Reacting to a feature request,  attached patch adds support for
parkpos selection in the "location on ground" dialog, and clears any
parkpos preset in the "airports" dialog.
2008-12-12 20:09:55 +00:00
fredb
828c2069aa Stuart :
- Removes the cloud type re-use code - I think they aren't worth the graphical artefacts that they cause in light of Tim's improvements
- Changes the transparency of the clouds. Previously, the clouds were transparent at 0m distance, opaque at 200m, then gradually more transparent to the fog limits. This meant they were generally quite transparent. Now, they are opaque from 200m to 15km, then become transparent at 20km. A side effect of this is that the current textures could probably benefit from being made slightly transparent to improve the blending of the sprites against each other.
2008-12-11 08:29:36 +00:00
fredb
31977abb98 Stuart Buchanan :
This provides the following enhancements & bug fixes
- Fix the chequer-board bug.
- Add proper cloud coverage function - so scattered clouds are now truly scattered.
- Add real-time control for visibility range.
- Use a limited set of clouds rather than generating a completely new Geode for each cloud. This saves sorting and display time.
- Add controls to Rendering dialog to allow fine-tuning of the number of sprites, cloud visibility and the number of different types of cloud.
- Add some variance to the sort back-off to avoid all clouds being sorted at the same time.
- Pack attributes into vectors for performance
- Re-order the cloud type determination code so that if a cloud layer could either be stratus or cumulus, cumulus is used.
- Lowered the cloud level in the standard cloud configuration slightly so a cumulus layer is generated rather than stratus.

These last two mean that you should see some 3D cumuli if disabling real weather fetch.

My thanks to Yon Uriarte for his help with performance work.
2008-12-04 20:57:55 +00:00
mfranz
f104544ef8 only enable precipitation if it's enabled in the gui
(/sim/rendering/precipitation-gui-enabled) *and* if the aircraft wants it
(/sim/rendering/precipitation-aircraft-enabled). Some aircraft model rain
on the windshield and want to turn rain off for interior views.
2008-11-23 10:37:19 +00:00
mfranz
b216aa38ca another initNode() case to convert (thanks Stewart for pointing it out) 2008-11-22 19:53:37 +00:00
stuart
2c2a67a021 Remove redundant 3D cloud controls. 2008-11-06 19:11:31 +00:00
mfranz
43394835b0 add explanation for "particles" 2008-10-20 20:24:50 +00:00
mfranz
c5fe446f58 overlay-select.xml, gui.nas: fix overlay-dialog close(); add relpath() func
aircraft.nas: remove redundant data.add()
2008-10-19 12:34:09 +00:00
mfranz
4393681be9 add flag/checkbox to enable/disable particles 2008-10-17 21:21:22 +00:00
vmmeazza
dd182cab6c Adjust format 2008-10-16 16:51:32 +00:00
vmmeazza
6c7d862a31 Bugfix 2008-10-16 16:30:41 +00:00
mfranz
943c939553 this is now done by gui.OverlaySelector using overlay-select.xml 2008-10-16 16:14:03 +00:00
mfranz
4b9f8ecb1f no longer needed; gui.OverlaySelector uses generic overlay-select.xml now 2008-10-15 18:18:14 +00:00
vmmeazza
33161d2ec0 Add switchable flightdeck lighting 2008-10-15 18:08:16 +00:00
mfranz
c350a7b6a8 s/fixpath/normpath/ (as in python) 2008-10-15 16:35:11 +00:00
mfranz
4341781968 add overlay selector dialog class (similar to the livery selector) 2008-10-14 18:41:19 +00:00
mfranz
106f6bfe77 remove runway complementation (airportinfo() returns both sides now) 2008-09-23 20:12:48 +00:00
mfranz
b360c2ad62 use <enabled>false</enabled> flag for widgets that shouldn't be drawn
instead of <hide>true</hide>. This is consistent with other places
in fgfs, like menu entries, hud elements, subsystem switches, etc.
2008-08-05 05:28:27 +00:00
mfranz
2040b96b4f s/show_widgets/enable_widgets/ (the function doesn't show anything) 2008-08-03 15:37:43 +00:00
mfranz
c404626aa8 enable hiding of widgets again, this time in a saner way :-) 2008-08-03 13:43:30 +00:00
mfranz
f76b748786 remove "devel-widgets" nasal block 2008-08-03 12:33:56 +00:00
mfranz
8e27a5d88d "var" & cosmetics 2008-07-30 21:56:18 +00:00
mfranz
0bbdaab69c add "var" keywords and other cosmetics 2008-07-30 21:54:42 +00:00
mfranz
ca13166765 fix checkbox for aircraft specific views (for some mysterious reason this
has suddenly stopped to work ... spooky!)
2008-07-30 21:54:01 +00:00
stuart
9eb46a5c67 Replace redout dialog with cockpit view dialog. Missing commit spotted by Ron Jensen. Revision 1.80 of data/gui/menubar.xml refers. 2008-07-27 20:57:38 +00:00
mfranz
abdc416f32 - remove "load flight"/"save flight" dialogs, and
- use a file selector instead
- file-select.xml: handle non-existing files correctly
2008-07-11 20:57:52 +00:00
mfranz
be7c7b0ad7 display aileron/elevator/rudder/throttle axis values 2008-06-15 22:12:47 +00:00
mfranz
219f8d9a3a - make dialog non-modal (doesn't buy us much and can cause annoying lockups)
- fix indentation/remove trailing spaces
2008-06-12 23:04:42 +00:00
mfranz
6a577072da - write last clicked entry to /sim/gui/dialogs/property-browser/selected
- darken clone button
- cleanup & cosmetics
2008-05-14 10:19:17 +00:00
stuart
b6b4b5fe77 Add additional runway selection so the runway in use doesn't change as you roll past mid-point. Also fix possible bug for north-south runways. 2008-05-03 19:46:47 +00:00
mfranz
cd31d19946 add unit suffixes -nm and -deg to /sim/presets/offset-{distance,azimuth} 2008-05-01 21:15:40 +00:00
mfranz
1544af3ab9 return negative key numbers to report key event as consumed 2008-04-26 13:27:27 +00:00
stuart
01d21c928a Add generic redout. 2008-04-23 20:44:57 +00:00
mfranz
a2982254ab add 'random vegetation' checkbox. (Note that you won't see the effect
immediately!)
2008-04-20 08:46:36 +00:00
timoore
21331892cf precipitation dialog 2008-03-04 08:46:52 +00:00
stuart
dc4ad0dc80 Update to generic blackout, incorporating feedback from Melchior FRANZ:
- Update redout level every frame
 - Replace reading of properties every iteration with listeners
 - move -onset and -complete properties into a parameters subtree
2008-02-16 20:23:27 +00:00
stuart
dd923792ec Add generic blackout/redout for all aircraft, along with a gui.
Based on previous work by vivian and myself.
2008-02-16 08:26:59 +00:00
vmmeazza
921c8a5b5e Experimental formation menu 2008-02-11 18:34:19 +00:00
mfranz
ea3148949a use the destructor (which I had totally forgotten) 2008-01-23 21:26:30 +00:00
mfranz
7948776d89 insert WP list file on selected position, or append otherwise 2008-01-22 22:25:28 +00:00
mfranz
e22b74016e what about using string.trim() correctly?! 2008-01-22 20:03:00 +00:00
mfranz
1fd9c1d8f2 delete the file dialog, not the route manager dialog 2008-01-22 20:01:08 +00:00
mfranz
31c7d5d748 add button to load waypoint file (idea by Philip COBBIN) 2008-01-22 19:45:57 +00:00
mfranz
961e91520d - allow to hide views from this dialog by setting <hide type="bool">true</hide>
- deal better with (broken!) nameless views
2007-12-13 13:57:23 +00:00
mfranz
8bf50232da replace /sim/devel by /sim/gui/devel-widgets to enable/disable devel widgets 2007-12-11 15:50:58 +00:00
martin
33277e0730 Stuart Buchanan:
1) The chat menu will now select the runway closest to the aircraft
   when the aircraft is on the ground, or very low (< 100ft). This
   handles the case where the user has selected a runway explicitly,
   e.g. 01R for KSFO take-offs for noise abatement. My thanks for
   AnMaster for pointing this out on IRC. Note that above 100 ft, the
   wind-appropriate runway will still be used.
2) Change to keyboard description for the - key, as pointed out by
   Melchior.
2007-12-11 15:20:00 +00:00
vmmeazza
4ee3367452 Stuart Buchanan:
Add chat menu
2007-12-08 19:01:03 +00:00
mfranz
46e35f9194 Stuart BUCHANAN: add warp and speed-up setting 2007-11-29 11:45:41 +00:00
mfranz
73c0285ef9 - remove property browser binding from the <SPACE> key
- rename prop-key-handler.nas to prop_key_handler.nas  (the hyphens were
  intentional, exactly to *make* using it as namespace less inviting,
  but times change ...)
- add property browser binding to the '/'-key for when the property key handler
  is turned off (/sim/input/property-key-handler=0). If it's on, use /: or
  /<property>: to open the browser.
- run keyboard event listener only when property key handler is active

I hope that the '/' key can keep this binding even after a keyboard review.
The '/' is just the most natural key for dealing with properties, and it's
far less prominent on non-US-keyboards (e.g. Shift-7 on German keyboards),
so it's not really very well suited for important aircraft functions, anyway.
But I don't insist. :-)
2007-11-26 16:12:37 +00:00
mfranz
2f187b28a4 add checkboxes for other views as well, but don't save their state anywhere 2007-11-20 17:26:21 +00:00
mfranz
73bbdd280d treat "Cockpit View" like other views; limit view.stepView() step to 1 and -1 2007-11-20 11:34:54 +00:00
mfranz
10c875f75e make system and aircraft views configurable in Menu->Views->View Options.
These are then skipped with view.stepView(n), unless the second, optional
argument is set to 1:  view.stepView(n, 1);
Whether a view is enabled or not, is saved in $FG_ROOT/.fgfs/autosave.xml
(system views) or $FG_ROOT/.fgfs/aircraft-data/<aircraft>.xml
2007-11-19 16:26:15 +00:00
mfranz
b498abaedc center close button 2007-11-18 16:00:13 +00:00
mfranz
0bca5bdea6 - add Debug->Development Extensions dialog with two checkboxes to
- allow turning on/off extra widgets for developers (HUD dialog: colors,
  rendering dialog: visualization of shadow edges), and to turn on/off new
- property key handler ('/'-key)

Both features are off by default, and their state is saved to autosave.xml.
2007-11-18 12:20:17 +00:00
mfranz
9ce73af7a4 replace depreciated cmdarg() in listener functions by regular arg 2007-10-15 18:59:34 +00:00
mfranz
93955788ca set unknown heading preset, so that wind direction is considered if no
runway was given
2007-10-04 15:47:54 +00:00
mfranz
397ee8296f - simplification: use gui.dialog_update() command instead of
fgcommand("dialog-update", props.Node.new({}));
- remove lots of trailing spaces
2007-08-01 20:06:16 +00:00
mfranz
e092ee9abc - we prefer hyphens in property names to underscores
- save /sim/multiplayer/chat-display to autosave.xml
- remove trailing spaces
2007-08-01 19:37:51 +00:00
mfranz
aa411b3e73 - better layout (done by embedded Nasal)
- no longer modal (this caused problems with dialogs opened by keystrokes)
2007-07-02 14:34:01 +00:00
mfranz
709e505f0a trim() is now in string.nas 2007-06-23 10:08:42 +00:00
mfranz
199756d189 increase range of searched and displayed frequencies 40 -> 50 nm 2007-06-22 18:08:35 +00:00
mfranz
f827653668 - create new Nasal module string.nas with simple shell style pattern matching
algorithm (needed for the file selector and useful for other purposes, like
  assembling lists of livery or screenshot files etc.)
- io.nas: move fixpath to string.nas (it's not only useful for file paths
  but can also be used for property paths)
- screen.nas: move trim to string.nas (used by screen.nas and nasal-console.xml)
- gui.nas: add pattern matching to FileSelctor
- ufo.nas: use patterm matching (only *.ac and *.xml files shall be listed)
2007-06-22 14:13:30 +00:00
mfranz
31eff644c1 - add setters to the gui.FileSelector, so that title/button text/dir/file/
dotfile flag can be set later (and take effect after the next open())
- add Alt-".." binding: change to $PWD (which is the default starting dir)
2007-06-17 22:56:22 +00:00
mfranz
10ca74fc83 - make dir entry an input field
- make title & button text separately settable
- sequential numbers for clones rather than random numbers
2007-06-17 15:27:33 +00:00
mfranz
e6ca353144 - use debug.printerror()
- add tab number to error location
- drop some parentheses
2007-06-17 14:21:29 +00:00
mfranz
cb405c955f - don't use random numbers for cloned dialogs, but good old boring
sequential numbers (looks nicer, and is slightly less risky)
- use var keyword on functions
2007-06-17 13:44:54 +00:00
mfranz
75a2b57a83 - move dialog registration to the Dialog class
- fix documentation
2007-06-15 16:22:13 +00:00
mfranz
7518aa645b - dialog-close for the original (non-cloned) dialog instance
- simplify close() function for cloned instances (ignore errors via call())
2007-06-14 23:09:01 +00:00
mfranz
e3936992d5 - don't choke on dirs for which we don't have permission
- don't delete input field on dir changes
- wider OK button (meant for defining the purpose of the file selection)
2007-06-14 15:27:49 +00:00