[Commits] [wesnoth/wesnoth] a60d5b: move formula ai features of unit to a unit formula...

GitHub noreply at github.com
Sat Jun 14 22:41:00 UTC 2014


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

  Changed paths:
    M projectfiles/CodeBlocks-SCons/wesnoth.cbp
    M projectfiles/CodeBlocks/wesnoth.cbp
    M projectfiles/VC9/wesnoth.vcproj
    M src/CMakeLists.txt
    M src/SConscript
    M src/ai/formula/ai.cpp
    M src/ai/formula/stage_unit_formulas.cpp
    M src/callable_objects.cpp
    M src/callable_objects.hpp
    M src/unit.cpp
    M src/unit.hpp
    A src/unit_formula_manager.cpp
    A src/unit_formula_manager.hpp

  Log Message:
  -----------
  move formula ai features of unit to a unit formula manager

This use of handle-body idiom saves *alot* of includes, since a
huge number of objects include unit indirectly, and make no use
of the ai formula features.





More information about the Commits mailing list