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

Celtic Minstrel noreply at github.com
Fri Jun 18 01:03:16 UTC 2021


  Branch: refs/heads/lua_map_stuff
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 500ed6032f9556f9642446e46be4fc8460a3f9ea
      https://github.com/wesnoth/wesnoth/commit/500ed6032f9556f9642446e46be4fc8460a3f9ea
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-17 (Thu, 17 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: 429142e45bfe2f13532d5b0bbb98727de355aead
      https://github.com/wesnoth/wesnoth/commit/429142e45bfe2f13532d5b0bbb98727de355aead
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-17 (Thu, 17 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: 252c2b3c057232d072f803435037024329315a8f
      https://github.com/wesnoth/wesnoth/commit/252c2b3c057232d072f803435037024329315a8f
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

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

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


  Commit: 0ab7b44f7fb7338c31a7547172cc4d0ceb9458b8
      https://github.com/wesnoth/wesnoth/commit/0ab7b44f7fb7338c31a7547172cc4d0ceb9458b8
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-17 (Thu, 17 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/0075f25d7204...0ab7b44f7fb7



More information about the Commits mailing list