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
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