[wesnoth-commits] [wesnoth/wesnoth] a03d59: Lua: Add a new schedule module

Celtic Minstrel noreply at github.com
Sat Jun 19 15:08:05 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a03d59d7eba40bc9cca27cea4754164ffef3394e
      https://github.com/wesnoth/wesnoth/commit/a03d59d7eba40bc9cca27cea4754164ffef3394e
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-19 (Sat, 19 Jun 2021)

  Changed paths:
    M data/ai/lua/battle_calcs.lua
    M data/ai/lua/generic_recruit_engine.lua
    M data/lua/core/_initial.lua
    M data/lua/core/map.lua
    M data/lua/wml-tags.lua
    M data/lua/wml/harm_unit.lua
    M data/test/scenarios/ai/_main.cfg
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp
    M src/scripting/lua_common.cpp
    M src/scripting/lua_common.hpp
    M src/scripting/lua_terrainfilter.cpp
    M src/tod_manager.cpp
    M src/tod_manager.hpp

  Log Message:
  -----------
  Lua: Add a new schedule module

The primary components of this are:
- wesnoth.current.schedule
- wesnoth.map.get_time_area()
- wesnoth.schedule module


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

  Changed paths:
    M data/lua/core/map.lua
    M data/lua/core/sides.lua
    M data/lua/location_set.lua
    M data/lua/wml-tags.lua
    M data/lua/wml/animate_unit.lua
    M data/lua/wml/modify_side.lua
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp
    M src/scripting/lua_team.cpp
    M src/scripting/lua_team.hpp
    M src/team.cpp
    M src/team.hpp

  Log Message:
  -----------
  Move shroud/fog ops to wesnoth.sides and change the API somewhat

- place_shroud and remove_shroud no longer accept a shroud data string or the special string "all"
- new functions are added to convert between lists of locations and shroud data strings
- place_fog, remove_fog, is_fogged, and is_shrouded aren't changed, only moved


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

  Changed paths:
    M data/lua/wml/store_time_of_day.lua

  Log Message:
  -----------
  Update deprecated stuff in [store_time_of_day]


  Commit: 1c2636e989895ece65b861a830cf41c41d68a328
      https://github.com/wesnoth/wesnoth/commit/1c2636e989895ece65b861a830cf41c41d68a328
  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

  Log Message:
  -----------
  fix whitespace


Compare: https://github.com/wesnoth/wesnoth/compare/aadec0fe884b...1c2636e98989



More information about the Commits mailing list