[wesnoth-commits] [wesnoth/wesnoth] 8e6199: Move path-related functions into a new wesnoth.pat...

Celtic Minstrel noreply at github.com
Tue Jun 15 14:02:17 UTC 2021


  Branch: refs/heads/lua_pathfind
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8e61997be43666311124b2b818594194b41c8fe6
      https://github.com/wesnoth/wesnoth/commit/8e61997be43666311124b2b818594194b41c8fe6
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    M data/lua/core/_initial.lua
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/mapgen_lua_kernel.cpp

  Log Message:
  -----------
  Move path-related functions into a new wesnoth.paths module

This also adds support to the mapgen version of wesnoth.find_path for
taking an options table as the 3rd argument instead of several additional arguments.

The intent of this is to bring the two versions of find_path closer together.
For now, however, the actual options accepted in the table have not changed.


  Commit: a2425a83a81eda50b2955fde1044b45abdebb86a
      https://github.com/wesnoth/wesnoth/commit/a2425a83a81eda50b2955fde1044b45abdebb86a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    M data/ai/lua/ai_helper.lua
    M data/ai/lua/battle_calcs.lua
    M data/ai/lua/ca_castle_switch.lua
    M data/ai/lua/ca_grab_villages.lua
    M data/ai/lua/generic_recruit_engine.lua
    M data/ai/micro_ais/cas/ca_assassin_move.lua
    M data/ai/micro_ais/cas/ca_goto.lua
    M data/campaigns/Heir_To_The_Throne/scenarios/17_Scepter_of_Fire.cfg
    M data/lua/cave_map_generator.lua
    M data/lua/wml/find_path.lua
    M data/scenario-test.cfg

  Log Message:
  -----------
  Replace uses of wesnoth.find_path


Compare: https://github.com/wesnoth/wesnoth/compare/0b2eeb46c668...a2425a83a81e



More information about the Commits mailing list