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

Celtic Minstrel noreply at github.com
Tue May 11 23:13:13 UTC 2021


  Branch: refs/heads/lua_reorg
  Home:   https://github.com/wesnoth/wesnoth
  Commit: db02d99fc9aa3e6feda0bbe948a3595bc414c375
      https://github.com/wesnoth/wesnoth/commit/db02d99fc9aa3e6feda0bbe948a3595bc414c375
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 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.





More information about the Commits mailing list