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

Celtic Minstrel noreply at github.com
Fri Mar 11 14:24:24 UTC 2022


  Branch: refs/heads/lua_floating_label
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7868536135f08e39644d765c5d40a974e824af20
      https://github.com/wesnoth/wesnoth/commit/7868536135f08e39644d765c5d40a974e824af20
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  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: 25821d60f821ba89494bbadb0fb89006bca3c15f
      https://github.com/wesnoth/wesnoth/commit/25821d60f821ba89494bbadb0fb89006bca3c15f
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  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: 72ceede0767be5baa9270b9c1c2e3029c58015d5
      https://github.com/wesnoth/wesnoth/commit/72ceede0767be5baa9270b9c1c2e3029c58015d5
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  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: 8f0b26ab55ff8e6555b352ed858543580d132037
      https://github.com/wesnoth/wesnoth/commit/8f0b26ab55ff8e6555b352ed858543580d132037
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

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

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

Run with -toverlay_text_demo


  Commit: d93ea6e2b83590751265bfb7425d00a3da4d4a90
      https://github.com/wesnoth/wesnoth/commit/d93ea6e2b83590751265bfb7425d00a3da4d4a90
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  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: 1c5a49ef0d6ba8a2dc7e732901c7c46402d97333
      https://github.com/wesnoth/wesnoth/commit/1c5a49ef0d6ba8a2dc7e732901c7c46402d97333
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

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

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


  Commit: b4bc448807f1a6660d718fe1996626e396190430
      https://github.com/wesnoth/wesnoth/commit/b4bc448807f1a6660d718fe1996626e396190430
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

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

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


  Commit: 2c089c9fe8ea6fc976ec68de4157b61d2a258830
      https://github.com/wesnoth/wesnoth/commit/2c089c9fe8ea6fc976ec68de4157b61d2a258830
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

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

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


  Commit: 990b68c6737b56a9c19a90de4a3c3fc7fb662c46
      https://github.com/wesnoth/wesnoth/commit/990b68c6737b56a9c19a90de4a3c3fc7fb662c46
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

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


  Commit: 055d64e65041ac988e3fb52bbdfc166750e6da88
      https://github.com/wesnoth/wesnoth/commit/055d64e65041ac988e3fb52bbdfc166750e6da88
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

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


  Commit: bada43d8d4c12ca9bd1dec4da4c136c565014a52
      https://github.com/wesnoth/wesnoth/commit/bada43d8d4c12ca9bd1dec4da4c136c565014a52
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Fix the other tutorial error


  Commit: 327c0a81c35e64655d2c382278e8ebe4c376a23c
      https://github.com/wesnoth/wesnoth/commit/327c0a81c35e64655d2c382278e8ebe4c376a23c
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M data/test/scenarios/overlay_text_demo.cfg
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Use unlimited instead of infinity


  Commit: 79f3a36a7d3b122567341a5034086cae646f8e38
      https://github.com/wesnoth/wesnoth/commit/79f3a36a7d3b122567341a5034086cae646f8e38
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M src/floating_label.cpp
    M src/floating_label.hpp
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Make fade time apply even to unlimited labels, and offer a way to override it at removal time


  Commit: ba4d289f73ebe49a81f12b6b1b27dd006573d2bb
      https://github.com/wesnoth/wesnoth/commit/ba4d289f73ebe49a81f12b6b1b27dd006573d2bb
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  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/test/scenarios/overlay_text_demo.cfg

  Log Message:
  -----------
  Make sure fade time is used somewhere


  Commit: 7fe8b5350acddd539d38f2500770ed40e6e643d8
      https://github.com/wesnoth/wesnoth/commit/7fe8b5350acddd539d38f2500770ed40e6e643d8
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M src/floating_label.hpp

  Log Message:
  -----------
  fix whitespace


Compare: https://github.com/wesnoth/wesnoth/compare/e03b918e6a03...7fe8b5350acd



More information about the Commits mailing list