1
0
Fork 0
Commit graph

133 commits

Author SHA1 Message Date
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
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
4be84e1609 use more sophisticated screenshot binding from $FG_ROOT/keyboard.xml 2008-04-26 23:14:42 +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
timoore
21331892cf precipitation dialog 2008-03-04 08:46:52 +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
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
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
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
2ae2d60de2 add status feedback for dynamic view toggle entry 2007-06-17 11:35:35 +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
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
420b9bff99 allow to open several property browsers via menu 2007-02-10 23:50:41 +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
mfranz
e846e6e37c add dynamic cockpit view entry 2006-08-17 15:53:02 +00:00
mfranz
e2906cb09d add stopwatch dialog to Debug menu 2006-08-05 07:34:53 +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
337b38ad70 the hud dialog is no longer only about transparency 2006-06-07 19:44:29 +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
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
446cc37d3c - more accurate menu entry for the Route Manager
- new dialog name
2006-05-10 09:43:18 +00:00
mfranz
b73dec0724 use new route/waypoint management functions 2006-05-08 14:36:09 +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
3e98f8353c cosmetics 2006-02-24 15:54:45 +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
ceeb9503f8 Stuart BUCHANAN:
Nasal/XML based tutorial system
2006-02-22 17:03:42 +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
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
eeff07c0e7 replace hard-coded HUD config dialog with NewGUI dialog 2005-11-09 10:42:34 +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
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
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
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
curt
d5930857cc Have the hires screen shot menu item point to the right command. 2004-09-27 02:40:10 +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
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
curt
6e40f10ab9 Add a sound config dialog box, needs some work but doesn't hurt anything. 2004-05-14 16:21:11 +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
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
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
curt
8adb95c719 Added a replay manager dialog box.
Other misc. tweaks and updates.
2003-09-11 19:35:18 +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
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
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
b4ffd71b32 Added a State/Logging dialog. 2003-02-01 18:02:02 +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
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
e495b1d4b8 Recreate old menu, with some additions. 2003-01-18 17:29:26 +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