1
0
Fork 0
Commit graph

3458 commits

Author SHA1 Message Date
mfranz
cf88f5e8a4 remove is{dir,reg,lnk,sock,fifo,blk,chr}. The vector returned by io.stat()
does now contain the type in element 11.
2009-02-15 21:08:55 +00:00
mfranz
719c2f4610 replace deprecated io.isdir(stat[2]) by stat[11] == "dir" 2009-02-15 20:49:16 +00:00
mfranz
e32cdecf37 replace deprecated io.isdir(stat[2]) by stat[11] == "dir" 2009-02-15 20:41:22 +00:00
mfranz
fed30b2f05 io.nas: add deprecation warning to io.is{dir,fifo,lnk,...} 2009-02-15 18:26:20 +00:00
mfranz
b95ea91501 use stat[11] == "dir" instead of deprecated io.isdir() 2009-02-15 18:24:22 +00:00
mfranz
9241e1af84 entry for /sim/multiplay/write-message-log (off by default) 2009-02-15 18:06:30 +00:00
mfranz
9b8f29fdfe use local hash (again) to store last messages per callsign 2009-02-15 17:50:13 +00:00
mfranz
b465bd27a8 --prop:sim/multiplay/write-message-log=1 enables logging of MP messages
to $FG_HOME/mp-messages.log
2009-02-15 17:36:47 +00:00
mfranz
efaa3d545d - simplification (multiplayer.model does a lot of the checks already)
- write to /sim/messages/mp-plane (rather than ai-plane)
- screen.nas: better color?
2009-02-15 15:48:38 +00:00
mfranz
c77af3c4b6 map /sim/messages/mp-plane to screen/voice 2009-02-15 15:10:47 +00:00
mfranz
8f5304ad90 add values() function as a counterpiece to keys() (see Perl) 2009-02-15 14:13:49 +00:00
sydadams
58d629ed13 Display , hotspot update 2009-02-15 09:32:11 +00:00
stuart
dfc22cf009 Use initNode for safe, effective relief from code bloat. 2009-02-12 21:14:54 +00:00
stuart
9130605ca7 Use initNode() for convenient, fast, effective property initialization. 2009-02-12 21:00:57 +00:00
stuart
f181fd1040 Revert personal entries from checked-in menu bar. 2009-02-12 20:39:40 +00:00
stuart
72cc845a63 Remove redundant (and ugly) set1 function 2009-02-12 20:32:04 +00:00
stuart
a0a493b8ce Failure manager. Based on work by Erobo and John DENKER. 2009-02-12 20:24:06 +00:00
mfranz
824cff9192 comment out isnan()
It conflicts with Jester's debugging setup, and Andy says there should be
no NaN in the first place. This is a bug that needs to get fixed. Just
enable isnan() if you want to detect NaNs in the meantime. (The MP system
creates them ATM. The property getters shall turn them into nil.)
2009-02-12 16:59:03 +00:00
mfranz
5bc6fb2c62 - make it resizable
- cleanup
2009-02-09 22:27:26 +00:00
torsten
44434783c8 remove SenecaII dependencies 2009-02-09 15:32:03 +00:00
mfranz
a9afecf74b debug.error: rename to warn, reduce default caller skip, documentation 2009-02-09 14:29:43 +00:00
mfranz
747d9dcbde debug mode: fix slice 2009-02-09 00:24:23 +00:00
mfranz
6495f062d3 var++ 2009-02-08 21:58:31 +00:00
mfranz
959354c2aa Dave PERRY: improve the pa24 yoke to match aircraft interior photos 2009-02-08 21:42:36 +00:00
mfranz
4757d49c0c debug mode: add hint for why the write operation probably failed 2009-02-08 21:16:28 +00:00
mfranz
04511dbc8d --prop:debug=1 enables a debug mode where some functions generate warnings.
setprop(), props.Node.set{,Int,Bool,Double}Value() complain if they couldn't
write, e.g. because the target property is write protected, or doesn't have
a tied setter function.
2009-02-08 20:46:55 +00:00
mfranz
c07a989790 Rodrigo SEVERO: "Logitech Logitech Force 3D Pro" config 2009-02-07 18:28:45 +00:00
mfranz
a1c1018aa2 Anders GIDENSTAM: adapt for unified tank level property (and do it right :-) 2009-02-06 23:14:49 +00:00
sydadams
debc2f5af2 Sorry guys , that local change wasn't supposed to be commited 2009-02-06 23:10:00 +00:00
sydadams
22b9c908a9 Update jsb aircraft to use the changed tank/level-lbs property 2009-02-06 22:56:00 +00:00
mfranz
1d783e03bb remove debug.exit(); add debug.isnan()
- exit was only justified at times where fgcommand() needed an explicit
  node statement, which made using it a bit clumsy. Nowadays that's only
  fgcommand("exit"), which is as good as debug.exit() was.
- isnan() is really only for debugging and, thus, not in the global
  namespace. Nasal code should never generate NaNs (though it's easy:
  var nan = 1/0; There! :-), and NaNs imported from the C++ side (tied
  properties!) should get fixed there. IOW: routine checks for nan in
  Nasal can only be temporary hacks/debugging measures.
2009-02-06 14:41:13 +00:00
mfranz
1d50d3c086 dialog: show unavailable entries orange; cleanup 2009-02-06 12:03:31 +00:00
mfranz
4a45a34457 calling self should, of course, be supported 2009-02-05 21:19:04 +00:00
mfranz
c2e50c2c6f immediately re-open popup if an aircraft was chosen that meanwhile disappeared 2009-02-05 00:58:05 +00:00
mfranz
532e340e94 start with chat-full (history) mode, as there's already the _ input line anyway 2009-02-04 22:19:36 +00:00
mfranz
540b9368fe multiplayer.model: more containers, more data, variable renaming,
temporarily catching error exceptions, colored missing-ac message ...
2009-02-04 21:47:19 +00:00
torsten
6feca1bda5 *** empty log message *** 2009-02-04 20:43:59 +00:00
mfranz
f41c59e238 move from $FG_ROOT/Models/Effects/Wildfire/ to $FG_ROOT/Docs/ 2009-02-03 18:13:08 +00:00
mfranz
158c7ea800 - check for availability of MP models (add 'available' member)
- display "??? foo" if "foo" isn't available on the system
- make sure x/y/z are never nil (I think I had such a case)
2009-02-03 16:15:37 +00:00
mfranz
5ac4c13406 set the blue/yellow glider as default model
(This isn't really necessary, as this is also the hard-coded default,
but the entry should make people aware of the configuration option.)
2009-02-03 15:53:45 +00:00
vmmeazza
1e0c868a89 Fix typo 2009-02-01 23:15:03 +00:00
mfranz
7985e6e984 model_view: add some orientation parameters 2009-02-01 21:59:41 +00:00
mfranz
afe8de52ab - faster sorting
- update loop fix
2009-02-01 01:58:15 +00:00
mfranz
a644007c67 disabling the dialog in screenshots is nice in theory, but doesn't really work 2009-01-31 22:01:42 +00:00
mfranz
9fdec57110 dialog: don't start multiple loops 2009-01-31 21:53:54 +00:00
mfranz
20605f3623 transparent dialogs look nice, but they are just too hard to read 2009-01-31 21:39:20 +00:00
mfranz
ab1e00a81e - re-open after gui-reinit
- only update once per sec
- cosmetics
2009-01-31 21:22:18 +00:00
mfranz
3cf6667328 gahh ... s/setlistener/_setlistener/ 2009-01-31 20:29:20 +00:00
mfranz
de80ed4b1c only open popup if there's something to choose from 2009-01-31 20:10:47 +00:00
mfranz
8bb50c1871 model_view_handler: use multiplayer.model + add selection popup 2009-01-31 19:30:31 +00:00