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
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
c74d6ee75e
- make props.initNode a props.Node method
...
- props.nas: some minor improvements
2008-11-20 19:45:40 +00:00
mfranz
55c34a0748
calculate M2FT from FT2M (of course :-)
2008-11-20 11:33:42 +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
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
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
f5ab1de0b6
set/clear: shorter & a few nanoseconds faster
2008-10-22 23:04:07 +00:00
mfranz
464d9d3f75
add bits.toggle() and bits.switch()
2008-10-22 20:56:22 +00:00
mfranz
80215e0731
"export" bit vector & cleanup
2008-10-22 14:02:58 +00:00
mfranz
6003c3a17d
bits.test: remove silly loop
2008-10-22 13:26:55 +00:00
mfranz
6d5585ec65
restore simple bits functions. Useful for setting/testing boolean values
...
inr MP transport, and for setting/clearing modifier bits in js config files.
2008-10-22 12:49:01 +00:00
mfranz
2f76461c8c
io.nas/stat: drop use of broken bits library
...
gui.nas/OverlaySelector: me.data is no longer a node; only sort once
2008-10-21 21:37:41 +00:00
mfranz
0bd5bc58a7
livery: documentation fix
2008-10-19 21:12:57 +00:00
mfranz
c5fe446f58
overlay-select.xml, gui.nas: fix overlay-dialog close(); add relpath() func
...
aircraft.nas: remove redundant data.add()
2008-10-19 12:34:09 +00:00
mfranz
94211721cf
livery: fix bad default nameprop (must be relative)
2008-10-19 11:55:52 +00:00
mfranz
32bf0f7265
gui.nas: remove trailing slashes in nameprop/sortprop
...
aircraft.nas: add generic overlay_update function, and make livery_update
a wrapper for it
2008-10-19 11:52:56 +00:00
mfranz
da7d1ded71
aircraft.nas: make aircraft.livery a wrapper for gui.OverlaySelector
...
gui.nas: add file name to stored data (needed for MP-livery)
2008-10-16 15:26:19 +00:00
mfranz
a021ab0af0
- aircraft.nas: remove formation class (Deprecated only three hours ago.
...
Is this fast development, or what?! :-)
- gui.nas: remove debug message
2008-10-15 18:14:54 +00:00
mfranz
181dbba72c
OverlaySelector: more robust path handling
2008-10-15 16:48:24 +00:00
mfranz
c350a7b6a8
s/fixpath/normpath/ (as in python)
2008-10-15 16:35:11 +00:00
mfranz
8c7e7cb994
OverlaySelector: add callback func arg; only store the file paths
2008-10-15 16:13:10 +00:00
mfranz
5d576f0e3d
- gui.OverlaySelector: add optional sort criterion, add selection by index,
...
add next(), and previous() methods.
- aircraft.nas: deprecate formation class
2008-10-15 15:27:56 +00:00
mfranz
6a72126327
OverlaySelector: don't autosave choice. That's easy enough to do "by hand".
2008-10-14 18:48:54 +00:00
mfranz
4341781968
add overlay selector dialog class (similar to the livery selector)
2008-10-14 18:41:19 +00:00
mfranz
782368fefa
documentation update and cosmetics
2008-10-09 17:20:27 +00:00
mfranz
b1017ac425
Vivian MEAZZA: tyresmoke: add spray flag/intensity for wet surfaces
2008-10-08 22:57:50 +00:00
mfranz
996fd73c0c
- let F12 pop up radio settings dialog (used to be Ctrl-r)
...
- disable "reload global preferences", which is semi-broken
2008-10-08 21:59:31 +00:00
mfranz
ce0504cfd4
- move development functions from function keys to :Y (multikey)
...
- move replay from 'r' to 'Ctrl-r' where it is less dangerous
2008-10-07 20:13:34 +00:00
mfranz
3ba03ff2d7
AJ MacLEOD: add braking chute wrapper function
2008-10-07 19:22:49 +00:00
mfranz
363e210fda
- typeset longer option lists in multiple columns
...
- make it a tad faster
2008-10-07 10:44:45 +00:00
mfranz
fe8f9134ec
fun hack to get useful error message
2008-10-06 23:21:54 +00:00
mfranz
d9b5505a39
load_nasal(): hack around new Nasal bug
2008-10-06 21:21:13 +00:00
mfranz
77480233a6
ok, and now really fix it :-P
2008-10-06 20:22:28 +00:00
mfranz
459add7acb
d'oh ... s/setlistener/_setlistener/
2008-10-06 20:12:50 +00:00