[Commits] [wesnoth/wesnoth] 124781: integrate game_board into turn_info object

GitHub noreply at github.com
Sun Jun 1 21:54:56 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 124781c9d84e12ed3d0cb7c1e52fbec091b14da8
      https://github.com/wesnoth/wesnoth/commit/124781c9d84e12ed3d0cb7c1e52fbec091b14da8
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-06-01 (Sun, 01 Jun 2014)

  Changed paths:
    M src/game_board.cpp
    M src/game_board.hpp
    M src/playturn.cpp
    M src/team.hpp
    M src/whiteboard/manager.cpp
    M src/whiteboard/manager.hpp

  Log Message:
  -----------
  integrate game_board into turn_info object

This commit manages to purge all references to resources::teams
and resources::units from the turn_info object, by moving
functionality to game_board, or refactoring to use const &
accessors.

This is not a strict refactor, but I had my hand in the earlier
state of this code anyways, and I have playtested the new version.





More information about the Commits mailing list