1
0
Fork 0
Commit graph

3481 commits

Author SHA1 Message Date
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
torsten
bdd32a47bf added ki266 3d-instrument, see ki266.xml for help 2008-11-03 16:18:06 +00:00
helijah
53406990dc - fixed some bugs + more airport infos + multikey system 2008-11-02 15:50:21 +00:00
martin
bf59d755aa Brett Harrison:
Some different liveries made after real aircraft
2008-10-31 18:40:32 +00:00
curt
d39df8c1e1 Remove depricated .rgb and .rgba textures which are now converted to .png 2008-10-30 23:58:20 +00:00
curt
23e8a4004b Fixes to track recent development changes. 2008-10-30 19:20:19 +00:00
curt
f127156878 Tidy up for a source code "snapshot" release. 2008-10-30 18:35:51 +00:00
martin
77c5068a49 Update the PDF to Stuart's latest changes. 2008-10-26 13:28:42 +00:00
ehofman
d3782d2832 Add some fuel and light properties 2008-10-26 10:24:35 +00:00
fredb
a24f54b7e8 3D clouds from Stuart Buchanan. Need a recent driver update, --enable-clouds3d option and a Weather Scenario to show up 2008-10-26 09:38:46 +00:00
mfranz
80b88416a7 Dmitry "DimkaS" Koroban: Genius F23-USB js config 2008-10-25 21:14:03 +00:00
mfranz
05cc0f3fda add complementary function to bits.string(): bits.value() This is rather
pointless for running fgfs, but can be useful for development and debugging,
and it's just a few lines.
2008-10-25 15:03:32 +00:00
mfranz
6384588444 I said "correctly". 2008-10-25 14:24:26 +00:00
mfranz
f7bd13fed3 debug.dump(): print empty strings as hash key correctly 2008-10-25 14:20:47 +00:00
mfranz
6371627424 bits.string: add optional zero-padding 2008-10-23 22:16:32 +00:00
mfranz
97c1ec0ac7 set: bugfix (invert test; still faster than the old version :-) 2008-10-22 23:27:03 +00:00
mfranz
c0b2e1256e use bits functions & cleanup 2008-10-22 23:05:54 +00:00
mfranz
f5ab1de0b6 set/clear: shorter & a few nanoseconds faster 2008-10-22 23:04:07 +00:00