1
0
Fork 0
Commit graph

2291 commits

Author SHA1 Message Date
mfranz
9117ddf71d --aircraft=c172p-panel-only set file (some instruments like fuel, egt,
pressure don't work yet)
2007-01-31 17:58:48 +00:00
mfranz
221c23e18b - don't create tanks in empty tank nodes (that nasty native_fdm.cxx causes)
- use Nasal features that were introduced after this code was first written:
  * var for local variables (and to make clear when a variable is first used)
  * += operator
  * listeners to import seldom changing variables and to avoid waiting for
    the FDM in a loop

This new code started as empty file where I added my stuff and then copied
parts from the old code, piece by piece. This is why the coding & indentation
style has changed. Functionally the code should basically be equivalent.
2007-01-31 15:53:01 +00:00
mfranz
80b188706f cosmetics and stuff 2007-01-30 23:22:36 +00:00
mfranz
dee6a551cf and set it to 'false' :-) 2007-01-30 21:14:53 +00:00
mfranz
6a2cd53ee4 save <specular-highlight>, too ... 2007-01-30 21:12:53 +00:00
mfranz
e9d645170f comment out fuel of generic panel. This is included by preferences.xml and
includes Instruments/fuel.xml. And *that* one creates tank[0] and tank[1]
for *all* aircraft, which is quite annoying. A generic panel should display
fuel numerically (like Lee's panels do) or as %.
2007-01-30 20:41:49 +00:00
mfranz
7ecdeec89e better backtrace section titles with added frame number 2007-01-29 23:48:41 +00:00
mfranz
0be35251ba add note about new dependency $FG_ROOT/Aircraft/Generic/annunciator.nas 2007-01-29 22:45:41 +00:00
mfranz
410950b7b2 Nasal version of former src/Instrumentation/annunciator.[ch]xx 2007-01-29 22:24:05 +00:00
mfranz
6f073760af whoops 2007-01-29 19:57:54 +00:00
mfranz
feaf223d88 cleanup 2007-01-29 16:24:58 +00:00
martin
1d2f5a5292 Ron Jensen:
I modelled a KT-70 transponder.
2007-01-28 18:14:15 +00:00
martin
d57c3fd6c4 The leaner, the merrier .... 2007-01-28 14:25:55 +00:00
mfranz
7d0fe51b9f first stab at nasal debugging helper module (nicks parts for files from
the Nasal repository :-)
2007-01-28 12:20:18 +00:00
mfranz
4a08d75574 Maik JUSTUS: improve some friction values (ice, snow, dirt-runway, grass, ...)
mf: fix sign glyph name, adjust some sign properties
2007-01-28 11:43:50 +00:00
martin
a10b396ffc Control the helicopter by RC control unit with MFTech RC USB-Interface 2007-01-27 22:07:31 +00:00
mfranz
04de5c67c8 - add all entries in /sim/aircraft-data/path[*] to the save-list, so that one
can also write

      <sim>
          <aircraft-data>
              <path>/sim/author</path>
              <path>/sim/description</path>
              <path>/sim/rtatus</path>
          </aircraft-data>
      </sim>

  in a *-set.xml file instead of using Nasal (aircraft.data.add("/sim/author", ...)
- s/timeN/node/ to match the pattern described in the head comment
- make listener on-shot
2007-01-26 23:33:25 +00:00
mfranz
1ad49352e6 spellchecking 2007-01-24 16:25:05 +00:00
martin
be7f4246c3 Interim release of The Manual. 2007-01-24 07:48:12 +00:00
mfranz
e3d90ee46c - don't prepend underscore to aircraft names (this was a leftover from
versions that wrote that name to the property tree)
- move HUD part to the bottom. It isn't really part of the library
- cleanup
2007-01-23 17:29:41 +00:00
mfranz
b47d2e2204 respect /sim/startup/save-on-exit 2007-01-22 19:05:35 +00:00
mfranz
7cae1e86a2 add type for "save-on-exit" 2007-01-22 18:55:41 +00:00
mfranz
97771b69ae - save aircraft data before the aircraft's Nasal files are executed
- make 0 a valid saving interval, and 'nil' or no arg stop the loop
  (this is for consistency with settimer() or aircraft.timer() intervals
- smaller fixes, cleanup
2007-01-22 16:49:28 +00:00
mfranz
f376ea5adb use /sim/signals/nasal-dir-initialized signal to simplify things 2007-01-22 00:03:07 +00:00
mfranz
bf7731c0af use /sim/signals/nasal-dir-initialized signal for library initialization;
this makes it possible to use screen.log.write() everywhere in aircraft
nasal files, not only after settimer(func{}, 0) were triggered
2007-01-21 20:56:25 +00:00
mfranz
977910c258 we can't use the setlistener() wrapper here, but need the real thing 2007-01-21 20:44:55 +00:00
mfranz
f61969ed01 add timer class that optionally saves time in the aircraft data file,
restores this time at next run and continues from this value. This is
meant for operation hour counters (Hobbs meters) for turbines, etc.
2007-01-21 20:06:05 +00:00
frohlich
ebbc3ba003 Modified Files:
ThrustMaster/HOTAS-Cougar.xml: Updates from Matthias Boerner
2007-01-21 18:34:48 +00:00
mfranz
722f35903d only save before the reset is executed, so we can save e.g. the Hobbs time 2007-01-21 00:21:53 +00:00
mfranz
ec18defa4c the dummy entry is no longer needed; files get only written if they
actually contain aircraft settings
2007-01-20 23:13:54 +00:00
mfranz
a73972512d add class for saving data into aircraft specific files
in ~/.fgfs/aircraft-data/ or %APPDATA%\flightgear.org\aircraft-data\
2007-01-20 20:15:06 +00:00
mfranz
49600b0aa3 map update 2007-01-18 00:12:58 +00:00
mfranz
d115b8bf1c Maik JUSTUS: add tow/winch documentation 2007-01-17 23:34:04 +00:00
mfranz
33b143b95a Maik JUSTUS: documentation for aerotowing parameters 2007-01-17 20:57:22 +00:00
mfranz
9fd4bd2aa8 fix <power> type here, too :-) 2007-01-17 12:45:32 +00:00
mfranz
083ecf0786 fix <power> type 2007-01-17 12:42:13 +00:00
mfranz
57476a78e0 fix <power> type, turn it off by default, but leave it for easier tweaking 2007-01-17 12:40:44 +00:00
mfranz
e9cfd04488 Dave PERRY: Pro-Flight-Rudder-Pedals.xml config 2007-01-16 00:45:56 +00:00
mfranz
04dff149a4 Dave PERRY: generic click sound 2007-01-16 00:44:48 +00:00
mfranz
b309532bf2 - add <power> values
- use more controls wrappers
2007-01-15 23:14:57 +00:00
mfranz
3ba1323fe8 use controls.geatToggle() wrapper 2007-01-15 23:08:29 +00:00
mfranz
dfaec0a645 fix flaps, gear, brakes (make them use the controls wrappers) 2007-01-15 23:01:50 +00:00
mfranz
cbf2ad2f03 fix flaps and gear 2007-01-15 22:50:36 +00:00
mfranz
0d672a084b fix gear handling 2007-01-15 22:25:17 +00:00
frohlich
e401306d6d Modified Files:
model-howto.html: Document the visible property for the pick animation.
2007-01-15 19:05:56 +00:00
mfranz
f99de31ad9 "wariat" from IRC: new joystick config
mf: fix inconsistent indentation; fix flaps; fix brakes; add <desc> for
    js info dialog
2007-01-15 18:35:12 +00:00
ehofman
fbfb30473a Sync. w. JSB CVS as of 15/01/2007 2007-01-15 12:50:44 +00:00
mfranz
51712052e1 this file is broken by design. Fixing the Nasal error apparently
overstrains it, so here's the error back. Have fun!  :-|
2007-01-13 22:37:38 +00:00
mfranz
4690b3c2c3 totally pointless mini-optimization 2007-01-13 21:46:07 +00:00
mfranz
f58fcdd492 make sure the property doesn't only exist, but is actually initialized 2007-01-13 18:35:22 +00:00