1
0
Fork 0
Commit graph

3528 commits

Author SHA1 Message Date
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
mfranz
65e4b71406 factor the MP aircraft monitoring code out of the dialog class and let
the dialog use it. Other services need the same functionality and it
should only be done once.
2009-01-31 17:15:48 +00:00
mfranz
c795f30862 define baseline height 2009-01-31 12:46:49 +00:00
mfranz
82d4864c24 model_view: remove stale/invalid entries 2009-01-31 10:24:08 +00:00
mfranz
a1dd828085 that's one way to get a high commits number ;-) 2009-01-30 22:16:33 +00:00
mfranz
fee73a12cb osg reports Return as key 10 (\n), while plib reported it as 13 (\r) 2009-01-30 22:14:11 +00:00
mfranz
9927e31504 - use "var" keywords everywhere
- bail out if there's no autopilot at all
2009-01-30 21:24:59 +00:00
durk
da788c973b Actually setting this to false makes more sense, as long as the majority
of groundnetworks has not yet been updated.
2009-01-30 20:45:29 +00:00
durk
5f345e6077 first step toward configurable support for the airport geometry data
provided by the Custom Scenery Project.
2009-01-30 17:48:07 +00:00
mfranz
e31acedcfa model_view: make it more reliable 2009-01-30 15:22:17 +00:00
mfranz
db1fcf2949 model_view: remove experimental mouse handling; cleanup 2009-01-30 12:05:29 +00:00
mfranz
77c7f9cfc1 add model-view: switch through all AI/MP models via dialog in bottom/left corner 2009-01-30 01:28:54 +00:00
mfranz
cf69b0d01b model_view: ignore AI models for now (make that configurable?) 2009-01-30 00:16:14 +00:00
mfranz
6aa74d2e7a add model-view: switch through all AI/MP models via dialog in bottom/left corner 2009-01-29 23:57:57 +00:00
mfranz
22fa0c3456 - remove all key shortcuts ("Enter" for the default widget remains, of course)
- let chat dialogs be opened in the bottom right corner
- make chat_full.xml smaller (it's now resizable, anyway)
2009-01-29 19:50:24 +00:00
mfranz
89ab7ab274 add new <slider> and <textbox> parameters 2009-01-29 19:01:25 +00:00
mfranz
71d2760994 - move slider down at startup (scrolling mode from the beginning)
- make dialog smaller (resize if necessary)
2009-01-29 18:51:10 +00:00
mfranz
12a4321801 chat: make it transparent; '+' key switches to full version; esc doesn't quit
chat_full: use "window" style (to save); '-' key switches to small version
2009-01-28 22:02:38 +00:00
mfranz
ab8451d92c whoops ... "nicer" I said 2009-01-28 21:16:27 +00:00
mfranz
2ed8771724 padding (for easier resizing); stretch for nicer tab button alignment 2009-01-28 21:12:15 +00:00
mfranz
7390451334 set padding; no wrapping 2009-01-28 21:03:34 +00:00
mfranz
621f3065c9 indentation fix 2009-01-28 21:02:03 +00:00
mfranz
c697394b1c strip \n from own chat messages (again :-) 2009-01-27 20:12:19 +00:00
mfranz
9957c0a6e1 add eXtended isstring: isxstring(), which also applies to \n 2009-01-27 19:27:21 +00:00
mfranz
fedd64d89a optimization & cleanup & var keyword:
- use find() instead of string.match()  (way faster!)
- add a missing var keyword
- don't store old messages in a hash, but only store the respective last
  message in the model's multiplayer branch
- keep history \n-trimmed (instead of removing \n only when concatenating)
2009-01-27 16:55:46 +00:00
mfranz
14a928f391 trim: allow to specify alternative trim class function 2009-01-27 01:42:46 +00:00
ehofman
dbd3cf8a5a Sync. with JSBSim CVS 2009-01-26 20:37:19 +00:00
mfranz
9d4d61e2e8 don't close the dialog on Esc (Jester was right: that's annoying :-) 2009-01-25 15:18:51 +00:00
mfranz
2541ad8e30 All elements of a --prop:display expression containing a percent sign are
interpreted as number format. (They couldn't be valid property paths anyway.)
If there's more than one such element, then the last one counts.

  --prop:display=%.2g,velocities/airspeed-kt,position/altitude-ft
2009-01-25 00:27:12 +00:00
mfranz
44992a43c7 line-wrap help text for new font 2009-01-22 23:29:57 +00:00
mfranz
eaf5089319 turn off line wrapping (if you don't like the slider, use plib/SVN/HEAD) 2009-01-20 22:52:57 +00:00