1
0
Fork 0
Commit graph

76 commits

Author SHA1 Message Date
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