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

Celtic Minstrel noreply at github.com
Mon Jun 7 05:49:13 UTC 2021


  Branch: refs/heads/lua_floating_label
  Home:   https://github.com/wesnoth/wesnoth
  Commit: cebb99b0a0817b936d2886eab3a8d0785735b3cc
      https://github.com/wesnoth/wesnoth/commit/cebb99b0a0817b936d2886eab3a8d0785735b3cc
  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