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

Celtic Minstrel noreply at github.com
Sat Jun 19 15:59:37 UTC 2021


  Branch: refs/heads/lua_floating_label
  Home:   https://github.com/wesnoth/wesnoth
  Commit: bda0c8393eb6b48b20bdada2fed1de985e58b65d
      https://github.com/wesnoth/wesnoth/commit/bda0c8393eb6b48b20bdada2fed1de985e58b65d
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-19 (Sat, 19 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: c485a18391522d165bf67e96e67dadab13fc67eb
      https://github.com/wesnoth/wesnoth/commit/c485a18391522d165bf67e96e67dadab13fc67eb
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-19 (Sat, 19 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: 736df300cd9b7abbf7f842c09db926c9ee0058e0
      https://github.com/wesnoth/wesnoth/commit/736df300cd9b7abbf7f842c09db926c9ee0058e0
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-19 (Sat, 19 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: e4f35a9b34f62c48d3192c6bb6c8b9a00b87dfe0
      https://github.com/wesnoth/wesnoth/commit/e4f35a9b34f62c48d3192c6bb6c8b9a00b87dfe0
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-19 (Sat, 19 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: c924c2c33de1f7f9b55a13c55f07f057d81cd2fc
      https://github.com/wesnoth/wesnoth/commit/c924c2c33de1f7f9b55a13c55f07f057d81cd2fc
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-19 (Sat, 19 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: 7f4f9095b4885fffd1e6a3513e650436b5366c20
      https://github.com/wesnoth/wesnoth/commit/7f4f9095b4885fffd1e6a3513e650436b5366c20
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-19 (Sat, 19 Jun 2021)

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

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


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

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

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


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

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

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


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

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

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


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

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

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


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

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

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


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

  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: e9bc7a1ecc37e53aa00dba53c27e61b29b0b6855
      https://github.com/wesnoth/wesnoth/commit/e9bc7a1ecc37e53aa00dba53c27e61b29b0b6855
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-19 (Sat, 19 Jun 2021)

  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: 9f2014fa91ba76810df839a142e4fef9e6bac376
      https://github.com/wesnoth/wesnoth/commit/9f2014fa91ba76810df839a142e4fef9e6bac376
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-06-19 (Sat, 19 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/test/scenarios/overlay_text_demo.cfg

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


Compare: https://github.com/wesnoth/wesnoth/compare/f7062d23d400...9f2014fa91ba



More information about the Commits mailing list