CVS: data/Aircraft/b29 b29.nas,1.9,1.10
Vivian Meazza <[email protected]> Sat, 10 Apr 2010 08:49:22 -0500
| Newsgroups | gmane.games.flightgear.cvc |
|---|---|
| Message-ID | <[email protected]> |
Update of /var/cvs/FlightGear-0.9/data/Aircraft/b29
In directory baron.flightgear.org:/tmp/cvs-serv17475
Modified Files:
b29.nas
Log Message:
Add contrails
Index: b29.nas
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/b29/b29.nas,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- b29.nas 8 Apr 2010 17:39:08 -0000 1.9
+++ b29.nas 10 Apr 2010 13:48:57 -0000 1.10
@@ -1,503 +1,503 @@
-########
-#
-# This function watches altitude and conks out the putt=putt when it gets too high.
-#
-########
-
-puttPuttStop = func {
- if(getprop("/position/altitude-ft") > 10000) {
- setprop("/controls/APU/putt-putt", 0);
- }
- settimer(puttPuttStop, 20);
[...1196 lines suppressed...]
+ # setlistener("sim/current-view", foo);
+ setlistener("sim/current-view/field-of-view", adjustViewTarget);
+ setlistener("sim/current-view/view-number", adjustViewTarget);
+ setlistener("sim/model/doors/bombbay/position-norm", adjustViewTarget);
+
### Engine Hobbs Meter
var hobbs_engine = aircraft.timer.new("sim/time/hobbs/engine[0]", 60, 0);
@@ -607,3 +630,11 @@
hobbs_engine.reset();
updateHobbs();
+ ### Contrail
+
+ var pressure_Node = props.globals.initNode("environment/pressure-inhg", 1, "DOUBLE");
+ var temperature_Node = props.globals.initNode("environment/temperature-degc", 1, "DOUBLE");
+ var contrail_Node = props.globals.initNode("environment/contrail", 1, "BOOL");
+ var contrail_temp_Node = props.globals.initNode("environment/contrail-temperature-degc", 1, "DOUBLE");
+ updateContrail();
+
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev