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

Celtic Minstrel noreply at github.com
Sat Jun 19 19:43:45 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 45c3ca3a7349f32865b912af9451328ec738654c
      https://github.com/wesnoth/wesnoth/commit/45c3ca3a7349f32865b912af9451328ec738654c
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-19 (Sat, 19 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: 1f62eae3cecda22099cea65043543b48da94159f
      https://github.com/wesnoth/wesnoth/commit/1f62eae3cecda22099cea65043543b48da94159f
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-19 (Sat, 19 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


  Commit: 1b13622bf92fc642c006a0b579bbab86c040dcba
      https://github.com/wesnoth/wesnoth/commit/1b13622bf92fc642c006a0b579bbab86c040dcba
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-19 (Sat, 19 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:
  -----------
  fix whitespace


Compare: https://github.com/wesnoth/wesnoth/compare/5a1e38e99b32...1b13622bf92f



More information about the Commits mailing list