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

Celtic Minstrel noreply at github.com
Sat May 8 23:20:00 UTC 2021


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


  Commit: 06fe07d468013aa3f2b31926502df15048df93e2
      https://github.com/wesnoth/wesnoth/commit/06fe07d468013aa3f2b31926502df15048df93e2
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-08 (Sat, 08 May 2021)

  Changed paths:
    M data/lua/core/interface.lua
    M data/lua/core/mathx.lua
    M data/lua/core/sides.lua
    M data/lua/core/wml.lua
    M data/lua/wml-tags.lua
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_audio.cpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_unit_attacks.cpp
    M src/scripting/mapgen_lua_kernel.cpp
    M src/soundsource.hpp

  Log Message:
  -----------
  whitespace fixes


Compare: https://github.com/wesnoth/wesnoth/compare/ee66b300021d...06fe07d46801



More information about the Commits mailing list