1
0
Fork 0
Commit graph

2728 commits

Author SHA1 Message Date
mfranz
4ed4939b8e describe <Shift-TAB> and <Shift-Backspace> keys as well :-) 2007-11-18 13:30:30 +00:00
mfranz
0bca5bdea6 - add Debug->Development Extensions dialog with two checkboxes to
- allow turning on/off extra widgets for developers (HUD dialog: colors,
  rendering dialog: visualization of shadow edges), and to turn on/off new
- property key handler ('/'-key)

Both features are off by default, and their state is saved to autosave.xml.
2007-11-18 12:20:17 +00:00
mfranz
9dfa8830a7 more isfoo() functions (yes, I intend to use them :-) 2007-11-16 17:16:42 +00:00
mfranz
d85ba7575c make debug.attributes() verbose by default. This adds the refcounter to
the property attribute string, as in:

  (NONE, L1, #8345)

... for a node of type "NONE", with one listener attached, and 8345 instances
of the shared pointer around.
2007-11-15 21:27:42 +00:00
mfranz
3a83fb99d5 - "export" the attributes function for return a property node's attributes
as string (s/_attrib/attributes)
- bind() the code in load_nasal() correctly
2007-11-15 06:46:14 +00:00
mfranz
14a5f38be2 make gui.property_browser() not only digest property paths, but
also props.Node class hashes
2007-11-14 20:13:35 +00:00
david
dae68bec13 Revert to previous version -- toggle lighting is not bound for now. 2007-11-13 14:42:44 +00:00
mfranz
493254e0bc update, so that people have a better overview when messing with key defs :-) 2007-11-10 18:08:45 +00:00
david
daf6e12bc9 Reassign tail-wheel locking from 'l' to 'L' (previously unused), and
use 'l' to toggle lighting.
2007-11-10 01:30:04 +00:00
david
45363925fc Add function to toggle lighting. 2007-11-10 01:29:31 +00:00
mfranz
5481c73b20 - fix bug that made gui.popupTip() ignore the optional delay argument
- use more "var" keywords and named args
- popupTip(): add optional third hash argument that is merged with the
  dialog properies hash. This can be used to select different font or
  dialog colors, etc.
2007-11-09 13:00:05 +00:00
martin
56eb66f03b Torsten Dreyer:
This patch for the 3d artificial horizon enables the movement of the
reference bar like the 2d instrument and corrects the wrong display of
pitch.

The original version already has a reference bar object in the .ac file
called bezel, but it is not bound to a animation. And the pitch is
indicated approx. 25% low so a pitch of +10deg is indicated as approx.
7deg.
2007-11-09 12:10:36 +00:00
mfranz
2ba2925cd0 add view manager which manages view handlers. fly-by-view is now implemented
as such a view handler. Views that don't use one aren't affected -- the view
manager doesn't run when they are active.
2007-11-06 21:49:33 +00:00
mfranz
b3ab26db07 fix comment & cosmetics 2007-11-06 21:23:53 +00:00
mfranz
9b7eafd658 use sim time delta for the lowpass, not realtime delta 2007-11-06 21:22:06 +00:00
mfranz
df76344180 adapt "Chase View" offsets for fixed "lookat" mode (src/Main/viewer.cxx) 2007-11-05 22:15:44 +00:00
sydadams
64719765d8 *** empty log message *** 2007-11-04 07:03:13 +00:00
mfranz
99bcbe8ea5 change global dynamic-view flag from /sim/view[0]/dynamic/enabled to
/sim/current-view/dynamic-view. There are additionally <dynamic-view>
settings per view, but those only enable it for that view if it's
globally turned on.
2007-11-03 14:08:39 +00:00
mfranz
67a850560b let JSBSim use FlightGear's atmosphere by default 2007-10-26 16:44:08 +00:00
mfranz
a8f4ac4861 add EGCN 2007-10-20 13:19:03 +00:00
mfranz
28def78cef write proper END <wpt> 2007-10-18 21:31:29 +00:00
mfranz
33805eaa58 export flightplan on 'n'-key 2007-10-18 21:20:39 +00:00
mfranz
eb5b350ec9 we need more colors! 2007-10-16 18:54:25 +00:00
mfranz
be3025b40f bah ... always shortly after presenting a new feature on the list, I change
it and the description doesn't match any more.  :-}
Number of frames makes more sense than seconds (default = 1):

  debug.proptrace([<property> [, <number_of_frames>]]);
2007-10-16 17:23:25 +00:00
mfranz
fc6f357a0e add new debugging function proptrace(), which outputs all regular property
writes (not directly written tied ones), all node additions and removal.
Frames are separated with a line. Turn off ANSI coloring if you want to
pipe the results into a file: --prop:sim/startup/terminal-ansi-colors=0
2007-10-16 15:24:30 +00:00
mfranz
c6790fd328 don't set stopTutorial listener before we can be sure that markerN is set 2007-10-15 21:55:23 +00:00
mfranz
9ce73af7a4 replace depreciated cmdarg() in listener functions by regular arg 2007-10-15 18:59:34 +00:00
mfranz
256b1880cb wrapNode(): One argument ought to be enough for anybody. 2007-10-15 18:32:20 +00:00
mfranz
2bcddab9b6 setlistener(): accessing the node via cmdarg() is now depreciated. Use
a regular function argument for that. Note the "n" in this example:

   setlistener("/sim/current-view/view-number", func(n) {
       setprop("/sim/hud/visibility", !n.getValue());
   }, 1);
2007-10-15 18:27:42 +00:00
mfranz
12c11dfa6f setlistener(): now that we know the params, we only need to unwrap the first two 2007-10-15 18:00:17 +00:00
mfranz
0d3c7cec6f - setlistener(): add wrapper function to turn ghost arguments into props.Nodes
- "modernization": use more named function arguments and "var" keywords
2007-10-15 16:30:37 +00:00
mfranz
cdc2b360d7 launchbar message: adapt for new setlistener() syntax; fourth argument set
to zero, so that the listener is only triggered when the launchbar state
has change. (YASim writes it in every frame. Sigh.)
2007-10-14 18:04:53 +00:00
mfranz
705e4bcaac forward fourth setlistener() arg to _setlistener() 2007-10-14 18:03:31 +00:00
mfranz
7253f8633b Dave PERRY:
"I have been working with Torsten Dryer to model
these three autopilots that are very common in aircraft manufactured in
the 1960s through the late 1980s.  The Altimatic IIIc in the SenecaII is
a variation on the Century III and uses the same nasal model."

mf: these should be in cvs since a while; somehow I missed them, sorry
2007-10-14 07:24:35 +00:00
mfranz
3cccfaac53 re-activate launchbar listener, and make it a type 2 listener
(repeated writing of the same value doesn't trigger, only changes do)
2007-10-12 17:25:54 +00:00
martin
186ec8c534 810 Version - data cycle 2007.09, build 20070106, metadata NavXP810 2007-10-11 11:45:33 +00:00
martin
f864b8b7dc 600 Version - data cycle 2007.09, build 20070106, metadata FixXP700 2007-10-11 11:45:08 +00:00
martin
655dfe1f8e 640 Version - data cycle 2007.09, build 20070106, metadata AwyXP700 2007-10-11 11:44:35 +00:00
martin
f28fabecf5 810 Version - data cycle 2007.09, build 20070108, metadata AptXP810
Cleanup Chambley AB duplicate (again).
2007-10-11 11:38:30 +00:00
mfranz
8565e887db Dave PERRY:
"For more than a month, I have been working with Torsten Dryer to model
these three autopilots that are very common in aircraft manufactured in
the 1960s through the late 1980s.  The Altimatic IIIc in the SenecaII is
a variation on the Century III and uses the same nasal model."
2007-10-10 20:48:36 +00:00
mfranz
4ef1ac6d85 drop confusing dummy entry (was required because the XML parser didn't
allow empty <PropertyList> tags)
2007-10-10 12:47:54 +00:00
mfranz
6149c6bbda commenting the "Engaged" message out ... YASim.cxx sets the launchbar
state string in *every* frame, so we shouldn't "listen" to it.  :-(
2007-10-10 10:59:41 +00:00
mfranz
520fff1c1e screen.nas: now *really* do the runway report quietly
startup.nas: cosmetics
2007-10-10 09:58:22 +00:00
mfranz
c50aa8d817 better check for "lookat", as the C++ part does this, too. (And one could
also write "Blutwurst" instead of "lookfrom", with the same effect.)
2007-10-09 20:44:41 +00:00
mfranz
7ec82ab621 deduce left/right view dir from /sim/view[n]/type=="lookfrom"
(invert for all "lookat" views, so that in outside view "left" means:
move viewer to the left, not the target)
2007-10-09 20:11:08 +00:00
mfranz
d003752d20 let copilot/ground crew report when engaged in launchbar 2007-10-09 14:48:44 +00:00
mfranz
693bebcd43 this module is meant for pure startup code. It shall not contain any library
code that is called from outside. It will be removed from the global namespace
once it has done its job. For now it only selects a proper runway for wind
directions reported by METAR, but only, of course, if an airport was chosen,
but no runway and no heading, and if the aircraft is actually on ground.
2007-10-07 19:44:58 +00:00
mfranz
175911c180 add KNID 2007-10-07 17:50:28 +00:00
mfranz
095e3e717e agl: need to check for nil 2007-10-07 17:09:13 +00:00
mfranz
dfd21c722d - add more "var" keywords, fix indentation, drop some parentheses,
fix comments, consistency fixes, ...
- aircraft.nas: angular_lowpass -> minor speedup
2007-10-07 15:12:05 +00:00