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

Celtic Minstrel noreply at github.com
Mon Jun 14 03:29:29 UTC 2021


  Branch: refs/heads/lua_reorg
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7507b5a525974d9bd6e9caa4b83f47e2f839bc7b
      https://github.com/wesnoth/wesnoth/commit/7507b5a525974d9bd6e9caa4b83f47e2f839bc7b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-13 (Sun, 13 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: c47faaf6fd6fc1db51b34d160b398e3621c03dce
      https://github.com/wesnoth/wesnoth/commit/c47faaf6fd6fc1db51b34d160b398e3621c03dce
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-13 (Sun, 13 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: 75dbadcbaaf25abe17189c3411a3f0f290a6c0b6
      https://github.com/wesnoth/wesnoth/commit/75dbadcbaaf25abe17189c3411a3f0f290a6c0b6
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-13 (Sun, 13 Jun 2021)

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

  Log Message:
  -----------
  Move several functions to the wesnoth.interface module


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

  Changed paths:
    M data/ai/lua/debug.lua
    M data/ai/lua/extCAexample.lua
    M data/ai/scenarios/scenario-lua_ai_old_syntax.cfg
    M data/campaigns/World_Conquest/lua/campaign/enemy.lua
    M data/campaigns/World_Conquest/lua/era/era.lua
    M data/campaigns/World_Conquest/lua/game_mechanics/effects.lua
    M data/lua/core/mathx.lua
    M data/lua/wml-tags.lua
    M data/lua/wml/endlevel.lua
    M data/lua/wml/find_path.lua
    M data/lua/wml/micro_ai.lua
    M data/lua/wml/objectives.lua
    M data/scenario-test.cfg

  Log Message:
  -----------
  Replace uses of the moved interface functions


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

  Changed paths:
    M data/lua/core/units.lua
    M data/lua/wml-tags.lua
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Move wesnoth.teleport into wesnoth.units


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

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

  Log Message:
  -----------
  Move wesnoth.get_traits into wesnoth.game_config as global_traits


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

  Changed paths:
    M data/ai/micro_ais/cas/ca_forest_animals_move.lua
    M data/ai/micro_ais/cas/ca_forest_animals_new_rabbit.lua
    M data/ai/micro_ais/micro_ai_unit_variables.lua
    M data/campaigns/Son_Of_The_Black_Eye/ai/ca_transport_S6.lua
    M data/campaigns/World_Conquest/lua/game_mechanics/invest/invest.lua
    M data/campaigns/World_Conquest/lua/game_mechanics/pickup_confirmation_dialog.lua
    M data/lua/core/_initial.lua
    M data/lua/core/wml.lua
    M data/lua/wml-tags.lua
    M data/lua/wml/message.lua
    M data/modifications/pick_advance/main.lua
    M data/scenario-test.cfg
    M data/test/scenarios/break_replay_with_lua_random.cfg
    M data/test/scenarios/recruit_facing.cfg
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Add wesnoth.sync module for the synchronization-related commands


Compare: https://github.com/wesnoth/wesnoth/compare/3c3bfc2e35aa...0b2eeb46c668



More information about the Commits mailing list