[wesnoth-commits] [wesnoth/wesnoth] a9fff6: WFL/Lua: Add lerp and clamp functions
Celtic Minstrel
noreply at github.com
Tue Jul 27 04:30:14 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: 43558533c5fa294e72aa2456166db1e6c3a70db7
https://github.com/wesnoth/wesnoth/commit/43558533c5fa294e72aa2456166db1e6c3a70db7
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-20 (Tue, 20 Jul 2021)
Changed paths:
M src/config.hpp
Log Message:
-----------
Fix a misplaced doc comment
Commit: 627db3647b2a98ccb0180ea7eb20956683066d01
https://github.com/wesnoth/wesnoth/commit/627db3647b2a98ccb0180ea7eb20956683066d01
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-20 (Tue, 20 Jul 2021)
Changed paths:
M data/lua/core/map.lua
Log Message:
-----------
Lua API: Fix bug in wesnoth.map.iter_adjacent
Fixes #5972
Commit: 41be540bded974ebb2cda7cabce0fecaec1de687
https://github.com/wesnoth/wesnoth/commit/41be540bded974ebb2cda7cabce0fecaec1de687
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-22 (Thu, 22 Jul 2021)
Changed paths:
M data/ai/lua/ca_move_to_any_enemy.lua
Log Message:
-----------
Lua AI: Fix a typo
Commit: d17fced66f2ee84ea9cac69ddae68af5cd1a3c23
https://github.com/wesnoth/wesnoth/commit/d17fced66f2ee84ea9cac69ddae68af5cd1a3c23
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-25 (Sun, 25 Jul 2021)
Changed paths:
M data/lua/core/sides.lua
Log Message:
-----------
Lua API: Fix the deprecation wrappers for place_shroud and remove_shroud
- The "all" special case moved to place_shroud, as it should be
- Shroud data string handling fixed
Fixes #5885
Commit: ce2f8519330f8bb229d3182d0256d5e1c8007d86
https://github.com/wesnoth/wesnoth/commit/ce2f8519330f8bb229d3182d0256d5e1c8007d86
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-25 (Sun, 25 Jul 2021)
Changed paths:
A data/test/scenarios/test_modify_shroud.cfg
M wml_test_schedule
Log Message:
-----------
Add unit tests for the Lua shroud functions
Commit: 3e8cde944ad74c3e275057a1b25e90da08bc77ea
https://github.com/wesnoth/wesnoth/commit/3e8cde944ad74c3e275057a1b25e90da08bc77ea
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-25 (Sun, 25 Jul 2021)
Changed paths:
M data/test/scenarios/test_modify_shroud.cfg
M wml_test_schedule
Log Message:
-----------
Update the shroud unit tests and add a few more for cases new in 1.16
Commit: 4a9a9c5573ff80ca33b32c8a8925a339033d5064
https://github.com/wesnoth/wesnoth/commit/4a9a9c5573ff80ca33b32c8a8925a339033d5064
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-25 (Sun, 25 Jul 2021)
Changed paths:
M src/config.cpp
M src/config.hpp
M src/deprecation.hpp
Log Message:
-----------
New config methods for getting deprecated attributes or children
Commit: e0b04cbe5596736084f0d199edaaac58111d2f15
https://github.com/wesnoth/wesnoth/commit/e0b04cbe5596736084f0d199edaaac58111d2f15
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-25 (Sun, 25 Jul 2021)
Changed paths:
M src/ai/configuration.cpp
M src/units/formula_manager.cpp
Log Message:
-----------
Add deprecation messages for the most FormulaAI WML
Commit: 2fdb84bee4742539187c0e3f7cab2eb337bb0ebe
https://github.com/wesnoth/wesnoth/commit/2fdb84bee4742539187c0e3f7cab2eb337bb0ebe
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-25 (Sun, 25 Jul 2021)
Changed paths:
M src/ai/configuration.cpp
Log Message:
-----------
AI: Fix short goal syntax
Commit: 7cdef5c9c5bf2464f7cce6c3d38b88d3e3e4016c
https://github.com/wesnoth/wesnoth/commit/7cdef5c9c5bf2464f7cce6c3d38b88d3e3e4016c
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-26 (Mon, 26 Jul 2021)
Changed paths:
M data/lua/core/map.lua
Log Message:
-----------
Lua API: Fix wesnoth.map.find(filter, unit) ignoring the unit
Commit: 503c2c585e27cbf008787622b2f1879faa7cb242
https://github.com/wesnoth/wesnoth/commit/503c2c585e27cbf008787622b2f1879faa7cb242
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-26 (Mon, 26 Jul 2021)
Changed paths:
M data/campaigns/World_Conquest/lua/map/postgeneration_utils/engine.lua
M data/lua/core/map.lua
Log Message:
-----------
Lua API: Add wesnoth.map.filter_tags for the mapgen kernel
This was supposed to be added for 1.16, but it was forgotten; anyone wishing to use it in 1.16 will have to copy it from World Conquest.
Commit: c0acc090082aed5473d294f9bb8cad7915eb680c
https://github.com/wesnoth/wesnoth/commit/c0acc090082aed5473d294f9bb8cad7915eb680c
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-26 (Mon, 26 Jul 2021)
Changed paths:
M data/lua/location_set.lua
Log Message:
-----------
Lua API: Add an absolute complement option to location_set
- ls:invert(w,h,[border_size]) takes an absolute complement as if the map were the given size
- ls:invert(map) takes an absolute complement relative to the specified map
- ~ls is only available in the game kernel and takes an absolute complement relative to the real map
Commit: 194e721fea136efe7ebf23777c7c6bf9478a2d0f
https://github.com/wesnoth/wesnoth/commit/194e721fea136efe7ebf23777c7c6bf9478a2d0f
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-26 (Mon, 26 Jul 2021)
Changed paths:
M data/lua/location_set.lua
Log Message:
-----------
Lua API: Use a named tuple when converting a location set to triples
Commit: ec36da22899b619823ee9f81a7d4c1a0c4598911
https://github.com/wesnoth/wesnoth/commit/ec36da22899b619823ee9f81a7d4c1a0c4598911
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-26 (Mon, 26 Jul 2021)
Changed paths:
M data/lua/location_set.lua
Log Message:
-----------
Lua API: When creating a location set from triples, also support tables with x, y, and value keys
Commit: f8ab0a8d441569f6a827fa8f078098782fa61810
https://github.com/wesnoth/wesnoth/commit/f8ab0a8d441569f6a827fa8f078098782fa61810
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-26 (Mon, 26 Jul 2021)
Changed paths:
M src/scripting/mapgen_lua_kernel.cpp
Log Message:
-----------
Lua API: Make wesnoth.map.generate_height_map return data compatible with location_set
To maintain backwards compatibility, this format is opt-in.
Commit: 006f0162a82d6dea52b73a3ee69ce12acafa34ca
https://github.com/wesnoth/wesnoth/commit/006f0162a82d6dea52b73a3ee69ce12acafa34ca
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-26 (Mon, 26 Jul 2021)
Changed paths:
M src/scripting/game_lua_kernel.cpp
M src/scripting/lua_kernel_base.cpp
Log Message:
-----------
Lua API: wesnoth.map.parse|make_bitmap are now defined in the base kernel
This is mainly so that they can be used in the mapgen kernel; exposing them to the plugin kernel is just an incidental side-effect.
Commit: 1c7965e9972a60f1dbf1fb08fa6d49a3b60b3789
https://github.com/wesnoth/wesnoth/commit/1c7965e9972a60f1dbf1fb08fa6d49a3b60b3789
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-27 (Tue, 27 Jul 2021)
Changed paths:
M data/campaigns/tutorial/lua/character_selection.lua
Log Message:
-----------
Tutorial: Synchronize the character selection to avoid breaking replays
Compare: https://github.com/wesnoth/wesnoth/compare/f6d962ac67b1...1c7965e9972a
More information about the Commits
mailing list