1
0
Fork 0
fgdata/Nasal
andy 3e268e394c [Yes, Andy's writing code again. The world is ending.]
An IRC discussion about shavlir's (really nice) harrier model showed
that it had its own version of something like the Fuel & Weight
dialog, developed because the existing subsystem only supported
sliders and not "combo box" style selection for specific external
stores.  That seemed sub-optimal, so I spent a few hours extending the
F&W dialog to do this and forward-ported the harrier to use it.

Check the harrier-set.xml file for an example.  Basically, the weight
dialog reads a list of options for each weight listed under
/sim/weight[n] and manages a "selected" proprty telling us which one
is in use.  The FDM code can then read out the weight-lb property as
before, and the model animations can use the selected option to
predicate drawing the appropriate 3D content.  It seems to work pretty
well.
2006-08-24 22:29:16 +00:00
..
aircraft.nas add HUD manager class. The old and new HUD code is a bit tedious to handle 2006-08-21 08:35:53 +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 reduce slip effect speed (harrier VTOL) 2006-08-24 20:55:18 +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 [Yes, Andy's writing code again. The world is ending.] 2006-08-24 22:29:16 +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
props.nas let getBoolValue() actually return a bool 2006-02-20 10:59:52 +00:00
screen.nas move gui styles from /sim/gui[n] to /sim/gui/style[n] to make /sim/gui 2006-03-09 23:05:08 +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