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

Celtic Minstrel noreply at github.com
Fri Jun 11 17:35:18 UTC 2021


  Branch: refs/heads/lua_map_stuff
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4159ce34aeaba01704033a5db3c93e64d8b67fe6
      https://github.com/wesnoth/wesnoth/commit/4159ce34aeaba01704033a5db3c93e64d8b67fe6
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-11 (Fri, 11 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: cdc228dd861b18756a1668e51b5c68009f82d018
      https://github.com/wesnoth/wesnoth/commit/cdc228dd861b18756a1668e51b5c68009f82d018
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-11 (Fri, 11 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: 0075f25d72048f4198f42510bcfd71c0ff364f93
      https://github.com/wesnoth/wesnoth/commit/0075f25d72048f4198f42510bcfd71c0ff364f93
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-11 (Fri, 11 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/8ba3f9ce4559...0075f25d7204



More information about the Commits mailing list