[Commits] [wesnoth/wesnoth] 06228f: put unit attack_type in new file.

GitHub noreply at github.com
Mon Dec 29 15:12:01 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 06228f09ecfec69fca4ffd12f55466c97aea96c2
      https://github.com/wesnoth/wesnoth/commit/06228f09ecfec69fca4ffd12f55466c97aea96c2
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-12-29 (Mon, 29 Dec 2014)

  Changed paths:
    M src/CMakeLists.txt
    M src/SConscript
    A src/unit_attack_type.cpp
    A src/unit_attack_type.hpp
    M src/unit_types.cpp
    M src/unit_types.hpp

  Log Message:
  -----------
  put unit attack_type in new file.


  Commit: 5c27af29788e65018606c19830a6c786cda0cca4
      https://github.com/wesnoth/wesnoth/commit/5c27af29788e65018606c19830a6c786cda0cca4
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-12-29 (Mon, 29 Dec 2014)

  Changed paths:
    M src/actions/attack.cpp
    M src/unit.cpp
    M src/unit_attack_type.cpp
    M src/unit_attack_type.hpp

  Log Message:
  -----------
  replace attack_type::get_cfg()

the new interface gives more encapsulation.


  Commit: 4c39a23843576f906ef24329359a9056d14991a0
      https://github.com/wesnoth/wesnoth/commit/4c39a23843576f906ef24329359a9056d14991a0
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-12-29 (Mon, 29 Dec 2014)

  Changed paths:
    M src/unit_abilities.cpp
    M src/unit_attack_type.cpp
    M src/unit_attack_type.hpp

  Log Message:
  -----------
  remove duplicate information in attack_type

previously we stored this information in a config object and in member
variables, now the config object is removed.


Compare: https://github.com/wesnoth/wesnoth/compare/637514e5232e...4c39a2384357


More information about the Commits mailing list