1
0
Fork 0
Commit graph

964 commits

Author SHA1 Message Date
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
ba028e8a54 Add layered clouds 2010-04-12 21:21:43 +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
38832daf77 Route-manager - replace pop/clear items with prev/next items, which are more useful in the new waypoint scheme. 2010-03-27 17:16: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
sydadams
b5842d3937 Added the missing "view options" 2009-12-05 23:09:12 +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
stuart
226ba90191 Minor menu bar changes:
- Move Stopwatch to Equipment, as it is of user to non-dev users.
- Add menu item for the tutorial marker dialog to the Debug menu.
2009-12-05 14:36:51 +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
stuart
8fad7cff18 Change "Adjust View Distance" to "Adjust View Position", as suggeested by Jacob BURBACH. 2009-11-22 17:32: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
ehofman
4f0cab99f6 Add easy reloading of generic network protocol 2009-09-07 07:33:15 +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
f181fd1040 Revert personal entries from checked-in menu bar. 2009-02-12 20:39:40 +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
532e340e94 start with chat-full (history) mode, as there's already the _ input line anyway 2009-02-04 22:19:36 +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
c795f30862 define baseline height 2009-01-31 12:46:49 +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
1fe5ace8b5 Anders GIDENSTAM: wildfire (read $FG_ROOT/Models/Effects/Wildfire/README) 2009-01-18 15:43:08 +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
mfranz
8e2fe030c6 swap "save" and "load" to the typical order across operating systems, even
though the natural order would be "save" -> "load")
2008-07-29 00:09:57 +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
7707ddad32 - replace depreciated fgcommand "old-reinit-dialog" by "reset"
- keyboard.xml: cosmetics
2008-07-09 12:26:18 +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
5aa1cb5296 change "Multiplayer" to "Network" because:
- Multiplayer is too long for a menu entry that is greyed out most of
  the time for many people
- I don't like having the word "player" in front of me all the time
  (FlightGear Is Not A Game[TM] :-)

Should we shorten it further to just "Net"?
2008-06-12 05:45:01 +00:00
stuart
c85be81196 Collate Dynamic Cockpit view toggle with blackout and G-compression toggles into a new Cockpit View Options dialog. 2008-06-11 21:20:43 +00:00
stuart
510842c15a Make Pilot List label consistent with rest of menu items. 2008-06-11 19:22:22 +00:00
mfranz
4f7481fea8 add Multiplayer menu with chat & pilot list 2008-06-11 18:40:51 +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
4be84e1609 use more sophisticated screenshot binding from $FG_ROOT/keyboard.xml 2008-04-26 23:14:42 +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
d285a3598b - initialize /sim/rendering/on-screen-statistics, and
- increase it in steps from Menu->Debug
2008-04-21 14:21:14 +00:00
mfranz
88d8169764 - move OSG's "on-screen-statistics" function to the Debug menu
- add "print-statistics" menu entry
2008-04-20 18:28:11 +00:00
stuart
071c2e913b Change Weather menu to Environment. This more closely reflects its contents, as it includes a Time Settings menu. 2008-04-20 16:19:59 +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
mfranz
9090c1bf74 remove garbage 2007-12-08 19:31:19 +00:00
vmmeazza
4ee3367452 Stuart Buchanan:
Add chat menu
2007-12-08 19:01:03 +00:00
mfranz
e5db56287d Stuart BUCHANAN: s/Time of Day/Time Settings/ 2007-12-05 07:58:33 +00:00
mfranz
f671f0b0f7 add glide slope tunnel option to help menu 2007-12-04 10:51:45 +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
99bcbe8ea5 change global dynamic-view flag from /sim/view[0]/dynamic/enabled to
/sim/current-view/dynamic-view. There are additionally <dynamic-view>
settings per view, but those only enable it for that view if it's
globally turned on.
2007-11-03 14:08:39 +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
2ae2d60de2 add status feedback for dynamic view toggle entry 2007-06-17 11:35:35 +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
mfranz
8e4209c5cb first stab at file-select dialog. Initial target dir can be set in
/sim/gui/dialogs/file-select/directory, the selected file's full path
is returned in /sim/gui/dialogs/file-select/directory. There will be
a gui.file_selector class that allows to have more than one of these
dialogs open, where each of them reports the result to a callback function.

The dialog toggles dotfile display with ctrl-click on the "." entry,
and switches to FG_ROOT and FG_HOME with ctrl-click and shift-click on
the ".." entry.

This dialog is ATM not used anywhere in fgfs, but might be needed by
add-ons, much like the xml.nas code. Note that backslashes are converted
to slashes, which should ensure that no characters can be sneaked in
on UNIX systems. This breaks files containing escaped characters on
MS Windows. Fix for that on request. :-)  Special characters (like German
umlauts) aren't displayed correctly, but properly returned. (Depending
on the plib font.)
2007-06-13 21:20:04 +00:00
sydadams
e828ba548f Moved ATC "aircraft" dialogs out of gui/dialogs 2007-06-06 02:56:31 +00:00
mfranz
c050b436fa livery handling: add sort option and next()/previous() methods 2007-06-05 14:21:12 +00:00
mfranz
72668e2931 livery selection dialog -- see aircraft.nas -> livery 2007-06-04 13:46:24 +00:00
sydadams
63bfa05977 changed these to draggable until I figure out why they dont scale with window resolution 2007-06-03 16:22:30 +00:00
sydadams
8cfd32dd2d Added dialogs for the ' aircraft' ATC... 2007-06-03 06:26:37 +00:00
mfranz
378540bcf3 - fix Nasal error: "props.setDoubleValue() with non-number"
- use var keyword everywhere, cosmetics
2007-05-31 14:31:08 +00:00
frohlich
a851a1824e Modified Files:
gui/menubar.xml: Tim Moore:
	These patches implement a command to dump the entire OSG scene graph as
 	a .osg text file. While large, this allows debuggers to really see
 	what's happening in the scene graph.
2007-05-26 11:43:27 +00:00
mfranz
065bd859d6 don't pause the update loop 2007-05-07 16:24:16 +00:00
sydadams
bafa93e8fd Added volume control to the atc-chatter 2007-04-19 04:42:20 +00:00
mfranz
6af3e31f12 what about making sure the node exists? That way others can see the
new buttons and features, too.  :-}
2007-04-01 13:38:35 +00:00
mfranz
e7837e32a2 note to myself: when you steal from somewhere, hide the evidence! :-) 2007-03-29 20:00:15 +00:00
mfranz
d10d5980ca apply/store editfield values on Clear/Print/Execute/leave 2007-03-29 14:53:40 +00:00
mfranz
879620694e - offer 10 "tabs" (with more configurable) where each can contain Nasal code;
all code shares a common namespace, so variables defined in one tab can
  be used in another during the whole fgfs session
- make code persistent (saved in autosave.xml)
- better error messages (code borrowed from nasal/lib/interactive.nas)
- clear button (replaces close button, which is now on the title bar)
- help button (explains how to add more tab buttons, etc.)
2007-03-28 14:59:22 +00:00
mfranz
9e5a18207f export <view> on [Dump], too 2007-03-26 22:48:10 +00:00
mfranz
c1c86bb8a5 - use <hrule/> and <vrule/> without dummy children
- minor improvements/cosmetics
2007-03-26 15:25:27 +00:00
mfranz
b2fe43808c alining <textarea> and <list> looks nicer 2007-03-24 21:33:23 +00:00
mfranz
2a9993c37e minor adjustment of the <list> box 2007-03-24 21:02:45 +00:00
mfranz
269396c421 - remove tutorial dialogs from gui.nas and create a new XML dialog
$FG_ROOT/gui/dialogs/tutorial.xml. It combines the former selection
  and description dialogs, which makes browsing much more pleasant.
  No more switching back and forth between the two old dialogs. Also,
  the <list> box can handle a bigger number of tutorials than the
  <combo> box could.
- remove comments from the top of tutorial.nas. The documentation is
  now $FG_ROOT/Docs/README.tutorials
2007-03-24 20:56:40 +00:00
mfranz
b47f8f439d change <marker><[xyz]> to <marker><[xyz]-m> (for consistency with the
animation syntax, and to make tutorials noisier and harder to read :-)
2007-03-24 18:10:33 +00:00
mfranz
20fa1233fb better output coords with tenth of mm 2007-03-20 21:53:25 +00:00
mfranz
318c08f9c7 - reverse longitudinal axis
- add reset button (moves cursor back to origin)
- make Ctrl/Shift scale movements (coarser/finer)
2007-03-20 16:17:47 +00:00
mfranz
a7d30fa76e fix broken and inconsistent indentation 2007-03-20 00:07:00 +00:00
mfranz
d4863a1001 adjustment dialog for tutorial markers 2007-03-19 23:29:54 +00:00
sydadams
2cdd9418d4 Added a Flightdirector Mode checkbox to the Autopilot dialog (Autopilot on / off) for the Primus 1000 system.... 2007-03-18 04:18:20 +00:00
mfranz
ba429a7110 rename default.xml to classic.xml (who says that this needs to be the
default? :-)
2007-03-16 10:47:14 +00:00
mfranz
420b9bff99 allow to open several property browsers via menu 2007-02-10 23:50:41 +00:00
mfranz
fe0d940a8f - center title (like the other help dialogs)
- s/Configuration/Driver/
- yet more cosmetics  :-)
2006-10-21 22:03:01 +00:00
mfranz
cf332a5f33 - make it prettier
- add optional <help> text on the bottom
2006-10-21 13:50:54 +00:00
mfranz
d31c5389ef - s/Btn/Button/
- simplification
2006-10-21 11:46:43 +00:00
mfranz
7f31a17f72 no comma after last <name> 2006-10-21 10:50:42 +00:00
mfranz
f3d790eb26 add joystick info dialog 2006-10-21 10:19:04 +00:00
mfranz
e4ae076a21 remove entry for old property dialog (which will follow soon) 2006-10-21 10:16:23 +00:00
frohlich
9c52cbf4ac Modified Files:
preferences.xml gui/menubar.xml gui/dialogs/rendering.xml
Added Files:
	Nasal/multiplayer.nas gui/dialogs/chat.xml
	gui/dialogs/chat_full.xml:
	the data part of Stuarts multiplayer/chat patch
2006-10-10 05:23:38 +00:00
mfranz
e0b80f625d give dynamic view entry a name 2006-08-21 09:42:58 +00:00
curt
a6ebef1d0a Make lead aircraft behavior more uniform/predictable/repeatable. 2006-08-20 00:54:53 +00:00
mfranz
e846e6e37c add dynamic cockpit view entry 2006-08-17 15:53:02 +00:00
mfranz
31307ae9e0 1/1000 sec resolution is a bit optimistic. 1/10 should be enough. :-) 2006-08-07 16:42:35 +00:00
mfranz
e2906cb09d add stopwatch dialog to Debug menu 2006-08-05 07:34:53 +00:00
mfranz
bd28941f61 stopwatch dialog 2006-08-05 07:33:48 +00:00
mfranz
05c5b3ff5a consistent property path naming 2006-07-27 14:32:57 +00:00
curt
0cc2cf1388 Move task selection dialog box here. 2006-07-27 04:01:44 +00:00
curt
ff8ee80ece Add an option to toggle point sprites on/off for runway lighting. 2006-07-20 14:30:03 +00:00
mfranz
19134637c9 don't use obsolete lon/lat format command, but cycle /sim/lon-lat-format
through 0 -> 1 -> 2 -> 0 ...
2006-06-17 16:36:06 +00:00
mfranz
2a20cdecf6 add transparency checkbox 2006-06-09 20:35:44 +00:00
mfranz
daaf1c5879 - fix indentation
- remove shadow devel checkbox, unless /sim/devel is set
2006-06-08 17:21:57 +00:00
mfranz
176d08e746 - update paths
- add color/clamp sliders in devel mode
2006-06-08 17:16:00 +00:00
mfranz
337b38ad70 the hud dialog is no longer only about transparency 2006-06-07 19:44:29 +00:00
mfranz
627da1ed88 add brightness slider 2006-06-07 19:43:45 +00:00
mfranz
af6634e58a copy splash colors/fonts from default.xml, as the splash screen will read
them now from the selected style, and not always from /sim/gui/style[0]
2006-06-05 22:02:44 +00:00
mfranz
944531e852 set old splash font as default; all fonts in the comment on top of the file
are available
2006-06-05 20:51:06 +00:00
mfranz
715a7dc50e cosmetics 2006-05-26 10:42:45 +00:00
mfranz
dfe86f89e6 fix update() for the root dialog 2006-05-26 08:50:14 +00:00
mfranz
738b5eea60 who said cloning was bad? 2006-05-26 08:30:41 +00:00
mfranz
d01ec5042b from the cosmetics department ... 2006-05-25 18:12:52 +00:00
mfranz
ae4ac0ea2d two lines less is still three lines more than in the old dialog 2006-05-24 21:19:53 +00:00
mfranz
2281563b22 cleanup 2006-05-24 09:36:20 +00:00
mfranz
c1754859e3 update widget every two seconds in addition to the usual updates. This
works for tied() properties, too. Search for "update_interval" and set
it to 0 if you don't want these updates at all.
2006-05-23 20:30:32 +00:00
mfranz
153f8a8aed swap old & new property dialog (to get more testing & to annoy people) 2006-05-23 09:48:04 +00:00
mfranz
b7f4916161 - improved layout (The close button was in the way. Is the "window" close
button oK?)
- print fancy hint in the title bar if someone selects a bool value
2006-05-23 09:46:57 +00:00
mfranz
efde6c834f alternative property browser. It is meant to replace the hardcoded browser,
but as this is an integral part of FlightGear, I don't want to push for it.
Try out and comment. It's available under "Debug/Property Browser". Note,
that this isn't the slow pure-Nasal implementation, but a regular dialog
using a c++ based widget. Only the handling is done in Nasal, so there should
really be not performance degradation compared with the old dialog.

Easter Eggs: some entries work differently when the Control-key is pressed:
"."         ->  toggle output of SGPropertyNode flags
".."        ->  go to root (not just one dir level)
bool entry  ->  toggle bool entry value
2006-05-22 17:42:57 +00:00
mfranz
bb8b06e294 - consider --units-meters option for altitude display (Note that the option
has to be given before a --wp or --flight-plan option to work.)
- let the "Remove" button remove the first entry by default, not the last.
  (Note that you can remove any entry if you selected it in the list first.
  Likewise you can insert a new waypoint at any position by selecting the
  respective entry.)
2006-05-11 14:56:55 +00:00
mfranz
3cf9901ce2 autopilot.xml: pick up initial mode
route-managers.xml: cosmetics
2006-05-10 20:24:21 +00:00
mfranz
446cc37d3c - more accurate menu entry for the Route Manager
- new dialog name
2006-05-10 09:43:18 +00:00
mfranz
3c28a4a142 - rename waypoints.xml -> route-manager.xml for consistency reasons
- increase lon/lat precision
2006-05-10 09:42:27 +00:00
mfranz
c620142778 display valid target altitudes only 2006-05-09 20:59:07 +00:00
mfranz
b73dec0724 use new route/waypoint management functions 2006-05-08 14:36:09 +00:00
mfranz
2d16a480ad waypoint manager dialog 2006-05-08 14:15:39 +00:00
mfranz
f7c5a40597 some more object-oriented-ness & cleanup 2006-04-06 09:48:38 +00:00
mfranz
ec42d928df initialize input field properties if necessary 2006-04-06 07:10:13 +00:00
mfranz
4a0b56deb3 - now that XML dialogs run their own Nasal namespace and have <open> and
<close> block, remove autopilot helper file autopilot.nas and (re)implement
  its functionality in autopilot.xml
- make AP dialog "bidirectional" and "live": all input fields are <live>
  (i.e. they are updated as the autopilot settings are changed, for example
  by panel actions or property browser changes)
- dialog input is only forwarded to the AP; no direct checkbox/radiobutton
  handling through widget operation, instead:
- changes to the AP properties operate checkboxes/radiobuttons

This makes the AP dialog always reflect the AP state. If the AP refuses
one setting and sets it back to something else, then the dialog will
immediately react and show the actual setting.
2006-04-05 20:24:21 +00:00
mfranz
cb2f06992f empty input fields. (You usually call that dialog to enter a new airport.
Use "reset"/Shift-Esc to go to the start airport again.)
2006-03-31 10:30:46 +00:00
mfranz
0aad05f9a8 - add title <hrule>
- remove comment about values not being permanent. (-> $FG_HOME/autosave.xml
2006-03-31 10:29:07 +00:00
mfranz
870ca890e9 high-res screenshots don't work; they save a huge image with 3x3 times the
same lowres screen
2006-03-31 10:27:05 +00:00
mfranz
753ac09c0d support filtering. The [Search] button is only there for people who don't
know that the <Tab> key validates the input, too.
2006-03-31 10:26:08 +00:00
mfranz
f0d7ab3766 - remove stale comment
- add the yellow title line  :-)
2006-03-25 07:49:52 +00:00
mfranz
d61de93a6e be slightly more efficient and slightly less verbose 2006-03-22 22:08:15 +00:00
mfranz
c7d736351f Stuart BUCHANAN: new layout; radio buttons for more clarity (for the user,
but also for fgfs)

mf: converted to use new <nasal> feature
2006-03-08 10:50:14 +00:00
mfranz
bd03e147d2 intermediate version: new layout, less sophisticated, but easier for beginners 2006-02-26 19:10:21 +00:00
mfranz
3e98f8353c cosmetics 2006-02-24 15:54:45 +00:00
mfranz
e2cd02bb72 fix slider 2006-02-24 11:01:17 +00:00
mfranz
581e834623 different names for start & stop tutorial 2006-02-24 11:00:50 +00:00
mfranz
d9bbddfe3d - make menuEnable() operate on all menus/items with that name (don't stop
when the first was found)
- disable tutorial entries if no tutorial is available
2006-02-23 18:52:32 +00:00
mfranz
c8abab1fcf add checkbox for carrier elevator operation;
let both carrier checkboxes affect all available carriers
2006-02-23 17:31:08 +00:00
mfranz
20f8329175 Stuart BUCHANAN: left align checkboxes
mf: add some space
2006-02-23 11:17:51 +00:00
mfranz
cc6c40026e not everyone likes the new version ... 2006-02-22 22:43:21 +00:00
mfranz
ceeb9503f8 Stuart BUCHANAN:
Nasal/XML based tutorial system
2006-02-22 17:03:42 +00:00
mfranz
a1a5a7e618 make input fields instantaneous, like the check- and radioboxes (which is
not only more consistent, but also makes the autopilot dialog act more like
the real device). Add a few rules. Move the checkboxes to the left, as it's
usually done in GUIs for switches that enable/disable a group of widgets.
2006-02-16 15:43:30 +00:00
mfranz
83257a80b8 Ctrl-P to print (because we can :-) 2006-02-15 16:37:23 +00:00
mfranz
2d0cc4d156 add "Print" button to print code to terminal window 2006-02-15 12:15:37 +00:00
mfranz
182d35ec17 save code on close 2006-02-15 10:38:13 +00:00
mfranz
fabf21cf8d add Nasal console to debug menu. Usage: enter Nasal code, press <TAB> to
leave edit field!, press <Return> to execute;  as an example try
screen.log.write("hello world"), or f16.canopy.open() in the F16,
or bo105.doors[3].move(0.3) in the Bo105 etc.
2006-02-15 10:33:38 +00:00
mfranz
26a03db5b6 Just a gimmick: make background color configurable. Maybe some dark color
might look nicer for certain aircraft specific splash screens. Test with:
$ fgfs --prop:/sim/gui/colors/splash-screen/blue=0.35
2006-02-12 20:37:21 +00:00
mfranz
f91a0a1396 the Helvetical.txf just doesn't work in brighter colors 2006-02-11 12:04:49 +00:00
mfranz
8e4bc2f2ce add message-display font specification 2006-02-04 13:07:19 +00:00
mfranz
24139b8600 use layouter and fixed font 2006-01-28 11:50:03 +00:00
curt
0dc95f3604 Add a check box to turn on/off background ATC chatter. 2006-01-09 14:40:01 +00:00
mfranz
df6d7171a6 - fps.xml: revive the traditional font color (a bit brighter than pure red)
- gui.nas: use 4-space indents like the rest of the file; waste slightly less
           cycles: checking for the property shouldn't be done in a loop at
           all, it only serves as a temporary solution
2005-12-16 12:14:43 +00:00
mfranz
fbd735408d implement frame rate display as transparent & draggable dialog
(ordered by Curt as Christmas present :-)
2005-12-15 22:00:31 +00:00
mfranz
5c4731ea93 s/OK/Close/; hrule; cleanup 2005-12-14 12:43:10 +00:00
mfranz
acebb0015a "OK" what? (If there's no title, then the button should at least tell us.) 2005-12-14 12:37:17 +00:00
mfranz
ab06f70d62 add UTC and local time (live updated) 2005-12-14 12:16:11 +00:00
mfranz
2409d0f6d3 use layouter; add <key> defs
- left column:  local (sim) time  (0-key)
- right column: daytimes          (1--7 key)
2005-12-14 10:38:38 +00:00
mfranz
f39389ed91 the VERA_12B font has been renamed to SANS_12B 2005-12-11 20:40:47 +00:00
mfranz
b8886814ec Access menu entries by their name. This way we can avoid fragile absolute
paths. (The label text isn't suitable for this, because it's subject to
translation.)
2005-12-09 10:34:43 +00:00
mfranz
4e4789b560 disable "Fuel & Payload" entry; this is enabled for YASim aircraft in gui.nas 2005-12-06 17:58:41 +00:00
mfranz
d98ab96831 set editable textboxes to "Yeukky Yellow"[TM] input field color 2005-11-09 18:25:16 +00:00
mfranz
a3471e2897 set "textbox" color; set "inputfield" colors (pending plib patch; will
be ignored when used with unpatched plib)
2005-11-09 17:49:25 +00:00
mfranz
eeff07c0e7 replace hard-coded HUD config dialog with NewGUI dialog 2005-11-09 10:42:34 +00:00
mfranz
759ff1b715 capitalization fix 2005-11-08 19:25:36 +00:00
mfranz
fc73b6d772 put "ATC communication" dialog vertically centered at the right screen
edge; there it doesn't obstruct the view at the runway, doesn't hide
important instruments, and is near the radio stack (where it belongs :-)
2005-11-07 00:06:02 +00:00
mfranz
30f26cfa4e close frequency search dialog on quick-button press; center frequency
search and display dialog; move atc dialog down a bit
2005-11-06 20:22:43 +00: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
mfranz
47854e84e5 use wrapping <textbox> for METAR maessages. (<input> doesn't allow
multi-line content and draws parts ouside the widget.)
2005-11-04 20:09:31 +00:00
mfranz
02b79bb3aa add <keynum> to trigger pre-defined transmissions via keyboard
("1", "2", ...). The real key number is set from ATCDialog.cxx.
2005-11-02 13:14:15 +00:00
mfranz
c3442aa9d8 Formerly hard-coded dialogs from ATCDialog.cxx. Some text will be
overwritten by C++ code before displaying. These are written in
upper case letters, but this is only a hint for editors of this
file and doesn't impress ATCDialog.cxx.
2005-10-26 17:59:28 +00:00
mfranz
5fd4c0d7dc now that the <text> shift bug is fixed, we don't need that much space
to hide it any more
2005-10-21 19:25:40 +00:00
mfranz
851860101e Title <hrules> are only one pixel high (maybe make that settable in the
gui style later). The dummy is a temporary workaround. When the underlying
bug is fixed, the whole line will just be <hrule/>.
2005-10-20 13:54:53 +00:00
mfranz
8e281e4f33 generic one-button message dialog. Used for screenshot and browser help
confirmation and other message boxes. Message and button text are filled
in by the calling code.
2005-10-20 12:44:11 +00:00
andy
2cce6759ff Vassilli added a dialog under location that allows the user to set the
tower location dynamically at runtime.
2005-10-19 19:22:16 +00:00
mfranz
26c5f9e0bd no more fixed coords -> use layouter 2005-10-02 19:56:44 +00:00
mfranz
013020f346 Vivian MEAZZA:
add option that tells the carrier to line up with the wind direction
2005-10-02 09:57:35 +00:00
ehofman
56d21629a6 Add a file that was left in a previously non-exsistent dialog dirextory. 2005-10-01 11:11:45 +00:00
ehofman
d86391cd03 Harald JOHNSEN:
added a new scenario 'none' so we can switch back to standard flightgear weather
2005-08-22 17:41:58 +00:00
ehofman
ace9790ced Harald JOHNSEN:
I added an option to disable the recording of replay data. It takes more cpu than we can think.
2005-07-31 08:52:26 +00:00
ehofman
26fc44aa32 Harald JOHNSEN:
Changes
=======

- shadowvolume.cxx, renderer.cxx :
  - reduced the polygon offset a bit to eliminate some artifact ;
  - changed again the cleanup code for objects inside a tile because it could crash on rare occasion ;
  - the culling of shadow casters has been rewritten to traverse the scene graph, it should be
    a bit faster when there is a lot of objects ;
  - the range selector was not correctly handled, sometimes the wrong LOD was casting shadows.
  - added the option to display aircraft's transparent objects after the shadows, this will
    reduce the problem of shadows being hidden by the transparent object (propeller disk,
    rotor, etc). A side effect is that aircraft's transparent objects won't receive shadows
    anymore. This is usually a good thing except when the aircraft use a 'transparent'
    texture where it should not. A transparent texture in the plib context is a texture
    with an alpha channel or a material with alpha <= 0.99.

- model.cxx, animation.cxx, shadowvolume.cxx :
  - added an optional <condition> under the <noshadow> animation

- tower.cxx
  - correct a rare bug where all occurences of the aircraft are not deleted from the
  departure list causing a crash in FGTower::CheckDepartureList function.
2005-07-18 16:58:52 +00:00
mfranz
47436f4676 make text color a bit brighter 2005-07-13 11:32:37 +00:00
mfranz
d4f33ef4c2 fix input field color 2005-07-13 11:03:16 +00:00
mfranz
34dd362fd7 moved to styles/ 2005-07-13 10:56:03 +00:00
mfranz
79ba75f01b - create styles directory
- move old style there, named "default.xml"
- add experimental style: "anthrax.xml" ("anthracite.xml" was too long :-)
2005-07-13 10:53:38 +00:00
mfranz
30526c9307 fix typo; rule instead of underscores 2005-07-11 08:27:47 +00:00
mfranz
7c0b24a30c cleanup (setting "combo" properties doesn't work due to yet another plib bug) 2005-07-11 08:08:19 +00:00
mfranz
3f8c5f59c9 style resembles original style much better now; dialogs are still too
opaque.
2005-07-08 23:32:46 +00:00
mfranz
a14392d518 font name change due to license requirements 2005-07-08 13:30:15 +00:00
mfranz
114eceb823 make "OK" the default button 2005-07-08 07:08:55 +00:00
mfranz
350386e4f5 - simple style file, that is supposed to eventually define the old fgfs
style by means of the new "theme engine". Currently there are some
  differences, though.
2005-07-07 21:03:15 +00:00
mfranz
83356869b2 <format>s are only applied again on updated values if they are <live>
(does that make sense?)
2005-07-05 09:12:23 +00:00
ehofman
49ebb5b7a7 Depreciate the old-pilot-offset-dialog. 2005-07-05 08:51:18 +00:00
ehofman
c24684b0bf Depreciate the old-load/save-dialog code. 2005-07-04 14:40:35 +00:00
mfranz
ceb8abd810 - move <hrule> to correct place and add a dummy child
- fix indentation
2005-07-02 20:51:09 +00:00
ehofman
07aaf76d45 Harald JOHNSEN:
Changes
=======

New volumetric shadows for FlightGear.

There is now two new checkboxes in the rendering dialog to enable/disable shadows
for the user aircraft and for static scenery objects (ie those defined in the .stg files).
AI and random objects are not handled for the moment.


known bugs
==========
- ghost objects
2005-06-26 17:19:58 +00:00
mfranz
336969e3f0 spelling fixes (thanks to Vivian) 2005-05-15 16:34:00 +00:00
ehofman
fec33019cb Harald JOHNSEN:
This is another update for the cloud code, a lot of lines but this time I have started to add the doxygen doc.

Misc
====

- corrected a bug when RTT is not available, the current rendering context was
  altered
- if RTT is not available then 3d clouds are not drawn at all
- impostors lighting is now recomputed when the sun changes position
- distant objects are no more seen in front of clouds
- blending of distant clouds is a bit better now
- litle optimization of code (uses a less cpu time)
- use layer wind speed and direction (no more hardcoded wind)
- fov is no more hardcoded

Changes
=======

- clouds (cu only) are dissipating/reforming (experimental)
- compute a turbulence factor that depends on surrounding clouds and type of
  clouds (experimental)
- clouds shapes are defined in cloudlayers.xml
- type of clouds present in a layer is also defined in cloudlayers.xml
- cloud layers are generated from metar and other misc. data (in progress)
- added a rain effect around the viewer (enabled in the rendering dialog and
  when the metar property says so)
- added a lightning effect (enabled in the rendering dialog) : cb clouds spawn
  new lightnings
- added a dialog to select from different weather source : metar/property,
  a 'fair weather' environment and a 'thunderstorm' environment.
2005-05-15 09:25:17 +00:00
mfranz
3640023300 don't use /sim/ATC/ and /sim/atc/ wildly mixed together; it's lower case
everywhere, just as in every other property name
2005-05-10 09:41:19 +00:00
ehofman
1846713b30 Clean up the appearance a bit. 2005-05-06 14:01:46 +00:00
ehofman
ba579498ae Harald Johnsen: Add a texture resolution option. 2005-04-26 20:15:48 +00:00
mfranz
3853443009 the frame rate display setting shouldn't be between two cloud settings 2005-04-24 16:37:01 +00:00
mfranz
58e9c01b70 - better apply each of the changes immediately, so that users can decide if
they want the feature or not, based on what they see. Having to click on
  "Apply" every time is cumbersome.
- show the slider values
- remove the now obsolete buttons (KISS)
- added "my" title bar, albeit without close button (I was *very* tempted :-)
2005-04-24 16:31:05 +00:00
ehofman
f6107604d2 Remove DOS line endings. 2005-04-24 14:19:49 +00:00
ehofman
8c641c44e3 Harald Johnson:
- new and updated sources for the new volumetric clouds
- 2 new textures for the clouds
- an update to the render dialog to enable/disable and change a few parameters
  for the new clouds
2005-04-24 11:18:27 +00:00
ehofman
ec8742bd65 Melchior FRANZ:
Implement simple help system with global and aircraft specific dialogs:

The gui.nas changes have been discussed with Andy. All ac have a help dialog,
but some are empty. (This wouldn't have been necessary, as the system falls
back to the "Common Aircraft Keys" if an aircraft has no help defined, but an
empty dialog is less confusing and encourages to be filled with interesting
information.   :-)    I scanned all aircraft files for interesting performance
data and added some to the dialogs (stall speed, etc.) The Concorde and the
p51d have (over?)complete dialogs and can serve as examples. The format is
documented in $FG_ROOT/Nasa/gui.nas.

There is also a couple of other, minor fixes.

The following files have ugly MSDOS line endings:

  $FG_ROOT/Aircraft/Hunter/hunter{-2tanks,}-set.xml
  $FG_ROOT/Aircraft/A380/A380-set.xml


The Concorde-jsbsim.nas file is a useless copy of the real */nas file, which is
in Nasal/. I'was debugging the Concorde and wondered why changes to this file
had no effect ...
(Fixed Concorde in the help-ac.diff patch: don't use "interpol" keyword as
variable.)
2005-04-19 13:43:44 +00:00
ehofman
54aef2464c Andrew Midson:
I have made the
'Select Airport from List' option in FlightGear work
(I think) properly. I have some concerns about the
solution, which could be broken by changes to plib (if
they re-use the value I have assigned to
PUCLASS_LIST), but for the moment it seems to work OK.

Erik Hofman:
A request has been sent to John Fay to include the puList
code in the puAux subdirectory of plib so expect some
changes for future version of FlightGear.
2005-01-31 10:37:21 +00:00
ehofman
417d884151 Melchior FRANZ:
Although this doesn't work anywhere but on my machine ... OK/Cancel
is completely out of place for this dialog. This has to be Apply/Close
or something.
2004-12-27 13:37:06 +00:00
david
e03ad7574e Fix a typo for the DME frequency property. 2004-12-21 22:53:05 +00:00
curt
789560ea22 Roy Vegard Ovesen:
I've finished the emigration of the radiostack, and I've also removed it
completely. It turned out that the comm radio is completely implemented in
the ATC subsystem. I've changed the affected ATC files to point
to /instrumentation/com, but I guess that the maintainer of the ATC code
should decide wether to make it configureable, and how.

I also had to change some files in Network and Main. The changes in network
should be obvious, but the changes in Main were a bit suspect. The files
included radiostack.hxx, but they weren't directly depending on
radiostack-hxx. They were depending on other files that were included by
radiostack.hxx. I got it to compile, but I'm not sure if I included the
correct directly depending file.

For the data directory I changed every occurrence of /radios/
with /instrumentation/ with this simple one-liner that I found on the net:

find -name '*.xml' -type f | xargs perl -pi -e
's/\/radios\//\/instrumentation\//g'

Instead of me sending all the files that got changed by this I suggest that
you execute the one-liner yourself. Of course I can not guarantee that this
will work perfectly, but I considered hand editing to be not an option (I'm
lazy). I don't want to test every aircraft to see if everything still works,
I think it's better to wait and see if anyone complaints about broken nav
radios/instruments.
2004-12-03 21:25:48 +00:00
curt
d5930857cc Have the hires screen shot menu item point to the right command. 2004-09-27 02:40:10 +00:00
jimw
ac791abbbe Scenery Loading popup message 2004-07-22 02:59:59 +00:00
david
a8556e0e65 Add a menu entry to reinitialize the input subsystem (say, after
plugging in a joystick).
2004-06-24 02:09:53 +00:00
curt
c4f0a58b8f Change the fps toggle property name a bit and add a toggle switch in the
gui/dialog/rendering box.
2004-06-14 16:39:00 +00:00
ehofman
786c052d51 Add a checkbox for bump-mapping 2d clouds. 2004-06-07 16:00:00 +00:00
andy
acb17eccc9 Really fun (and surprisingly easy) hack: a fuel and weight
configuration dialog box which automagically adapts itself to
aircraft configuration.  Only the A-4 and Cherokee are set up
currently.
2004-05-15 21:50:51 +00:00
andy
fcab4c6e7b That didn't work. I found out why and fixed it. (Heh. Don't put the
bindings on the group object.  Those don't fire callbacks very often.)
2004-05-14 21:57:33 +00:00
andy
cd9119008d Misc changes. Remove the width/height values for the slider, since
the root problem was a C++ bug.  Remove the no-op hbox around the mute
button, and make it "live" when clicked.  Tried to make the slider
live, but discovered that bindings don't work on them; gotta fix
that.  Change some of the wording to be more in line with standard
conventions; hopefully Curt's OK with that. :)
2004-05-14 17:35:18 +00:00
curt
6e40f10ab9 Add a sound config dialog box, needs some work but doesn't hurt anything. 2004-05-14 16:21:11 +00:00
andy
f49f0d18c7 Yank the duplicate target-speed input fields, and use a single one
that spans both rows.  It works well, but might be a little ugly...
2004-05-12 17:06:14 +00:00
andy
54954eb8de GUI layout management and a few visual/eye-candy modifications. See
DOCS/README.layout in the base package for details, along with the
modified dialog files.
2004-05-12 15:37:17 +00:00
ehofman
6ff20282a1 Add a dialog box to set the GPS waypoints. 2004-05-03 19:06:02 +00:00
david
88690cc523 Add a menu entry for the instrument settings dialog. 2004-03-23 21:41:32 +00:00
david
b0ffc44129 Added a simple, easy-to-use dialog for setting instruments (currently
the altimeter and heading indicator).
2004-03-23 21:41:16 +00:00
jimw
4bf0e50651 Add vertical speed hold to autopilot dialog 2004-03-21 22:23:41 +00:00
david
012ecde8d7 Fix the ADF properties. 2004-03-11 14:37:19 +00:00
daveluff
4f02c5d2cb Remove some more ^M's. For some reason d2u doesn't seem to have worked on these. 2004-03-09 13:18:23 +00:00
daveluff
dc0538cc8c Add a combo box to set AI traffic level, and remove the text about AI being limited to KEMT only 2004-03-09 12:32:04 +00:00
david
b3f89f30d7 Add the ability to select radials for the VOR and ADF, and add an OK
button.
2004-02-13 02:28:24 +00:00
curt
a180a0d659 Default autopilot tweaks. 2004-02-07 21:48:39 +00:00
curt
f2c9d6cbf0 Move the autopilot config reload over next to the gui and panel reloads
under the Debug menu.
2004-02-03 20:12:51 +00:00
curt
76a08b6467 Autopilot overhaul. 2004-01-31 19:55:13 +00:00
curt
37aaa25ed7 Make sure we zero out some of the other important properties which we don't
want to have values if we are starting on the ground.
2003-12-07 06:13:17 +00:00
curt
9f82101c7c Update the set aircraft location dialog box.
Make a new set location (on ground) dialog box which knows how to set up
the /sim/presets/ properties correctly for a new ground position.
For now leave the previous all-in-one dialog box for in-air resets.  However
this really needs some more work to make sure the /sim/presets properties get
set correctly.
2003-12-07 06:08:19 +00:00
ehofman
bc8dc5a466 Add a dialog box to adjust LOD ranges. 2003-11-29 14:20:00 +00:00
david
545a40e434 Add a dialog for selecting an airport from a scrolling list. 2003-11-27 23:43:43 +00:00
daveluff
9cb64c18be Added frequency lookup option to ATC menu 2003-10-10 15:12:04 +00:00
curt
2089bbbdcc Added of time of day setting dialog. 2003-09-17 15:49:39 +00:00
ehofman
5fe83c6353 Add the abillity to control specular highlight 2003-09-12 21:43:53 +00:00
curt
8adb95c719 Added a replay manager dialog box.
Other misc. tweaks and updates.
2003-09-11 19:35:18 +00:00
curt
168c485d1a Initial revision. 2003-09-11 19:15:38 +00:00
jimw
81e3edc10b Add V/S and A/T Speed to dialog 2003-07-19 21:11:44 +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
ehofman
33399078ca Add a rendering options menu 2003-06-17 17:48:37 +00:00
david
a48332cfdf Added initialization and user dialog for improved weather system. 2003-06-08 14:44:53 +00:00
ehofman
f96a39be06 Comment out the file selection menu option for now 2003-04-17 09:59:44 +00:00
david
b7f1ccffa0 Use "coverage" instead of "type".
Rename "mostly-cloudy" to "broken" and "mostly-sunny" to "scattered",
to follow standard weather terminology.

Add "few".
2003-04-05 03:36:20 +00:00
david
084a9af4b7 Add
Location/Random Attitude
  Weather/Random Weather
2003-04-04 22:42:53 +00:00
dluff
b43feaf879 Add menu entry for enabling/disabling ATC or AI traffic 2003-04-01 14:29:23 +00:00
dluff
c259e88235 ATC/AI dialog 2003-04-01 14:28:35 +00:00
ehofman
1d93977c29 A first stab at an aircraft selection dialog 2003-03-29 15:01:56 +00:00
david
66c8548366 Added radios dialog. 2003-03-02 23:05:15 +00:00
david
89450f824f Patch from Erik Hofman:
Add panel reload to the debug menu.
2003-03-02 13:45:39 +00:00
david
2ed26f0cfc Renamed 'presets' to 'location' to make the purpose more obvious.
Rearranged the menus for clarity.
2003-02-21 16:20:14 +00:00
david
fcf5f3e67b Added a slider for turbulence. 2003-02-12 00:32:53 +00:00
david
84d6970001 Added an 'interval' field at the top. 2003-02-01 18:09:09 +00:00
david
b4ffd71b32 Added a State/Logging dialog. 2003-02-01 18:02:02 +00:00
curt
913a943bf1 Updated to hopefully make this dialog box more "intuitive". 2003-01-27 19:55:48 +00:00
david
b9375d1005 Added instrument-failure dialog.
Cleaned up system-failure dialog.
2003-01-26 20:19:15 +00:00
david
1a88b26755 Started a "Failures" menu, and added a "System Failures" dialog. 2003-01-25 22:12:08 +00:00
david
a8ab993ef2 Use an XML-configured exit dialog. 2003-01-24 03:20:11 +00:00
david
6520b529e8 Start on a grand, unified presets dialog.
Use the existing command for screenshots.
2003-01-21 15:47:37 +00:00
david
95858c3944 Added "Debug" menu, with entry to reload the GUI. 2003-01-21 02:13:02 +00:00
david
9a83272a3e Remove obsolete 'type' subproperty. 2003-01-21 02:12:36 +00:00
david
e3f2145fc0 Remove obsolete 'type' subproperty.
Beautify and arrange in groups for maintainability.
2003-01-21 02:12:18 +00:00
david
0ad2c2b624 Use groups to make the dialog easier to maintain. 2003-01-20 12:56:42 +00:00
david
6f2b48f288 Switch to combo fields for the cloud types. 2003-01-19 23:05:31 +00:00
david
34ac18b305 Add checkboxes. 2003-01-19 17:23:38 +00:00
david
5094e52b16 Corrected typos "bindings" instead of "binding". 2003-01-19 15:53:32 +00:00
david
559aea7b99 Add "File/Reset", which was accidentally omitted. 2003-01-19 12:55:58 +00:00
david
462927b726 Switch to new, unified autopilot dialog, bound to the menu and to F11. 2003-01-18 22:04:50 +00:00
david
4240d5edb5 Move OK button towards the centre. 2003-01-18 17:37:05 +00:00
david
e495b1d4b8 Recreate old menu, with some additions. 2003-01-18 17:29:26 +00:00
david
2d30029764 New dialog for cloud layers. 2003-01-18 17:28:52 +00:00
david
c4c51e68be Added configuration file for new menubar.
Moved dialogs to a new dialogs/ subdirectory.

Added an 'air' dialog.
2003-01-16 18:17:28 +00:00
david
a5dcab7a5a Added a couple of simple demo dialogs, and bound the wind dialog to Ctrl-D. 2002-12-22 20:22:11 +00:00
david
a331b86e55 Instead of reading $FG_ROOT/gui.xml, recursively read all files under
the $FG_ROOT/gui/ directory; that way, each dialog can have a separate
configuration file, and management should be simpler.
2002-11-08 02:07:50 +00:00