1
0
Fork 0
Commit graph

2297 commits

Author SHA1 Message Date
mfranz
fe0d940a8f - center title (like the other help dialogs)
- s/Configuration/Driver/
- yet more cosmetics  :-)
2006-10-21 22:03:01 +00:00
mfranz
543b47232e - add missing <desc>riptions
- random cosmetics
2006-10-21 14:58:24 +00:00
mfranz
9352c3ae4f more consistent capitalization 2006-10-21 13:51:42 +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
b840984965 - add missing <desc>riptions
- random cosmetics
2006-10-21 11:27:58 +00:00
mfranz
7f31a17f72 no comma after last <name> 2006-10-21 10:50:42 +00:00
mfranz
018f89b932 improve descriptions, add button names
(if <name> isn't defined, "Axis #0", or "Btn #2" etc. are used in the
joystick info dialog; <name>s should at least be used for entries with
OS specific indices)
2006-10-21 10:21:45 +00:00
mfranz
76e6f5247a disable joystick info dialog if no js available 2006-10-21 10:19:24 +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
mfranz
2d2674d952 don't set nil values with props.setDoubleValue() 2006-10-17 20:33:02 +00:00
mfranz
82c4dd05ed - replace indentation tabs with spaces
- fix sliders: revisions 1.43/1.44 had introduced a mandatory <min-lb>;
  if that was missing, a slider without handle was generated, and a click
  on the slider lead to a crash.
  -> check for both <min-lb> and <max-lb> and set default values
     0, respectively 100

  var min = w.getNode("min-lb", 1).getValue();
  var max = w.getNode("max-lb", 1).getValue();
  slider.set("min", min != nil ? min : 0);
  slider.set("max", max != nil ? max : 100);
2006-10-17 19:22:36 +00:00
martin
26ac84dc67 Prepare for renaming in order to get closer to the original meaning in
the VMap0 spec.
2006-10-15 10:46:45 +00:00
martin
6d883e5fe5 My wife expects me to be correct about this .... ;-) 2006-10-14 22:32:04 +00:00
martin
bd560b9cd6 An early riser out of many steps in order to prepare for a cleanup of
the different Landcover material names. Completely harmless.
2006-10-14 22:06:20 +00:00
mfranz
f5544f0cb9 turn <power> off for cyclic control on helicopters, that is: when a
property /rotors is available at joystick driver laod time. Note that
the FDM creates /rotors *afterwards*, so it needs to be defined in the
*-set.xml file already (which is the case for all helicopters in CVS).
A simple, self-ending <rotors/> tag should do.
2006-10-12 13:55:15 +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
fredb
73878fc6b2 Fix axis numbers 2006-10-09 06:29:56 +00:00
andy
167c1cb319 Smaller spreadsheet tool thingies from Maik 2006-09-18 16:21:01 +00:00
andy
7a72ec6a08 Oops, this wasn't supposed to be removed. 2006-09-14 20:37:34 +00:00
andy
4ab5d1178b YASim helicopter documentation update from Maik (includes two copies of
some charted data in very large oofice/xls files, sorry).
2006-09-14 18:22:59 +00:00
mfranz
aad61698ff fix property_browser() 2006-08-27 19:27:21 +00:00
andy
d9ff131805 Oops, wrong sense of create predicte. Melchior was peeved. 2006-08-27 16:45:54 +00:00
andy
e2de2b4093 Melchior discovered an interpreter bug that is fixed (or seems to be
-- I need to verify) in current Nasal CVS.  Commit a workaround for
now.  Basically: don't return a tail call from a foreach.
2006-08-27 16:22:06 +00:00
mfranz
f6c6eaf5b7 minor cleanup & optmization
aar.nas disables $FG_ROOT/Nasal/fuel.nas' main loop, as it should be able
to fully replace it. Ideally, there would be no aar.nas at all, and fuel.nas
would do the job for YASim & JSBSim. Unfortunately, there's a problem with
fuel.nas that's not easy to fix ...
2006-08-27 13:38:29 +00:00
mfranz
8994a4df3f - merge YASim fuel management parts in (should still work with JSBSim as
far as this supports air refueling at all)
- make listeners keep variables up-to-date (for better performance)
- remove the ugly initialization stuff in the main loop, but wait in
  an extra loop for the FDM to come up

This script works now with the a4f, too. The vulcan2 is *supposed* to
work, but there's apparently a bug in it that prevents it.
/systems/refuel/contact is correcly set, and that should be enough for it.
2006-08-27 12:25:43 +00:00
mfranz
65d4a4ba0a add aar/radar capabilities (useful for aar testing) 2006-08-27 08:17:54 +00:00
mfranz
5011ae6ca4 generic aar.nas (air-to-air-refueling). Meant to replace all the files
lying around everywhere. Used by the vulcan2 already. Cleanup pending.
2006-08-26 17:47:53 +00:00
mfranz
1f57ea72b4 a global symbol must not only *contain* __dlg:property_browser, but
start with it. ("__dlg:" is the namespace prefix for Nasal embedded
in XML dialogs. Subsequent property browsers get a random number added.)
2006-08-26 13:23:06 +00:00
durk
499e47bede Added a new preference "instantaneous-action", which releases all
parked aircraft at program start. This is not only a useful test case
for the AIModels subsystem, but can also be used as an interesting demo.
2006-08-26 07:50:56 +00:00
mfranz
be8ca62fc9 cleanup: use new Widget.setBinding() 2006-08-26 07:32:16 +00:00
mfranz
74b5436cde call Dialog.load() from the new() constructor already 2006-08-25 20:13:58 +00:00
andy
b6fb9d031a Further augment the weight subsystem so that weights can be tagged with
tank indices, so that changing drop tanks automatically modifies the
corresponding FDM tank capacity (and load, if it is too high).

Add the new tank stuff to the harrier config, along with a few new
items (e.g. AMRAAMs on the outboard pylons) that aren't in the 3D
model yet, but correspond to actual usage.
2006-08-25 19:59:05 +00:00
mfranz
8751c296fa make KIAS and ALT tape equally wide (35) 2006-08-24 23:00:55 +00:00
andy
3e268e394c [Yes, Andy's writing code again. The world is ending.]
An IRC discussion about shavlir's (really nice) harrier model showed
that it had its own version of something like the Fuel & Weight
dialog, developed because the existing subsystem only supported
sliders and not "combo box" style selection for specific external
stores.  That seemed sub-optimal, so I spent a few hours extending the
F&W dialog to do this and forward-ported the harrier to use it.

Check the harrier-set.xml file for an example.  Basically, the weight
dialog reads a list of options for each weight listed under
/sim/weight[n] and manages a "selected" proprty telling us which one
is in use.  The FDM code can then read out the weight-lb property as
before, and the model animations can use the selected option to
predicate drawing the appropriate 3D content.  It seems to work pretty
well.
2006-08-24 22:29:16 +00:00
mfranz
e85c8708ce place left & right tape symmetrically 2006-08-24 22:06:09 +00:00
mfranz
d27df588a6 reduce slip effect speed (harrier VTOL) 2006-08-24 20:55:18 +00:00
mfranz
b5863d9cad use gui.Dialog() class instead of gui.loadXMLDialog() function (which has
been removed)
2006-08-24 16:32:58 +00:00
mfranz
8aa5947e7a - move bo105's Dialog class here; replaces gui.loadXMLDialog()
- fix indentation
2006-08-24 16:32:09 +00:00
mfranz
d583bbcb4f - add property browser opening function
- open browser for each /browser[] property
- add Widget.setBinding() function to simplify dialog generation, and
  convert the dialogs to use it
2006-08-24 12:44:14 +00:00
mfranz
11dc7c5bcd - let Input class use Lowpass class
- preparation for configurability
- documentation/cleanup
2006-08-22 10:06:46 +00:00
mfranz
f3d14c408a - only allow dynamic view on some fdms, and disable menu entry on others
- decrease heading-due-to-sideslip
2006-08-21 09:45:48 +00:00
mfranz
e0b80f625d give dynamic view entry a name 2006-08-21 09:42:58 +00:00
mfranz
a08cd87951 use NTPS HUD as default for the new implementation 2006-08-21 08:54:15 +00:00
mfranz
4453b8c742 adapt I-key description 2006-08-21 08:43:36 +00:00
mfranz
c8abca597e use aircraft.HUD manager methods to control the HUD. Key bindings remain
the same, with one exception: I (=Shift-i) doesn't only switch to the
alternative old HUD, but toggles that and the new HUD. Eventually
we may want to re-organize the HUD key bindings. Maybe after the old
HUD has been removed?
2006-08-21 08:40:15 +00:00
mfranz
8ecfdb2a96 add HUD manager class. The old and new HUD code is a bit tedious to handle
in keyboard.xml. Better concentrate that on one place.
2006-08-21 08:35:53 +00:00
curt
a6ebef1d0a Make lead aircraft behavior more uniform/predictable/repeatable. 2006-08-20 00:54:53 +00:00
mfranz
07f5dd24f3 use sideslip for heading offset in-air, and heading change rate on-ground.
Unfortunately, this is quite jittery on some aircraft, so it uses a slower
lowpass filter. I'd like to fix that, but don't even know what causes it.
Considering /sim/time/delta-realtime-sec didn't help.  :-/
2006-08-19 22:24:24 +00:00