1
0
Fork 0
fgdata/Nasal
mfranz bfacf76538 change per-aircraft configuration to a single function object that is
registered with dynamic_view.register() and is called in the main loop,
replacing the default plane/helicopter function. This has access to
all class functions/members and sets me.heading_offset, me.pitch_offset,
and me.roll_offset, which are then used as new view offsets.
The function can also do other things, such as call the lookat() method
to temporarily set heading and pitch. See the bo105 for an example.

While further minor changes are to be expected, the configuration method
seems to be the way to go.
2006-12-10 21:50:59 +00:00
..
aircraft.nas new light.new() arguments with light pattern array; error message for old 2006-12-06 15:58:03 +00:00
atc-chatter.nas noise reduction: only print file names if --log-level is at least "info" 2006-02-17 22:20:15 +00:00
controls.nas add interface function for selecting weapons 2006-06-24 12:31:58 +00:00
dynamic_view.nas change per-aircraft configuration to a single function object that is 2006-12-10 21:50:59 +00:00
fuel.nas Comments about -lbs and -gal_us were mixed up. Pounds are the 2006-08-17 16:32:41 +00:00
globals.nas use __ for static variables (one underscore is too handy for use in other 2006-02-18 00:12:09 +00:00
gui.nas showHelpDialog: automatically split the contents of a <line> block at 2006-12-06 00:24:48 +00:00
lead_target.nas use gui.Dialog() class instead of gui.loadXMLDialog() function (which has 2006-08-24 16:32:58 +00:00
material.nas make <Esc> key close/cancel/dismiss dialogs; some material.nas tweaking 2005-11-05 14:19:53 +00:00
multiplayer.nas Modified Files: 2006-10-10 05:23:38 +00:00
props.nas let getBoolValue() actually return a bool 2006-02-20 10:59:52 +00:00
screen.nas - minor fix 2006-10-31 13:59:50 +00:00
track_target.nas using printlog() wasn't a good idea, as we don't know if globals.nas was 2006-08-17 18:56:22 +00:00
tutorial.nas fix property name (I had changed that in the environment files, and 2006-08-18 15:50:53 +00:00
view.nas add resetFOV function 2006-03-02 16:23:05 +00:00