[wesnoth-commits] [wesnoth/wesnoth] f952ef: Add wesnoth.interface.add_floating_label as a repl...
Celtic Minstrel
noreply at github.com
Mon Jun 7 04:10:18 UTC 2021
Branch: refs/heads/lua_floating_label
Home: https://github.com/wesnoth/wesnoth
Commit: f952efa5d9e7b06708fb55301282ce8212764433
https://github.com/wesnoth/wesnoth/commit/f952efa5d9e7b06708fb55301282ce8212764433
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