1
0
Fork 0
Commit graph

3498 commits

Author SHA1 Message Date
torsten
8345ee9d6a New instrument: KMA20 Marker/Audio panel. 2008-12-05 14:06:06 +00:00
martin
7cd39fb3f3 Heiko Schulz:
-new better panel
-added lights and made them switchable
-doors can be open now (pick animation)
-added some liveries by Brett Harrison
-added paintkit by Brett Harrison
-converted liveries to png
-replaced radio stack with 3d-radios, DME and marker-lights yet missing
-minor bugfixes
-added glass shader with fresnel effect

still work on the interior to do like the seats, walls and so on...
2008-12-04 23:13:09 +00:00
martin
922a09ebcf Heiko Schulz:
-new better panel
-added lights and made them switchable
-doors can be open now (pick animation)
-added some liveries by Brett Harrison
-added paintkit by Brett Harrison
-converted liveries to png
-replaced radio stack with 3d-radios, DME and marker-lights yet missing
-minor bugfixes
-added glass shader with fresnel effect

still work on the interior to do like the seats, walls and so on...
2008-12-04 22:44:18 +00:00
fredb
31977abb98 Stuart Buchanan :
This provides the following enhancements & bug fixes
- Fix the chequer-board bug.
- Add proper cloud coverage function - so scattered clouds are now truly scattered.
- Add real-time control for visibility range.
- Use a limited set of clouds rather than generating a completely new Geode for each cloud. This saves sorting and display time.
- Add controls to Rendering dialog to allow fine-tuning of the number of sprites, cloud visibility and the number of different types of cloud.
- Add some variance to the sort back-off to avoid all clouds being sorted at the same time.
- Pack attributes into vectors for performance
- Re-order the cloud type determination code so that if a cloud layer could either be stratus or cumulus, cumulus is used.
- Lowered the cloud level in the standard cloud configuration slightly so a cumulus layer is generated rather than stratus.

These last two mean that you should see some 3D cumuli if disabling real weather fetch.

My thanks to Yon Uriarte for his help with performance work.
2008-12-04 20:57:55 +00:00
mfranz
3eb0493c7d - :DY opens Nasal Console
- no CDATA indentation
2008-12-04 11:36:00 +00:00
mfranz
291ba987d3 fuel dialog: add tank checkbox only if the "selected" property is actually
writable. This omits the box: <selected type="bool" write="n">1</selected>
2008-12-04 11:34:05 +00:00
mfranz
71f80dff34 initNode: add fourth optional parameter: "force", which enforces a type,
so n.initNode("whatever", 1 "BOOL", 1);  will make node n a BOOL even
if it was "DOUBLE" before. Default: 0. An existing value will be retained,
though.
2008-12-04 11:30:44 +00:00
mfranz
8bf823c4fb initNode: make path optional and let it default to "". This is allowed:
props.globals.getNode("sim/foo", 1).initNode();  and equivalent to
    props.globals.getNode("sim").initNode("foo");
2008-12-03 20:53:00 +00:00
mfranz
5c88cdf6f1 dump: no space after [ and before ] 2008-12-03 20:49:33 +00:00
fredb
4cd1c72bda New cloud textures and layout from Heiko Schulz 2008-11-30 23:14:19 +00:00
mfranz
e5c2a2c1d0 "SteveStevens": another name 2008-11-30 22:01:48 +00:00
mfranz
bcc043a368 security wrappers: move original func var into wrapper closure 2008-11-26 16:17:55 +00:00
mfranz
1e5cf9ff0a more use of initNode & some consistency improvements (method format) 2008-11-26 16:09:16 +00:00
mfranz
f7e246905b tree(): show which nodes are aliased to which nodes 2008-11-26 16:07:32 +00:00
mfranz
acff4f55ab add getAliasTarget() wrapper 2008-11-26 11:35:48 +00:00
mfranz
8b62c82b38 fix another forgotten geo.FT2M -> globals.FT2M 2008-11-23 22:22:49 +00:00
mfranz
f104544ef8 only enable precipitation if it's enabled in the gui
(/sim/rendering/precipitation-gui-enabled) *and* if the aircraft wants it
(/sim/rendering/precipitation-aircraft-enabled). Some aircraft model rain
on the windshield and want to turn rain off for interior views.
2008-11-23 10:37:19 +00:00
mfranz
521954116c only enable precipitation if it's enabled in the gui
(/sim/rendering/precipitation-gui-enabled) *and* if the aircraft wants it
(/sim/rendering/precipitation-aircraft-enabled). Some aircraft model rain
on the windshield and want to turn rain off for interior views.
2008-11-23 09:53:46 +00:00
mfranz
31162ce78b more initNode() (Alzheimer?) 2008-11-22 21:02:04 +00:00
mfranz
b216aa38ca another initNode() case to convert (thanks Stewart for pointing it out) 2008-11-22 19:53:37 +00:00
mfranz
75470bf31d Rename Node.clear() to Node.clearValue(), because that's the name that we
use on the C++ side.
2008-11-22 12:05:01 +00:00
mfranz
b3032f63c7 Add Node.clear() method, which resets a node to type "NONE" and value 'nil'.
This can be used to invalidate nodes and may be interesting for debugging
purposes. Use carefully!
2008-11-22 11:20:44 +00:00
torsten
d1b2744985 make use of new Node.initNode() method 2008-11-21 09:21:03 +00:00
mfranz
2b77665c22 setCursor: complain and show options if wrong cursor name was given 2008-11-20 23:03:24 +00:00
mfranz
8d7545252f convert more initNode to the method version (sorry, had forgotten these) 2008-11-20 22:06:54 +00:00
mfranz
f263e693f2 remove deprecated (wrapper) function props.initNode() 2008-11-20 20:41:19 +00:00
mfranz
55b7e3d8e0 dynamic_view.nas: use D2R/R2D constants
globals.nas: move constants to top
geo.nas: fix comments & make bucket_span "private"
2008-11-20 20:18:39 +00:00
mfranz
6f6aef2fed change from deprecated props.initNode() to props.Node.initNode() 2008-11-20 20:00:26 +00:00
mfranz
c74d6ee75e - make props.initNode a props.Node method
- props.nas: some minor improvements
2008-11-20 19:45:40 +00:00
tat
39934667aa Exchange axis 2 and 3 for Mac OS X 2008-11-20 18:14:00 +00:00
mfranz
084db07606 use global D2R, R2D (dumbed down PI instead of math.pi is a bad idea, anyway :-) 2008-11-20 11:46:45 +00:00
mfranz
55c34a0748 calculate M2FT from FT2M (of course :-) 2008-11-20 11:33:42 +00:00
mfranz
f277c52fd7 use global constants D2R, R2D, M2FT, FT2M 2008-11-20 11:26:41 +00:00
mfranz
eebfdf218c - make constants D2R, R2D, M2FT, FT2M global
- geo.put_model: use 'add-model' fgcommand
2008-11-20 11:24:46 +00:00
mfranz
dcb1321923 make constants D2R, R2D, M2FT, FT2M global 2008-11-20 11:24:45 +00:00
mfranz
090679e524 :Ym dumps Google Maps link for current position to terminal 2008-11-19 22:21:42 +00:00
mfranz
0e63bc73bc also dump a google maps link 2008-11-19 21:47:51 +00:00
mfranz
8d9eb9190e initialize /sim/model/livery/file so that it gets sent via MP 2008-11-18 18:36:20 +00:00
mfranz
855a3c143e Joonas Sarajaervi: one more name 2008-11-16 14:34:13 +00:00
mfranz
9976b71472 init: make sure /sim/tutorials actually exists 2008-11-15 19:40:28 +00:00
mfranz
81e967a609 nasal now returns constant and readable ghosttypes, so we do no longer
need the symbol table and comparison with the ghosttype of props._globals()
2008-11-13 12:00:23 +00:00
mfranz
c6cd898f64 - update comment to reflect alias()/unalias() addition
- minor improvements & cosmetics
2008-11-13 11:57:07 +00:00
mfranz
2aba6e7d80 Node: only wrap() functions that actually return property ghosts 2008-11-12 17:06:53 +00:00
mfranz
547770e30b add alias()/unalias() wrapper methods 2008-11-12 14:43:41 +00:00
mfranz
78d1a6e631 OverlaySelector: check callback function explicitly for nil 2008-11-12 11:43:26 +00:00
mfranz
d1fd61c728 gui.nas: use nasal-dir-initialized signal for INIT func, so that it's
earlier available. (The settimer/1 was a workaround for another
    problem that should be fixed by now.)
globals.nas: load $FG_HOME/Nasal/ files as first settimer(0) function,
    so that it always comes after all nasal-dir-initialized callbacks

This should fix the glide_slope_tunnel/popupTip bug and makes the
startup order clearer and cleaner.
2008-11-11 14:54:51 +00:00
stuart
804ccca250 Change reference to new Docs/README.3DClouds 2008-11-09 21:23:14 +00:00
stuart
913ef78794 Description of cloudlayers.xml for 3D clouds. 2008-11-09 21:22:08 +00:00
stuart
a652e0c5e4 Update 3D cloud definitions, to improve performance. 2008-11-06 20:27:14 +00:00
stuart
2c2a67a021 Remove redundant 3D cloud controls. 2008-11-06 19:11:31 +00:00