1
0
Fork 0
Commit graph

2959 commits

Author SHA1 Message Date
sydadams
0a92d4c802 Updated RDR-160 wxradar to use Vivian's enhancements...
Added a wxradar hotspot file...
Updated Aerostar's radar hotspots
2007-08-10 06:24:20 +00:00
mfranz
fd20d330ba props.Node: add remove() method that removes the node it was calleed on
from its property tree. The node remains accessible as long as references
to it are kept. Example:

  var cow_chain = func {
      var cow = geo.put_model("Models/Fauna/cow.ac", geo.aircraft_position());
      settimer(func { cow.remove() }, 10);
      settimer(cow_chain, 2);
  }
  cow_chain();
2007-08-07 11:30:30 +00:00
mfranz
bf050c012f load and execute all ~/.fgfs/Nasal/*.nas files in alphabetic order after
the $FG_ROOT/Nasal/*.nas ones are done. This allows to use props.Node etc.
immediately, without requirement for settimer(func{}, 0) constructions.

Rationale:
- clean separation of local additions (and hacks :-) from standard files
- users might not have write permission to $FG_ROOT/Nasal/ or shouldn't
  have to su to root for writing Nasal code
2007-08-06 22:50:06 +00:00
mfranz
bff5a62666 - dos2unix
- texture compression
2007-08-05 12:51:26 +00:00
mfranz
34d5d0df85 Dave PERRY: various fixes and improvements (hotspots, lighting, ...) 2007-08-05 12:38:55 +00:00
mfranz
109f38812b don't reset viewPosition on view.resetView(). This would break
"seat adjustment" view MMB-dragging.
2007-08-01 21:28:58 +00:00
mfranz
3132b5c962 Fix mouse MMB+LMB: this reset to view[0] parameters independent of the
current view, so it was only usable in cockpit view, and messed up every
other view.
2007-08-01 21:10:04 +00:00
mfranz
397ee8296f - simplification: use gui.dialog_update() command instead of
fgcommand("dialog-update", props.Node.new({}));
- remove lots of trailing spaces
2007-08-01 20:06:16 +00:00
mfranz
e092ee9abc - we prefer hyphens in property names to underscores
- save /sim/multiplayer/chat-display to autosave.xml
- remove trailing spaces
2007-08-01 19:37:51 +00:00
mfranz
0561fc2e1f use "var" keyword to make "local" variables really local 2007-08-01 08:20:21 +00:00
mfranz
a3198c9924 use correct example output 2007-07-29 22:17:15 +00:00
mfranz
e4d99e0708 improve XML example 2007-07-29 18:32:11 +00:00
mfranz
b1f20cb635 corrections, extension, spelling, cleanup 2007-07-29 17:07:35 +00:00
mfranz
4e25fb3ac8 remove README.Protocol and add a README that refers to the "real"
documentation.
2007-07-29 12:40:09 +00:00
mfranz
ab45f8561e fix spelling 2007-07-29 09:32:50 +00:00
mfranz
aebc22d105 - add tanker to ai aircraft section
- minor reorganization
2007-07-27 17:41:59 +00:00
andy
e51f126a91 Maik: add a downwashfactor tunable 2007-07-23 16:10:44 +00:00
mfranz
64936b6297 remove forgotten garbage in the s-key def 2007-07-19 21:31:24 +00:00
mfranz
7c2a88a98a Anders GIDENSTAM:
- Page up/down changes the selected throttles one step up/down, i.e.
  if the original throttle settings were x steps apart they remain
  steps apart (unless the boundary is reached).
- Mouse + MMB drag changes the selected throttles by the delta amount
  (length of drag).
- The throttleAxis() wrapper for joysticks sets the selected
  throttles to correspond to the joystick's axis position. I.e. all
  selected engines will get the same throttle setting. Since most
  joystick throttles are positional devices I think this behaviour
  is more logical than using a relative adjustment in this case. """

mf: slightly modified, added var etc. (more such changes in controls.nas
    to come)
2007-07-19 16:18:39 +00:00
mfranz
3ec61cdd5f key help: property browser: Shift-Enter -> Ctrl-Space 2007-07-19 10:51:24 +00:00
mfranz
e87a969fdc - move "open property browser" back to SPACE (for now any modifier combination
other than Shift-SPACE or SPACE alone). The move to Shift-Enter was bad,
  as all Return combinations are filtered by open dialogs with <default>
  set. SPACE remains reserved for communication functions (PTT), though, and
  the property browser will be moved away if more combinations are needed for it.
- some comments in the file head
2007-07-19 10:49:34 +00:00
mfranz
b6b39def59 nextStyle: switch to next available style, allowing the index range to
have holes. That way people can start their private styles with e.g. 100
and can be sure that the system doesn't mess with them.
2007-07-17 10:05:14 +00:00
sydadams
8a974bc9c1 Updates to flightdirector...
Added PLIB hotspots to DC550 controller...
Adjusted AP controller hotspots
2007-07-17 07:30:27 +00:00
mfranz
886af1b68d fly-by: more variation of view points in air, with some limits on ground to
avoid irritating taxiing through the viewer or down view on the aircraft
2007-07-16 14:42:48 +00:00
sydadams
bd9a8f5fca More Primus 1000 and Bravo updates...
Flightdirector being reworked , modes currently not displayed correctly on the PFD
2007-07-16 06:05:16 +00:00
sydadams
16db10581a added arial_black and condensed fonts for the Primus 1000 PFD 2007-07-15 21:28:52 +00:00
mfranz
05b3db2d31 minor cleanup 2007-07-13 16:52:39 +00:00
mfranz
6ebea18612 pre-set /instrumentation/comm[*]/ptt to int(0) 2007-07-13 14:29:52 +00:00
mfranz
3c08f34027 - move "swap panels" from s-key to S-key
- move "fire starter" from SPACE-key to s-key
- move "open property browser" from Shift-SPACE to Shift-Enter (Shift-Return)
- implement PTT on SPACE/Shift-SPACE  (with the other six SPACE/modifier
  combinations unused, apart from a popup)
- add controls.ptt(v) wrapper function (v can be 1 or 2 for on, and 0 for off)

Easter-Egg:
- pressing the t-key for at least one second resets the warp delta.
  This is an experimental feature that most people won't notice. It's meant
  for investigating if suchlike "unorthodox" key use is acceptable. While
  modifier-keys are the norm on computer keyboards, modifier-times aren't,
  although we are used to them from other devices, such as alarm clocks etc.)
  May later get removed without warning.
2007-07-13 13:46:09 +00:00
mfranz
b67402f084 use cmdarg().getParent() to access own XML structure ("this" will die) 2007-07-12 22:35:14 +00:00
mfranz
f639845508 --prop: there's no default anymore 2007-07-12 16:06:12 +00:00
mfranz
41fef27ec0 die, yellow glider, die! 2007-07-11 17:24:32 +00:00
mfranz
26e9387de3 don't show on mpmap 2007-07-11 16:55:55 +00:00
martin
83f9ed9192 Holger Wirtz:
Update to the FGCOM protocol:
  -> http://squonk.abacab.org/dokuwiki/fgcom
2007-07-11 12:36:13 +00:00
mfranz
5e6f9dde43 - add aircraft select dialog (^-button)
- disable smooth throttle for now (breaks non-js-throttles)
2007-07-09 22:32:58 +00:00
andy
67cbc121d3 Maik: remove redundant (and innapropriate in the YASim core) property interface for the rotorgear. 2007-07-09 19:51:41 +00:00
mfranz
1fefa1c206 Syd's MIBS:
A camera tool for making fgfs videos (heavily used by Michelle) and for
tracking MP and AI aircraft. It's planned to include this into the regular
ufo, but for now it's better to keep them separated. Comes with its own
panel, which (hopefully) is self-explaining.

Shouldn't be announced on the fgfs page as separate aircraft (if that's
possible). Work in progress ...
2007-07-08 18:15:02 +00:00
sydadams
a3fdbf8456 Added a flight-hour-meter property in /instrumentation/clock .... saves your flight time to file... (thanks Melchior) 2007-07-07 23:10:00 +00:00
mfranz
96a8a9657f - drop redundant aircraft namespace
- use getprop() instead of props.Node.getValue() here because it's faster
2007-07-06 21:28:07 +00:00
mfranz
d6ff854aa5 add class for variable inverval lowpass filtering of angles. (If there's
a better method or name for it, please tell me.) This is primarily for
smoothing view heading angles.
2007-07-06 20:31:14 +00:00
mfranz
bece57dfc8 output ghosts in a readable form 2007-07-02 20:58:30 +00:00
mfranz
aa411b3e73 - better layout (done by embedded Nasal)
- no longer modal (this caused problems with dialogs opened by keystrokes)
2007-07-02 14:34:01 +00:00
mfranz
04f9a0b2ea s/wxradar/radar/ 2007-07-02 06:03:45 +00:00
sydadams
a6c2bb3115 Updating the Bravo to where it was before I reinstalled my OS ... not nearly done yet 2007-07-02 05:53:18 +00:00
mfranz
54c28ced16 what I do best: cosmetics 2007-07-01 18:54:32 +00:00
mfranz
faf9ea862d implement writexml() function for writing non-standard XML files
(that is: such that don't use PropertyList as root element and have
data hidden in attributes)
2007-07-01 15:05:16 +00:00
mfranz
d1adc37872 fix export file format (the <models> tags got lost in one of the last commits) 2007-07-01 13:07:08 +00:00
vmmeazza
f547f4188a Add clouds 2007-06-30 20:28:27 +00:00
mfranz
122423aa2b - make io.readxml() a lot faster
- documentation update
2007-06-30 11:06:36 +00:00
mfranz
7b1ac37678 add readxml function that reads an XML file and returns it as property tree 2007-06-29 15:49:08 +00:00