1
0
Fork 0
Commit graph

3067 commits

Author SHA1 Message Date
mfranz
11d7de3e85 enable the Multiplayer menu if any of txport and rxport is set 2008-06-11 20:05:46 +00:00
stuart
510842c15a Make Pilot List label consistent with rest of menu items. 2008-06-11 19:22:22 +00:00
mfranz
55670ccb35 enable multiplayer menu only in MP mode 2008-06-11 18:46:54 +00:00
mfranz
4f7481fea8 add Multiplayer menu with chat & pilot list 2008-06-11 18:40:51 +00:00
mfranz
761444b917 close dialog on Esc, like every other dialog with a close button 2008-06-11 18:39:03 +00:00
mfranz
c1581e2ea1 Till BUSCH: multiplayer dialog (open with multiplayer.dialog.open() or toggle()) 2008-06-11 18:23:03 +00:00
mfranz
2866043c3d - prop_key_handler: limitate history to history-max-size on loading
- string/debug: cosmetics
2008-06-08 11:14:57 +00:00
abory
166f5c8b96 - Alexis: oops, should better test before committing. 2008-06-05 21:10:43 +00:00
abory
ba83e856cf - Alexis: ooops I forgot Jettoo's last additions in the tables. 2008-06-05 19:44:09 +00:00
abory
40d9b0e400 - Jettoo (glazmax) and Alexis: Radar Visibility Calculator. 2008-06-05 19:37:32 +00:00
mfranz
f8f63fcd8d use props.initNode() & simplification 2008-06-04 20:52:09 +00:00
mfranz
238fce1d15 let initNode() initialize a property to double(0) by default 2008-06-04 20:41:44 +00:00
mfranz
64296a8d4a fix path 2008-06-04 20:19:27 +00:00
mfranz
fd983fd62c Ron JENSEN: config for 'Saitek Saitek Pro Flight Quadrant'
Axis Left to Right: Throttle, Prop Pitch, Mixture
Buttons Left to Right: Flaps, Trim, Gear (up is up, down is down)
2008-06-01 06:42:05 +00:00
stuart
f69eaafc07 Disable generic headshake by default. Various people have pointed out that this is not particularly realistic (though I quite like the effect myself so will leave it as an option). 2008-05-30 19:19:35 +00:00
sydadams
51344a09ec a few more updates , cleanups ... 2008-05-22 07:00:45 +00:00
sydadams
5b020a450a updates from Ron Jensen 2008-05-22 02:30:49 +00:00
mfranz
205675455c - make modelmgr a singleton class
- add selected_models() function
- fix help screen
2008-05-21 23:33:23 +00:00
mfranz
95a652be17 - add <delay-sec>
- fix mixed indentation
2008-05-21 14:55:57 +00:00
mfranz
246ce973ec save and reload up to 20 history entries 2008-05-19 17:31:57 +00:00
mfranz
8fe1cf807d add initNode() function that initializes (if necessary) and returns a property.
If the property has a valid value already, then the given value is ignored.

  var x = props.initNode("/foo", 10);
  var y = props.initNode("/bar", 1, "BOOL");
2008-05-19 15:44:23 +00:00
mfranz
67ba396942 display: redraw on window resize so that the display won't disappear 2008-05-19 09:48:41 +00:00
mfranz
3184ea67a3 - add screen.display documentation
- add screen.display.setfont() and .toggle() method
- make property labels optional
2008-05-16 16:26:15 +00:00
mfranz
5334016034 display: format number, true/false for bools, quotes for strings 2008-05-15 20:31:35 +00:00
mfranz
f54cb1159f prop_disp: change color to white ... again. (Sorry for the many small commits. :-) 2008-05-15 16:11:50 +00:00
mfranz
54f8fc4370 property_display: turn it into a regular class & lots of improvements 2008-05-15 15:42:31 +00:00
mfranz
0b4322736f - make debug.dump() accept more than one argument (one could already write
debug.dump([a, b]) for that, but debug.dump(a, b) is more obvious)
- change output colors: variable names are no longer bold, all property
  attributes are now blue, not just the property type)
- drop redundant braces & other cosmetics
2008-05-15 15:23:17 +00:00
mfranz
b6d987453f data.add(): use props.nodeList() function 2008-05-15 15:20:11 +00:00
mfranz
a329a7ba14 - add props.nodeList() function which turns property ghosts, props.Nodes,
and path strings into a list of props.Nodes. It also digests lists of
  properties, or lists of lists of properties etc., thus allowing things
  like props.nodeList(arg), props.nodeList(n.getChildren("foo")). This is
  meant for functions like aircraft.data.add() or screen.display.add().
- remove some redundant braces
- fix comment
2008-05-15 15:17:56 +00:00
mfranz
e5c027786d property_display:
- don't use screen.window, but let it do its own dialog handling. Thereby
- make it faster  (update every frame by default)
- prevent collisions with the menu
- allow to move the dialog away (only the left edge is draggable!)
- try color white  (better color suggestions welcome :-)
2008-05-14 20:06:50 +00:00
mfranz
356a8430a7 property display: make sure tags are as short as possible but unique 2008-05-14 15:40:00 +00:00
mfranz
af38cc7c63 property display:
- make interval and color configurable
- use bigger font
- display strings containing \n in one line
2008-05-14 12:04:54 +00:00
mfranz
ee8b517246 property display: don't choke on nil properties 2008-05-14 10:57:02 +00:00
mfranz
ba57bd9a2e property display: set HELVETICA_12 font (same as for fps display) 2008-05-14 10:36:37 +00:00
mfranz
02c4b7a613 - screen.nas: add live property display
- prop_key_handler.nas add support for live property display
2008-05-14 10:23:47 +00:00
mfranz
6a577072da - write last clicked entry to /sim/gui/dialogs/property-browser/selected
- darken clone button
- cleanup & cosmetics
2008-05-14 10:19:17 +00:00
mfranz
d12dfeda42 bah ... put the clone/copy function on the 'c' 2008-05-10 18:27:15 +00:00
mfranz
8361721c72 make Shift-d clone all selected objects (same key as in Blender :-) 2008-05-10 18:23:52 +00:00
mfranz
a571440567 - let Ctrl-g have the same meaning as g (necessary for LMB emulation)
- more cosmetics
2008-05-10 11:09:33 +00:00
mfranz
4c16eacf96 - make MMB-transformation step size depend on viewer distance
- add cursor.ac to the model selection list (useful as rotation center)
2008-05-09 20:40:10 +00:00
mfranz
6e36e21f7b - support *.osg models (priority: *.xml -> *.osg -> *.ac)
- cleanup
2008-05-09 16:47:38 +00:00
durk
0925bc751e Added a default value for the /sim/traffic-manager/proportion property. 2008-05-09 05:25:54 +00:00
stuart
1c75436c98 Correct spelling mistake in ATC chat. 2008-05-08 20:18:49 +00:00
mfranz
e5b1c408dc mouse walk -> operation mode: with Ctrl modifier down, don't move the
ufo position, but the selected objects: ctrl-mmb left/right/up/down move
the objects left/right/away/nearer, and ctrl-mmb-lmb l/r/u/d rotate them
all around the active object ('m'-key marker!) or raise/lower them.

(the gear-key 'g' can for now be used as a Ctrl replacement for people
with 2 button mouse; will probably be moved to a better place ...)
2008-05-08 20:11:39 +00:00
mfranz
59d9f53e57 mouse walk: wrap mouse, so that the walking range is only limited by the
size of the mouse pad, not by the screen size  :-)
2008-05-08 10:23:19 +00:00
mfranz
b055de3528 add setCursor() wrapper function for the "set-cursor" fgcommand 2008-05-08 10:15:18 +00:00
mfranz
076bc0f176 mouse walk: don't use Ctrl+MMB for left/right/up/down, but MMB+LMB 2008-05-07 18:03:38 +00:00
mfranz
3d1582798a - center controls when starting/stopping mouse walk, as well as at startup
- make shift modifier increase walking speed
2008-05-06 22:49:02 +00:00
mfranz
ef20bebf4f mouse walk: a bit more progression on x/y/z; no progression on hdg change 2008-05-05 21:47:39 +00:00
mfranz
49763a91b0 move dialogs up so that the mouse button listener doesn't bark 2008-05-05 18:45:21 +00:00