1
0
Fork 0
Commit graph

2875 commits

Author SHA1 Message Date
mfranz
7fa65fe3da don't enforce runway 28R. It's chosen automatically under default wind
conditions, but when a users sets wind from 90, then s/he shouldn't start
from here by default. S/he can still set heading & runway explicitly.
2007-10-04 15:50:35 +00:00
mfranz
93955788ca set unknown heading preset, so that wind direction is considered if no
runway was given
2007-10-04 15:47:54 +00:00
mfranz
a895da0247 can't use props.getNode() on the top level ... 2007-10-03 19:14:04 +00:00
mfranz
eafc9c3a1d rename index() to indexof() 2007-10-03 19:01:01 +00:00
mfranz
63dca5051a add index() function which returns view index by name. Identifying views
by name is safer and especially useful for aircraft specific views, where
the XML index doesn't match the view number.
2007-10-03 18:15:50 +00:00
mfranz
0f69bc55ef enable dynamic view not only for view[0], but for all views with set
"config/dynamic-view" bool
2007-10-03 17:33:42 +00:00
mfranz
27f8562d15 enable dynamic view explicitly for cockpit view. This flag can now also be
set for other views, such as copilot, backseat, etc.
2007-10-03 17:32:39 +00:00
mfranz
ecb335ddb5 - use var keywords on functions to avoid module name collisions
- drop some braces
2007-10-01 22:31:30 +00:00
mfranz
eec9f19caa make default HUD semitransparent bright green (looks generally better,
except on dark backgrounds)
2007-09-30 10:08:21 +00:00
mfranz
f1374e316c Wim van HOYDONCK: add support for Saitek Cyborg evo Wireless 2007-09-28 10:04:29 +00:00
sydadams
07fd1b5ee6 Moved Davtron M877 chronometer into Instruments-3d/clock since it is a common instrument... 2007-09-22 20:42:39 +00:00
vmmeazza
52547b817a Anders Gidenstam -
Joystick configuration for the Saitek AV8R
2007-08-27 17:34:54 +00:00
sydadams
3122e459d6 *** empty log message *** 2007-08-21 05:35:40 +00:00
sydadams
a7f90a8cb8 Changed speed match function to use target distance instead of airspeed ... not perfected yet ,but better ... 2007-08-20 06:22:06 +00:00
sydadams
514f2c1ce7 cam updates from pigeon ... 2007-08-20 04:22:36 +00:00
andy
2306212fb7 Add docs for the "thruster" tag 2007-08-13 19:40:57 +00:00
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