[wesnoth-commits] [wesnoth/wesnoth] 619b40: Add wesnoth.interface.add_floating_label as a repl...
Celtic Minstrel
noreply at github.com
Mon Jun 7 04:23:54 UTC 2021
Branch: refs/heads/lua_floating_label
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.
More information about the Commits
mailing list