[Commits] [wesnoth/wesnoth] dd5a8a: Menu Handler: made state gamestate/gameboard data ...

GitHub noreply at github.com
Fri Apr 28 07:11:10 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: dd5a8a6e38a30d1d638c33ffcd90841a67511000
      https://github.com/wesnoth/wesnoth/commit/dd5a8a6e38a30d1d638c33ffcd90841a67511000
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-04-28 (Fri, 28 Apr 2017)

  Changed paths:
    M src/menu_events.hpp

  Log Message:
  -----------
  Menu Handler: made state gamestate/gameboard data getters public

This is to enable the MP Change Control dialog to use them.


  Commit: 8970340f3902da4c6ffee4e6869a247530791b0e
      https://github.com/wesnoth/wesnoth/commit/8970340f3902da4c6ffee4e6869a247530791b0e
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-04-28 (Fri, 28 Apr 2017)

  Changed paths:
    M src/gui/dialogs/multiplayer/mp_change_control.cpp
    M src/gui/dialogs/multiplayer/mp_change_control.hpp
    M src/menu_events.cpp

  Log Message:
  -----------
  MP Change Control: utilize menu_handler member for game_board access

This also changes the stored member to a reference since A: we no longer test this dialog and B: the dialog is
useless without the game_board.


Compare: https://github.com/wesnoth/wesnoth/compare/a4b3f72a575e...8970340f3902


More information about the Commits mailing list