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

Celtic Minstrel noreply at github.com
Fri Jun 18 01:14:02 UTC 2021


  Branch: refs/heads/lua_floating_label
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ac71bf5ed4ed73d3ff730e9366b6389582b2e6c0
      https://github.com/wesnoth/wesnoth/commit/ac71bf5ed4ed73d3ff730e9366b6389582b2e6c0
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-17 (Thu, 17 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: 44731221257e2de556d7cf8af6d92b497167f5d9
      https://github.com/wesnoth/wesnoth/commit/44731221257e2de556d7cf8af6d92b497167f5d9
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-17 (Thu, 17 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: cbc5852bc680b0ccf4ec8c9cef249409603c3200
      https://github.com/wesnoth/wesnoth/commit/cbc5852bc680b0ccf4ec8c9cef249409603c3200
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-17 (Thu, 17 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: cf631b175b57b712b6caa1e028831c81fb080864
      https://github.com/wesnoth/wesnoth/commit/cf631b175b57b712b6caa1e028831c81fb080864
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-17 (Thu, 17 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


  Commit: 2a3e63e2fbdb2d845bf63c7e36975a61fea64cd2
      https://github.com/wesnoth/wesnoth/commit/2a3e63e2fbdb2d845bf63c7e36975a61fea64cd2
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    M data/lua/wml-tags.lua
    M data/test/scenarios/overlay_text_demo.cfg
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Adjust text options table format and allow infinity in duration options table


  Commit: 903bbadf775c6d1c61a03ac141de29e80b6a7484
      https://github.com/wesnoth/wesnoth/commit/903bbadf775c6d1c61a03ac141de29e80b6a7484
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

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

  Log Message:
  -----------
  Fix schema vaidation


  Commit: 100a8959b8d0032d86efeb711f00d7ec7449b217
      https://github.com/wesnoth/wesnoth/commit/100a8959b8d0032d86efeb711f00d7ec7449b217
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    M data/campaigns/tutorial/utils/utils.cfg

  Log Message:
  -----------
  Use the separate overlay text fade time in the tutorial


  Commit: 79b8ee9ccb59b4ed12d8cd1f5fc6a3b8c92bd484
      https://github.com/wesnoth/wesnoth/commit/79b8ee9ccb59b4ed12d8cd1f5fc6a3b8c92bd484
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    M data/schema/core/actionwml.cfg

  Log Message:
  -----------
  Update schema


  Commit: 4c87b1ab03082ab22cfd328641b9db6a280019c0
      https://github.com/wesnoth/wesnoth/commit/4c87b1ab03082ab22cfd328641b9db6a280019c0
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

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

  Log Message:
  -----------
  Fix schema errors in the demo


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

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Fixup


  Commit: 616f4657f917c3aced09f2f2321024184bca8707
      https://github.com/wesnoth/wesnoth/commit/616f4657f917c3aced09f2f2321024184bca8707
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  That error message wasn't quite right


Compare: https://github.com/wesnoth/wesnoth/compare/f0cf798ec115...616f4657f917



More information about the Commits mailing list