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

Celtic Minstrel noreply at github.com
Sat Jun 12 19:22:37 UTC 2021


  Branch: refs/heads/lua_floating_label
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8b61883ef3a93850769e69f66a0bab8011d32698
      https://github.com/wesnoth/wesnoth/commit/8b61883ef3a93850769e69f66a0bab8011d32698
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-12 (Sat, 12 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.


  Commit: 8b21108247a611f9ba242651a4a0212d7016dc73
      https://github.com/wesnoth/wesnoth/commit/8b21108247a611f9ba242651a4a0212d7016dc73
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-12 (Sat, 12 Jun 2021)

  Changed paths:
    M data/lua/core/interface.lua
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Rename add_floating_label to add_overlay_text


  Commit: 174b524aae261d96ab8f85e5825f336fc9be515c
      https://github.com/wesnoth/wesnoth/commit/174b524aae261d96ab8f85e5825f336fc9be515c
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-12 (Sat, 12 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/wml-tags.lua

  Log Message:
  -----------
  Undo the [print] -> [floating_label] rename


  Commit: 032bd696dea0caf1afcdce5ed8f689ffd69a2c4c
      https://github.com/wesnoth/wesnoth/commit/032bd696dea0caf1afcdce5ed8f689ffd69a2c4c
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-12 (Sat, 12 Jun 2021)

  Changed paths:
    A data/test/scenarios/overlay_text_demo.cfg

  Log Message:
  -----------
  Threw together a quick demo scenario

Run with -toverlay_text_demo


Compare: https://github.com/wesnoth/wesnoth/compare/cebb99b0a081...032bd696dea0



More information about the Commits mailing list