[wesnoth-commits] [wesnoth/wesnoth] 627bde: Made more use of play_controller::get_teams

Charles Dang noreply at github.com
Sun Jan 3 08:10:05 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 627bde781e8dcccad0a7689e6659809bf66cd644
      https://github.com/wesnoth/wesnoth/commit/627bde781e8dcccad0a7689e6659809bf66cd644
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-03 (Sun, 03 Jan 2021)

  Changed paths:
    M src/mouse_events.cpp
    M src/play_controller.cpp
    M src/playmp_controller.cpp
    M src/playsingle_controller.cpp

  Log Message:
  -----------
  Made more use of play_controller::get_teams

Looks like some of these (esp in mouse_handler) would not have worked before without the non-const overload of get_teams.


  Commit: c2c45aa08567b0568d7c1a0a05901f3d8f8b6a1a
      https://github.com/wesnoth/wesnoth/commit/c2c45aa08567b0568d7c1a0a05901f3d8f8b6a1a
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-03 (Sun, 03 Jan 2021)

  Changed paths:
    M src/game_board.hpp
    M src/menu_events.cpp
    M src/mouse_events.cpp

  Log Message:
  -----------
  Game Board: removed mouse_handler and menu_handler as friends


  Commit: 2c4d9dff7f6708b5fbfe0c79f43db78c7a369e7f
      https://github.com/wesnoth/wesnoth/commit/2c4d9dff7f6708b5fbfe0c79f43db78c7a369e7f
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-03 (Sun, 03 Jan 2021)

  Changed paths:
    M src/game_board.hpp
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Game Board: removed game_lua_kernel as friend


Compare: https://github.com/wesnoth/wesnoth/compare/3006359321fd...2c4d9dff7f67



More information about the Commits mailing list