[Commits] [wesnoth/wesnoth] 5ac2ef: Use luaW_checklocation instead of custom function ...

GitHub noreply at github.com
Thu Mar 24 04:09:41 UTC 2016


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

  Changed paths:
    M src/ai/lua/core.cpp

  Log Message:
  -----------
  Use luaW_checklocation instead of custom function in Lua AI core


  Commit: 6c525a9d3f7040414ecf9f042f3dfabcd36ff595
      https://github.com/wesnoth/wesnoth/commit/6c525a9d3f7040414ecf9f042f3dfabcd36ff595
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-03-24 (Thu, 24 Mar 2016)

  Changed paths:
    M projectfiles/CodeBlocks/wesnoth.cbp
    M projectfiles/VC9/wesnoth.vcproj
    M projectfiles/Xcode/Wesnoth.xcodeproj/project.pbxproj
    M src/CMakeLists.txt
    M src/SConscript
    M src/ai/akihara/recruitment.cpp
    M src/ai/composite/ai.cpp
    M src/ai/composite/ai.hpp
    R src/ai/default/ai.cpp
    R src/ai/default/ai.hpp
    M src/ai/default/attack.cpp
    M src/ai/formula/ai.cpp
    M src/ai/formula/callable_objects.hpp
    M src/ai/formula/function_table.cpp
    M src/ai/game_info.hpp
    R src/ai/interface.cpp
    R src/ai/interface.hpp
    M src/ai/manager.cpp
    M src/ai/manager.hpp
    M src/ai/registry.cpp
    M src/ai/testing/aspect_attacks.hpp
    R src/ai/testing/stage_fallback.cpp
    R src/ai/testing/stage_fallback.hpp

  Log Message:
  -----------
  Remove AI interface and fallback stage

This removes the C++ common interface intended for creating new AIs.
Anyone wishing to create a new AI written in C++ should now implement it as a custom stage instead.

This commit also removes the C++ implementation of the Idle AI (but leaves the WML definition of it, which is based on the composite AI)
and the fallback stage which was intended to fall back to other C++ AI algorithms.


  Commit: a23a368c20445f71a9c71042a6ce26708dd3c7cd
      https://github.com/wesnoth/wesnoth/commit/a23a368c20445f71a9c71042a6ce26708dd3c7cd
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-03-24 (Thu, 24 Mar 2016)

  Changed paths:
    R data/ai/dev/akihara_recruitment.cfg
    M projectfiles/CodeBlocks/wesnoth.cbp
    M projectfiles/VC9/wesnoth.vcproj
    M projectfiles/Xcode/Wesnoth.xcodeproj/project.pbxproj
    M src/CMakeLists.txt
    M src/SConscript
    R src/ai/akihara/recruitment.cpp
    R src/ai/akihara/recruitment.hpp
    M src/ai/formula/function_table.cpp
    M src/ai/registry.cpp

  Log Message:
  -----------
  Remove Akihara's recruitment and battle evaluation


  Commit: d73a2486ba5388f998eca9b4e94346a01152a0bd
      https://github.com/wesnoth/wesnoth/commit/d73a2486ba5388f998eca9b4e94346a01152a0bd
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-03-24 (Thu, 24 Mar 2016)

  Changed paths:
    R data/ai/dev/ai_old_recruitment.cfg

  Log Message:
  -----------
  Deleted AI definition referencing the removed old recruitment CA


  Commit: fbd9edd5dfa83133d4527e49bc4309e93ee90da4
      https://github.com/wesnoth/wesnoth/commit/fbd9edd5dfa83133d4527e49bc4309e93ee90da4
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-03-24 (Thu, 24 Mar 2016)

  Changed paths:
    M projectfiles/CodeBlocks/wesnoth.cbp
    M projectfiles/VC9/wesnoth.vcproj
    M projectfiles/Xcode/Wesnoth.xcodeproj/project.pbxproj
    M src/CMakeLists.txt
    M src/SConscript
    M src/ai/registry.cpp
    R src/ai/testing/ca_global_fallback.cpp
    R src/ai/testing/ca_global_fallback.hpp

  Log Message:
  -----------
  Remove global fallback candidate action

This literally did nothing except place useless labels on the map.


  Commit: 17ea7fac6bab261d8401e7f9d28e6770a3cd46e6
      https://github.com/wesnoth/wesnoth/commit/17ea7fac6bab261d8401e7f9d28e6770a3cd46e6
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-03-24 (Thu, 24 Mar 2016)

  Changed paths:
    M projectfiles/Xcode/Wesnoth.xcodeproj/project.pbxproj
    M src/CMakeLists.txt
    M src/SConscript
    M src/actions/attack.cpp
    M src/actions/attack.hpp
    M src/ai/actions.cpp
    M src/ai/actions.hpp
    M src/ai/composite/ai.cpp
    M src/ai/composite/ai.hpp
    M src/ai/composite/aspect.cpp
    M src/ai/composite/aspect.hpp
    M src/ai/composite/component.cpp
    M src/ai/composite/contexts.cpp
    R src/ai/composite/engine_default.cpp
    R src/ai/composite/engine_default.hpp
    R src/ai/composite/engine_fai.cpp
    R src/ai/composite/engine_fai.hpp
    R src/ai/composite/engine_lua.cpp
    R src/ai/composite/engine_lua.hpp
    M src/ai/composite/goal.cpp
    M src/ai/composite/goal.hpp
    M src/ai/composite/rca.cpp
    M src/ai/composite/rca.hpp
    M src/ai/composite/stage.cpp
    M src/ai/composite/stage.hpp
    M src/ai/composite/value_translator.hpp
    M src/ai/configuration.cpp
    M src/ai/configuration.hpp
    M src/ai/contexts.cpp
    A src/ai/default/aspect_attacks.cpp
    A src/ai/default/aspect_attacks.hpp
    M src/ai/default/attack.cpp
    A src/ai/default/ca.cpp
    A src/ai/default/ca.hpp
    M src/ai/default/contexts.cpp
    A src/ai/default/engine_cpp.cpp
    A src/ai/default/engine_cpp.hpp
    A src/ai/default/recruitment.cpp
    A src/ai/default/recruitment.hpp
    A src/ai/default/stage_rca.cpp
    A src/ai/default/stage_rca.hpp
    M src/ai/formula/ai.cpp
    M src/ai/formula/ai.hpp
    M src/ai/formula/callable_objects.cpp
    M src/ai/formula/candidates.cpp
    A src/ai/formula/engine_fai.cpp
    A src/ai/formula/engine_fai.hpp
    M src/ai/formula/function_table.cpp
    M src/ai/formula/stage_side_formulas.cpp
    M src/ai/formula/stage_unit_formulas.cpp
    M src/ai/game_info.cpp
    M src/ai/gamestate_observer.cpp
    A src/ai/lua/aspect_advancements.cpp
    A src/ai/lua/aspect_advancements.hpp
    M src/ai/lua/core.cpp
    A src/ai/lua/engine_lua.cpp
    A src/ai/lua/engine_lua.hpp
    M src/ai/lua/lua_object.hpp
    R src/ai/lua/unit_advancements_aspect.cpp
    R src/ai/lua/unit_advancements_aspect.hpp
    M src/ai/manager.cpp
    M src/ai/manager.hpp
    R src/ai/recruitment/recruitment.cpp
    R src/ai/recruitment/recruitment.hpp
    M src/ai/registry.cpp
    M src/ai/simulated_actions.cpp
    M src/ai/simulated_actions.hpp
    M src/ai/testing.cpp
    R src/ai/testing/aspect_attacks.cpp
    R src/ai/testing/aspect_attacks.hpp
    R src/ai/testing/ca.cpp
    R src/ai/testing/ca.hpp
    M src/ai/testing/ca_testing_move_to_targets.cpp
    M src/ai/testing/ca_testing_recruitment.cpp
    R src/ai/testing/stage_rca.cpp
    R src/ai/testing/stage_rca.hpp
    M src/ai/testing/stage_sf_with_rca.cpp
    M src/ai/testing/stage_sf_with_rca.hpp
    M src/dialogs.cpp
    M src/dialogs.hpp
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Reorganize the AI source files a little

This also tries to make them include everything by full paths instead of relative paths.


Compare: https://github.com/wesnoth/wesnoth/compare/8cdc1ab08165...17ea7fac6bab


More information about the Commits mailing list