[wesnoth-commits] [wesnoth/wesnoth] 619b40: Add wesnoth.interface.add_floating_label as a repl...

Celtic Minstrel noreply at github.com
Fri Jun 11 05:02:40 UTC 2021


  Branch: refs/heads/lua_map_stuff
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 619b40ef88efb1d27cd52ee2d0c01b31455d4f28
      https://github.com/wesnoth/wesnoth/commit/619b40ef88efb1d27cd52ee2d0c01b31455d4f28
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M data/campaigns/Under_the_Burning_Suns/scenarios/09_Blood_is_Thicker_Than_Water.cfg
    M data/campaigns/tutorial/utils/utils.cfg
    M data/core/macros/ai_controller.cfg
    M data/lua/core/interface.lua
    M data/lua/wml-tags.lua
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp

  Log Message:
  -----------
  Add wesnoth.interface.add_floating_label as a replacement for wesnoth.print

This returns a label handle which allows you to remove, reposition, or replace the label later.

In addition to all the features of wesnoth.print, you can now specify where the label appears onscreen,
as well as a fadeout time separate from the duration.


  Commit: 40181167d70b2b64d2d2d0f9213a7de90f8cad22
      https://github.com/wesnoth/wesnoth/commit/40181167d70b2b64d2d2d0f9213a7de90f8cad22
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-09 (Wed, 09 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: 209bc4d7225263c32e73604bf67c7ca906bacf05
      https://github.com/wesnoth/wesnoth/commit/209bc4d7225263c32e73604bf67c7ca906bacf05
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M data/lua/core/map.lua

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


  Commit: 305553af59da539bcbed3fd80e1c8f103b294c22
      https://github.com/wesnoth/wesnoth/commit/305553af59da539bcbed3fd80e1c8f103b294c22
  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/619b40ef88ef%5E...305553af59da



More information about the Commits mailing list