From d527c0eee2345cf76f1d3e307aade2992db6d13d Mon Sep 17 00:00:00 2001 From: Benau Date: Mon, 12 Mar 2018 11:28:13 +0800 Subject: [PATCH] Use icon to identify server owner, online and offline players Also hide the friend request button for offline players --- data/gui/online/networking_lobby.stkgui | 2 +- src/network/network_player_profile.hpp | 6 +- src/network/protocols/client_lobby.cpp | 15 ++-- src/network/protocols/lobby_protocol.hpp | 2 +- src/network/protocols/server_lobby.cpp | 3 +- .../dialogs/network_user_dialog.cpp | 1 + src/states_screens/networking_lobby.cpp | 69 ++++++++++++------- src/states_screens/networking_lobby.hpp | 19 ++++- 8 files changed, 76 insertions(+), 41 deletions(-) diff --git a/data/gui/online/networking_lobby.stkgui b/data/gui/online/networking_lobby.stkgui index c2660c79c..c97df606f 100644 --- a/data/gui/online/networking_lobby.stkgui +++ b/data/gui/online/networking_lobby.stkgui @@ -20,7 +20,7 @@ -