[wesnoth-commits] [wesnoth/wesnoth] 479252: Fixup 0c0c42c (this can't be explicit else it does...

Charles Dang noreply at github.com
Sun Jan 3 10:40:38 UTC 2021


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

  Changed paths:
    M src/game_classification.hpp

  Log Message:
  -----------
  Fixup 0c0c42c (this can't be explicit else it doesn't work with brace-init lists)


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

  Changed paths:
    M src/game_initialization/playcampaign.cpp
    M src/hotkey/hotkey_handler.cpp
    M src/hotkey/hotkey_handler_sp.cpp
    M src/mouse_events.cpp
    M src/play_controller.hpp
    M src/playmp_controller.cpp
    M src/playsingle_controller.cpp
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Play Controller: droped `_const` suffixes from getters


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

  Changed paths:
    M src/menu_events.cpp
    M src/menu_events.hpp
    M src/play_controller.hpp

  Log Message:
  -----------
  Menu Handler: removed unit, team, and map getters

Used the ones in play_controller instead of defining others in this class.
Also added a non-const play_controller::get_units to facilitate the switch.


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

  Changed paths:
    M src/menu_events.cpp

  Log Message:
  -----------
  Menu Events: avoid resource pointers where possible


Compare: https://github.com/wesnoth/wesnoth/compare/d8af4ffdade2...b3e77a656f85



More information about the Commits mailing list