mfranz
ef59420eb9
- geo.click_position() does now return a Coord copy already
...
- simplify sort function
2007-05-12 18:40:09 +00:00
mfranz
02b4dc58e8
geo.nas:
...
- add put_model() function to place models at given lon/lat. If
elevation is nil, then it will be put on the surface. The path is
relative to $FG_ROOT.
- let geo.click_position() and geo.aircraft_position() return copies
of the Coord class, not just a reference
view.nas: adaptation for geo.nas change; minor changes
2007-05-12 18:38:57 +00:00
mfranz
1a19f8a8e5
- make viewReset reset fly-by view
...
- cleanup
2007-05-11 21:16:35 +00:00
mfranz
874d55b6e7
simplify by using the props.Node.setBinding() method
2007-05-11 19:02:20 +00:00
mfranz
5f97465d6e
- make view_manager singleton class
...
- simplify lookat wrapper with a call()
- cosmetics
2007-05-11 18:59:34 +00:00
mfranz
47d675bfd5
- make the HUD and the data class singleton classes
...
- use var everywhere, cosmetics
2007-05-11 18:04:51 +00:00
mfranz
c54fbb1e39
_c should be a valid function from the beginning
2007-05-11 18:03:44 +00:00
mfranz
d92ae39349
- skip DOCTYPE
...
- optional attr prefix in xml.dump
2007-05-11 15:44:16 +00:00
mfranz
8befda2655
whoops ... forgot one "arg" fix
2007-05-10 17:37:28 +00:00
mfranz
e22a4086ff
"fixed" the "arg bug". (Wasn't really a bug, just old-style Nasal code
...
that doesn't work with new nasal. :-)
2007-05-10 17:33:28 +00:00
sydadams
fe7d5a0462
fixed a DME HOLD error .... note to self: dont use find and replace all !
2007-05-10 03:01:25 +00:00
mfranz
89532b0909
Maik JUSTUS:
...
"minor update for the rotor FDM. It results in a more realistic
calculation of the phase shift of rotor and therefor in a little bit
more realistic flight behavior.
(Additionally you can modify the initial position of the rotor and some
(not finished) modifications for the jet ranger rotor)."
2007-05-09 20:33:14 +00:00
mfranz
80fd0740e5
new commands:
...
debug.color(bool) turns terminal colors on/off
debug.tree(property="", mode=1); dumps property tree in flat
mode (0) or space indented mode (1).
Flat tree mode is similar to props.debug(), but colored, and it outputs
all attribute flags and the number of attached listeners.
2007-05-09 17:31:45 +00:00
mfranz
3b6a79ee8b
- use Nasal's rethrow capabilities
...
- remove redundant lines
2007-05-08 22:21:34 +00:00
mfranz
072610c001
aircraft.steering: redefine the controls.applyBrakes() wrapper, too.
...
If this isn't what the aircraft developer wants, then s/he can still
redefine it again afterwards.
2007-05-08 14:22:54 +00:00
mfranz
6b533c19a9
add class that implements differential braking with rudder input
2007-05-08 09:52:13 +00:00
mfranz
065bd859d6
don't pause the update loop
2007-05-07 16:24:16 +00:00
mfranz
e7ebfba42c
update property-list entry
2007-05-07 14:48:56 +00:00
mfranz
f7a9ef4d37
- use heading instead of last course (works better in curves)
...
- stop at crash
2007-05-05 21:36:31 +00:00
mfranz
d225de2aea
fix behavior for begin and end of replay
2007-05-05 15:07:54 +00:00
mfranz
1a48bfb840
p: only set /sim/freeze/replay-state to 0 if it wasn't already (more useful
...
for listeners)
2007-05-05 11:09:48 +00:00
mfranz
c13914937e
make "terrain-elevation" wrapper more efficient
2007-05-05 10:09:13 +00:00
mfranz
207d82249f
revert last: keep --props option because of option architecture
2007-05-05 09:51:41 +00:00
mfranz
485190454c
remove all traces of --props (use --telnet instead)
2007-05-05 09:21:20 +00:00
mfranz
b4b47567c3
remove all traces to --props
2007-05-05 08:49:33 +00:00
mfranz
d4e030f9c6
- don't update when aircraft stays within threshold distance
...
- randomize left/right, better parameters
- don't reset on pause
2007-05-04 22:48:40 +00:00
mfranz
66f9e552ba
- first stab at fly-by view mode
...
- hack for the panView functions: work in paused mode, too!
2007-05-04 18:01:26 +00:00
mfranz
3d9ddaac58
first stab at fly-by view mode
2007-05-04 17:59:45 +00:00
mfranz
9785ce8e36
- make stepView robuster and view order changeable (via view.views vector)
...
- de-classify view.point
2007-05-04 17:19:31 +00:00
mfranz
f4357aced0
we don't need /sim/number-views anymore. fgfs knows how many views there
...
are. /sim/view[0] .. /sim/view[99] are reserved for the system, the rest
can be used by aircraft. That way nobody has to update all configs only
because a generic view was added.
2007-05-04 17:11:19 +00:00
mfranz
9f1bc7efeb
add "terrain-elevation" utility function
2007-05-03 22:09:34 +00:00
mfranz
d4143454b1
property browser: dumped data aren't XML anymore
2007-05-03 21:22:13 +00:00
mfranz
12f1d941fd
document shift-click on "." entries in the property browser widget
2007-05-03 19:09:38 +00:00
mfranz
d9b0226d30
- add process_file() function (still reads the whole file into memory)
...
- handle "processing instructions"
- don't gobble leading spaces in non-cdata data sections
- minor fixes, cosmetics, documentation changes
2007-05-03 15:56:59 +00:00
sydadams
8cc5ea4c79
KAP140 updates...
2007-05-03 03:42:31 +00:00
mfranz
af56aed55e
simple xml parser that allows to read non-fgfs-standard xml files such as
...
those from traffic manager and AI, so that it will later be possible to
load the data into the UFO Scenery Object Editor, to visualize and edit
parking positions, taxiing routes etc. The parser also allows to suck
arbitrary (simple) XML data files into fgfs from Nasal context.
In the long run the non-standard XML files in fgfs shall, of course, be
converted to standard format, in which no data may be stored in attributes.
2007-05-02 20:55:54 +00:00
mfranz
24b8156e9f
HUD: only consider i/I/H presses when a HUD is displayed
2007-05-01 19:36:41 +00:00
sydadams
ca5856f86b
Aerostar balance fix ...
...
nasal file corrections ...
2007-04-28 05:40:25 +00:00
mfranz
1e446a26ae
setlistener(): don't drop calls with invalid property -- the c++ side
...
outputs a nice error message in this case
2007-04-27 15:52:54 +00:00
mfranz
944e6a8548
in debug levels "debug" and "bulk" output listener id, file name, and
...
line-number for every setlistener() wrapper call. This allows to identify
listeners later by their id.
2007-04-27 14:27:01 +00:00
sydadams
7c6e7e0e2b
Fixed some property initialization errors and duplicate calls
2007-04-27 06:23:56 +00:00
mfranz
47ddb39e0f
Roy Vegard OVESEN:
...
- Automatic pitch trim (use autopilot/KAP140/settings/auto-pitch-trim to turn
on/off)
- Aural altitude alerter. Uses the same sound file as the stall warning.
- Replace custom flasher routines with nasal aircraft.light objects.
- Cleanup.
2007-04-26 18:04:51 +00:00
sydadams
dec26c8b12
display frequency when USE or DSP button pressed...
2007-04-26 04:12:42 +00:00
sydadams
2e2c30f424
More RNAV updates ...
2007-04-25 06:51:03 +00:00
sydadams
18bd0bedbb
More BNAV updates...
...
Replaced MP gauge with 50 inhg gauge
2007-04-23 06:52:54 +00:00
sydadams
47110aae85
removed a duplicate property that snuck in somehow :)
2007-04-22 23:59:13 +00:00
sydadams
00156d175f
Added flashing DSP digit if USE and DSP aren't equal...
...
Cleaned up some of the mess I made applying Ron's patch...
2007-04-22 07:07:23 +00:00
sydadams
50f0ceabff
separated ki252a and ki256 instruments ...
2007-04-21 23:16:56 +00:00
sydadams
1b0d629659
more RNAV updates...
2007-04-21 17:45:09 +00:00
frohlich
29f9ffd043
Modified Files:
...
materials.dtd materials.xml: Filter runway textures better.
2007-04-21 12:13:51 +00:00