[wesnoth-commits] [wesnoth/wesnoth] 1f9947: MP/Lobby: split handling of user list updating int...

Charles Dang noreply at github.com
Sat Jul 31 02:42:45 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 1f994775c208de706940a946d8aad8e77401157e
      https://github.com/wesnoth/wesnoth/commit/1f994775c208de706940a946d8aad8e77401157e
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
    M src/gui/dialogs/multiplayer/lobby.cpp
    M src/gui/dialogs/multiplayer/lobby.hpp
    A src/gui/dialogs/multiplayer/lobby_player_list_helper.cpp
    A src/gui/dialogs/multiplayer/lobby_player_list_helper.hpp
    M src/gui/widgets/tree_view_node.cpp
    M src/gui/widgets/tree_view_node.hpp

  Log Message:
  -----------
  MP/Lobby: split handling of user list updating into separate class

This also fixes an issue introduced in 0e3faee8031610a1e7db2cd484e4c65cfbe292ea where, since the newly added
nodes were sorted by player name, the default sorting of players (first by relation, *then* by name) was ignored.

This also changes tree_view_node::replace_children to take a vector instead of a map for its data.


  Commit: 7430cf572009ec80c82cee943f97b445f8e98a44
      https://github.com/wesnoth/wesnoth/commit/7430cf572009ec80c82cee943f97b445f8e98a44
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
    M src/gui/dialogs/multiplayer/lobby.cpp

  Log Message:
  -----------
  MP/Lobby: removed colorize


  Commit: 5f2338f3978dfba25e04ded33f34b6f628c3f63d
      https://github.com/wesnoth/wesnoth/commit/5f2338f3978dfba25e04ded33f34b6f628c3f63d
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
    M src/game_initialization/multiplayer.cpp

  Log Message:
  -----------
  MP: used more config::optional_child


Compare: https://github.com/wesnoth/wesnoth/compare/60d2f42e73a7...5f2338f3978d



More information about the Commits mailing list