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

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


  Branch: refs/heads/lua_pathfind
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3094dc435d385b81a0b932df54bf903fe330510e
      https://github.com/wesnoth/wesnoth/commit/3094dc435d385b81a0b932df54bf903fe330510e
  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: f4af71dc57d0a3036b6e2ed8914ee5c81d7977b5
      https://github.com/wesnoth/wesnoth/commit/f4af71dc57d0a3036b6e2ed8914ee5c81d7977b5
  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: b7f7ef0aa3e19e52ad2905c6fa925a93979c2acc
      https://github.com/wesnoth/wesnoth/commit/b7f7ef0aa3e19e52ad2905c6fa925a93979c2acc
  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/b0ee75b37a45...b7f7ef0aa3e1



More information about the Commits mailing list