[wesnoth-commits] [wesnoth/wesnoth] a9fff6: WFL/Lua: Add lerp and clamp functions

Celtic Minstrel noreply at github.com
Mon Aug 2 04:55:41 UTC 2021


  Branch: refs/heads/celmin
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a9fff69c5c9836cfaefb12684776aa9891593e8b
      https://github.com/wesnoth/wesnoth/commit/a9fff69c5c9836cfaefb12684776aa9891593e8b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-19 (Mon, 19 Jul 2021)

  Changed paths:
    M data/lua/core/mathx.lua
    M src/formula/function.cpp

  Log Message:
  -----------
  WFL/Lua: Add lerp and clamp functions


  Commit: 21b0a7787158c7473a3eb20af9d63438226f3b76
      https://github.com/wesnoth/wesnoth/commit/21b0a7787158c7473a3eb20af9d63438226f3b76
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-19 (Mon, 19 Jul 2021)

  Changed paths:
    M src/formula/function.cpp

  Log Message:
  -----------
  WFL: Support 2-argument atan


  Commit: 99ac32664ce1e9d695839bcf5d59529ccd8d30e7
      https://github.com/wesnoth/wesnoth/commit/99ac32664ce1e9d695839bcf5d59529ccd8d30e7
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-31 (Sat, 31 Jul 2021)

  Changed paths:
    M src/ai/lua/engine_lua.cpp

  Log Message:
  -----------
  Add a deprecation message for something that has been deprecated since at least 1.14


  Commit: 19494ae8cfa17b361bb89dca478f827dc2066610
      https://github.com/wesnoth/wesnoth/commit/19494ae8cfa17b361bb89dca478f827dc2066610
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-01 (Sun, 01 Aug 2021)

  Changed paths:
    M src/serialization/parser.cpp

  Log Message:
  -----------
  When writing WML, output preprocessor-safe strings

Basically, this means that the output will parse to the original value even if run through the preprocessor.


  Commit: c024ccd378f0f02d7d08c29895fd95bb41d2fc45
      https://github.com/wesnoth/wesnoth/commit/c024ccd378f0f02d7d08c29895fd95bb41d2fc45
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M src/utils/optional_reference.hpp

  Log Message:
  -----------
  Make optional_reference bool conversion explicit

If this is non-explicit, then the following code:

optional_reference<config> ref = ...;
auto str = ref["key"]

results in ref being converted to bool and used as an index into the key string.


  Commit: 7e91c36f94484689a0e5ae0a4f568b1ff887f462
      https://github.com/wesnoth/wesnoth/commit/7e91c36f94484689a0e5ae0a4f568b1ff887f462
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M src/serialization/preprocessor.cpp

  Log Message:
  -----------
  Include deprecation info in preprocess-output-macros file


  Commit: 501f26fb60ab2ee17fa9a9ac5df872566351c25b
      https://github.com/wesnoth/wesnoth/commit/501f26fb60ab2ee17fa9a9ac5df872566351c25b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M src/serialization/preprocessor.cpp
    M src/serialization/preprocessor.hpp

  Log Message:
  -----------
  Include optional arguments in preprocess-output-macros file

Fixes #4697


Compare: https://github.com/wesnoth/wesnoth/compare/92c88ef741df...501f26fb60ab



More information about the Commits mailing list