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

Celtic Minstrel noreply at github.com
Fri Jun 11 05:06:54 UTC 2021


  Branch: refs/heads/lua_map_stuff
  Home:   https://github.com/wesnoth/wesnoth
  Commit: af6d8327085731f50077319a6dbed63acc9c3fa2
      https://github.com/wesnoth/wesnoth/commit/af6d8327085731f50077319a6dbed63acc9c3fa2
  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
    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: 87e9df9943f89541d4319067269977f1e05e94a7
      https://github.com/wesnoth/wesnoth/commit/87e9df9943f89541d4319067269977f1e05e94a7
  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

  Log Message:
  -----------
  Lua: Add time of day to the hex reference class


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


Compare: https://github.com/wesnoth/wesnoth/compare/305553af59da...f8af599776b8



More information about the Commits mailing list