Julian Smith
f61b097eb3
Nasal/multiplayer.nas: In Pilots list, use only one colour (white) for pilots for whom we have a model.
...
I think the previous alternating colours were confusing because of the use of
a third and fourth colour for when we have no model or are using a fallback
model.
2019-07-09 16:25:11 +01:00
Julian Smith
e2df25343a
Nasal/multiplayer.nas: reordered columns in Pilot List window.
...
Moved 'code', 'ver' and 'set' away to the right, as i think they are less
important. Also demoted 'brg' a little and promoted 'dist-'.
2019-07-09 16:25:11 +01:00
Julian Smith
47415e20ce
Pilot List dialogue now allows control of which aircraft to view.
...
I think this is more convenient than the normal model-view buttons / popup
list. [Though this is still there.]
Nasal/multiplayer.nas:
Added new column 'view' with checkbox. Also added 'view self' button to
titlebar to view the user's aircraft.
Fix some bad indentation.
Nasal/view.nas:
Changed /sim/current-view/model-view to contain just the callsign, not
'<callsign> <model>', so that Nasal/multiplayer.nas can get the callsign
reliably.
2019-07-09 16:25:11 +01:00
Julian Smith
56859113b2
Nasal/multiplayer.nas: added column showing whether we've found and loaded -set.xml for each multiplayer.
...
This determines whether multiplayer views work correctly - these require
correct view offsets from the -set.xml files.
2019-07-09 16:25:11 +01:00
Richard Harrison
c98c299625
Multiplayer list:
...
Change model that has a fallback model to be green rather than orange.
2018-11-05 19:52:41 +01:00
Tobias Dammers
054da4e691
Fix: chat messages from MP list captured kbd forever
2018-03-19 09:47:16 +00:00
Richard Harrison
08fd851489
Theme rework.
...
Change fonts; make use of the new feature to allow fonts to be specified using property from dialog xml.
Ensure that all fonts are defined within the style.
2017-11-12 16:57:39 +01:00
Richard Harrison
5ca84cbfdf
Revised classic theme to make it use better fonts and colours.
2017-09-18 00:48:20 +02:00
Richard Harrison
434d4fde90
Multiplayer chat : possibly fix the popup dialog getting stuck.
2017-09-18 00:45:15 +02:00
James Turner
84fa01a6d8
Hint to the user when we adjust on-runway start.
...
Still deciding if this is needed or in the right place, but
adding as an experiment, can be reverted if people don’t
like it.
2016-07-17 21:54:33 +01:00
mhab
1d9ff30420
Close dialogs with Esc-key
2013-12-02 21:32:05 +01:00
Vivian Meazza
d2b384ffad
Add ID code to pilot list
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-05-14 17:16:06 +01:00
ThorstenB
fad306d364
#877 : MP chat sometimes not working
2012-09-16 14:00:40 +02:00
Markus Pargmann
b67a848bfc
pilot list direct chat button
...
This is a new button in the pilot list, left of the callsign. It's
binded to multiplayer.compose_message("<CALLSIGN>, ");
Signed-off-by: Anders Gidenstam <anders@gidenstam.org>
2012-06-16 18:38:45 +02:00
ThorstenB
06f910c0f6
#611 : write-message-log nasal error
...
Also fix issues when disconnecting/reconnecting MP at run-time.
2012-01-22 12:42:57 +01:00
ThorstenB
a195da8676
Stop message loop when disconnecting MP server
...
Also update status of menu items.
2012-01-07 16:17:02 +01:00
Stuart Buchanan
0d9d60eca7
Fix MP chat to work when MP not enabled from the command line.
2012-01-04 22:54:21 +00:00
ThorstenB
1f1c752316
Improve multiplayer chat, stop sending expired messages.
...
Only transmit messages for a few seconds instead of forever.
Also remove two obsolete variables.
2011-04-02 11:41:32 +02:00
ThorstenB
adbf344559
MP pilot list: fixed window behaviour and "--fg-aircraft" support.
...
Use new "model-installed" property instead of searching directories
directly - which didn't work with new "--fg-aircraft" dirs.
Also, pilot list now keeps its position. Avoid jumping to top-right
corner when updating.
2010-11-13 17:38:37 +01:00
James Turner
0425ec0589
Torsten Brehm: catch NaNs in pilot list gui, and report only once per call-sign.
2010-10-16 17:31:19 +01:00
Stuart Buchanan
7ee83e19df
Modify chat key handler, so excessive backspaces doesn't enable the autopilot.
2010-09-27 21:13:30 +01:00
Stuart Buchanan
bb9e21f6e6
Revert "Initial check-in of MP groups function"
...
This reverts commit e9113980449fe50eb186a3b2e26bc88dc613d841.
2010-06-27 23:23:56 +01:00
Stuart Buchanan
fee08cca57
Initial check-in of MP groups function
2010-06-18 21:13:47 +01:00
Stuart Buchanan
b53c16db1d
Update pilot list to use ignore property for AI objects
2010-05-21 22:09:38 +01:00
torsten
823636811f
Anders Gidenstam:
...
Here is a new diff for the MP-chat ignore feature since multiplayer.nas
has been updated
2009-10-11 18:40:55 +00:00
torsten
862730999e
Anders Gidenstam:
...
I suspect that work around for the /ai/models/model-added listener problem
(i.e. that the listener is called in the middle of the process of
adding/removing a MP entry) isn't the right way to solve the problem.
The attached patch instead defer processing of the added/removed
MP entries in the multiplayer Nasal module until the next time the Nasal
subsystem is executed. This should prevent the problematic execution of
the Nasal listener callback in the middle of C++ MP code.
2009-10-11 11:57:58 +00:00
torsten
24204e2e75
don't ignore the latest multiplayer pilot
2009-09-05 20:22:14 +00:00
mfranz
ecd8c1b71f
make model-not-installed message a little less noisy
2009-03-23 21:24:41 +00:00
mfranz
2618b98b88
model: simplification using the new values() function
2009-02-16 23:35:54 +00:00
mfranz
315d48910a
message log: don't show seconds; new header/footer; minor improvements
2009-02-16 15:38:47 +00:00
mfranz
6a6861a5ff
mp log: use real time
2009-02-15 22:52:22 +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
1d50d3c086
dialog: show unavailable entries orange; cleanup
2009-02-06 12:03:31 +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
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
afe8de52ab
- faster sorting
...
- update loop fix
2009-02-01 01:58:15 +00:00
mfranz
9fdec57110
dialog: don't start multiple loops
2009-01-31 21:53:54 +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
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
c697394b1c
strip \n from own chat messages (again :-)
2009-01-27 20:12:19 +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
9d4d61e2e8
don't close the dialog on Esc (Jester was right: that's annoying :-)
2009-01-25 15:18:51 +00:00
mfranz
64a22469ab
s/hdg/brg/
2009-01-12 21:50:43 +00:00
mfranz
8b62c82b38
fix another forgotten geo.FT2M -> globals.FT2M
2008-11-23 22:22:49 +00:00
abory
8fcaaf4491
- Alexis Bory: As seen previously with Till, the nasty F-14 radar brakes multiplayer.dialog.show() unless we better test the "valid" node.
2008-10-02 20:12:00 +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