1
0
Fork 0
Commit graph

182 commits

Author SHA1 Message Date
ThorstenB
38653de528 Debug option to enable run-time timing statistics
(Statistics output is printed to console - don't expect fancy graphics!)
2011-03-23 23:18:37 +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
Gijs de Rooy
5c4bdb4a1f Revert adb57b8: screenshot directory dialog 2011-01-22 22:49:25 +01:00
Gijs de Rooy
692d9c3717 Add screenshot dialog, to select directory 2011-01-15 22:48:43 +01:00
Stuart Buchanan
467b4eef16 Add function to allow the binding of a menu item to be configured
through Nasal using a symbolic name.

Usage:

gui.menuBind("radio", "dialogs.Radio.open()");
2011-01-03 17:28:40 +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
Stuart Buchanan
5fa918de60 Re-instate Common Aircraft Keys, incorrectly removed by commit 33c1445. 2010-12-26 19:20:41 +00:00
Stuart Buchanan
6e42756aec Make capitalization consistent. 2010-12-26 12:33:16 +00:00
Stuart Buchanan
f4bab21d95 Remove duplicate menu from last commit. 2010-12-24 22:38:14 +00:00
Stuart Buchanan
c573322f35 Minor menu changes. Renaming AI menu items to remove the "AI" prefix, and replace "Options" with "Controls" where appropriate. e.g.
AI Tanker Options -> Tanker Controls
2010-12-24 22:29:08 +00:00
Tim Moore
5c3d4fb20d add a command to print information about visible objects 2010-11-15 11:05:32 +01: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
James Turner
76d339c0ac Update mirage2000 HUD to new syntax 2010-10-24 06:56:05 +01:00
Vivian Meazza
f411434f8c Merge branch 'Work' of \New Git\fgdata 2010-10-01 16:38:18 +01:00
Vivian Meazza
8a25cadc8a Add AIFormation.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-10-01 16:36:32 +01:00
Torsten Dreyer
d80e08992e add "local weather config" to the menubar 2010-09-25 15:12:34 +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
41ad86528c revert changes to top-level menu
Leave weather options alone
2010-09-23 00:17:25 +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
d13a73f7fd Restore "time" menu item
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-19 11:07:40 +01: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
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
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
d70fc6660e reinstated "Scenario"
other small tidy-ups
2010-09-08 00:12:24 +01:00
willie
7a8e8af600 minor typo clean up 2010-09-07 20:07:53 +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
willie
e78c042724 first trivial changes to menubar.xml for testing 2010-09-07 12:12:32 +01: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
Stuart Buchanan
bb9e21f6e6 Revert "Initial check-in of MP groups function"
This reverts commit e9113980449fe50eb186a3b2e26bc88dc613d841.
2010-06-27 23:23:56 +01:00
Stuart Buchanan
fee08cca57 Initial check-in of MP groups function 2010-06-18 21:13:47 +01:00
vmmeazza
ba028e8a54 Add layered clouds 2010-04-12 21:21:43 +00:00
torsten
0bc6f89071 Initial version for the AI-Scenario select-dialog 2010-04-09 09:45:25 +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
torsten
59846fb883 added an 'about' dialog 2010-03-18 08:23:23 +00:00
sydadams
b5842d3937 Added the missing "view options" 2009-12-05 23:09:12 +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
stuart
8fad7cff18 Change "Adjust View Distance" to "Adjust View Position", as suggeested by Jacob BURBACH. 2009-11-22 17:32:06 +00:00
sydadams
d6db41f31d Reorganized the rendering menu 2009-10-15 03:25:05 +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
ehofman
4f0cab99f6 Add easy reloading of generic network protocol 2009-09-07 07:33:15 +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
mfranz
5c41d1a99b allow aar-equipped aircraft to request a tanker everywhere without scenario 2009-03-15 16:13:55 +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
532e340e94 start with chat-full (history) mode, as there's already the _ input line anyway 2009-02-04 22:19:36 +00:00
mfranz
1fe5ace8b5 Anders GIDENSTAM: wildfire (read $FG_ROOT/Models/Effects/Wildfire/README) 2009-01-18 15:43:08 +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
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