1
0
Fork 0
Commit graph

45 commits

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