1
0
Fork 0
Commit graph

3965 commits

Author SHA1 Message Date
mfranz
c5ac5639a0 reset view after reinit (slowly, because the lowpass filters need to catch up) 2006-12-03 23:59:50 +00:00
mfranz
89710547ec Use a listener to watch the aircraft.light switch. This is slightly more
efficient and there's no more potential 0.5 s delay.
2006-12-03 22:20:16 +00:00
mfranz
0e62263eaf generate some nodes if they don't exist yet (this was left out on purpose,
as missing nodes should point to more serious problems elsewhere, but this
state can happen in normal situations, too)
2006-11-25 17:49:23 +00:00
durk
08e67e189b Removed obsolete AI directories. 2006-11-25 14:37:44 +00:00
vmmeazza
99f88c732c Replace FNS Charles de Gaulle with FNS Foch 2006-11-15 21:39:18 +00:00
martin
c476f70839 Ralf Gerlich:
Sign fix for glideslope indicator in Primus 1000 PFD.
2006-11-12 19:00:58 +00:00
andy
72ee05875c billo on IRC discovered that the control mapping section was pretty
stale.  Rewrite it.
2006-11-10 18:06:24 +00:00
frohlich
6af88bc58a Matthias Borner: Initial version of a HOTAS-Cougar configuration. 2006-11-07 05:29:43 +00:00
mfranz
4ae3ab11df don't silently fix bad user input -- complain loudly 2006-11-04 11:33:08 +00:00
mfranz
2145558999 documentation fix 2006-11-03 19:39:08 +00:00
mfranz
dabf3f300c - aircraft.nas: add variable-interval EWMA lowpass filter class
- dynamic_view.nas: use aircraft.lowpass() class

This makes the dynamic view independent of the frame rate. Currently,
each filter instance reads out dt on its own, which is a bit inefficient.
I'll change that to just one read for all instances later (when Nasal
implemented predictable module loading order. :-)
2006-11-03 17:38:32 +00:00
mfranz
0ff3f5da2b boring cleanup 2006-11-02 21:06:36 +00:00
mfranz
07e3e2b05b - minor fix
- add info/debug messages
2006-10-31 13:59:50 +00:00
mfranz
ae1df38643 better atc-message repetition (Remember: '+'-key) 2006-10-31 12:19:42 +00:00
mfranz
46127405cb Maik JUSTUS: replace underscore with hyphen in config keywords, to be
consistent with the rest of YASim and almost all of fgfs
2006-10-28 21:14:52 +00:00
sydadams
bfe3053f62 Changed animaton to use autopilot passive-mode 2006-10-27 00:56:30 +00:00
mfranz
115b4a04ea replace cheesy wait_for_fdm() loop by a reliable signal callback 2006-10-26 09:23:53 +00:00
curt
e7ba2d6a4b Properly line everything up visually so standard rate turns end up taking
the right amount of time.
2006-10-22 12:51:50 +00:00
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