[Commits] [wesnoth/wesnoth] 97b33c: Allow the attacks aspect to be implemented with Lu...

GitHub noreply at github.com
Mon Mar 28 03:22:53 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 97b33cfdfca346a1ef265b7c4cf9713577eff6f3
      https://github.com/wesnoth/wesnoth/commit/97b33cfdfca346a1ef265b7c4cf9713577eff6f3
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-03-27 (Sun, 27 Mar 2016)

  Changed paths:
    M changelog
    M src/ai/default/aspect_attacks.cpp
    M src/ai/default/aspect_attacks.hpp
    M src/ai/lua/aspect_advancements.cpp
    M src/ai/lua/aspect_advancements.hpp
    M src/ai/lua/core.cpp
    M src/ai/lua/lua_object.cpp
    M src/ai/lua/lua_object.hpp
    M src/ai/registry.cpp
    M src/units/filter.cpp
    M src/units/filter.hpp

  Log Message:
  -----------
  Allow the attacks aspect to be implemented with Lua

Semi-related changes also included:
- Unit filter now has empty() and to_config() methods
- Advancements aspect now unrefs its function on destruction
- Const correctness for ai.get_attacks()





More information about the Commits mailing list