[wesnoth-commits] [wesnoth/wesnoth] 5f4505: WFL/Lua: Add lerp and clamp functions
Celtic Minstrel
noreply at github.com
Fri Jul 30 23:23:09 UTC 2021
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 5f450542f5812907409650b5a7acdd2c478b121e
https://github.com/wesnoth/wesnoth/commit/5f450542f5812907409650b5a7acdd2c478b121e
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 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: c96afdfefa6ad568e55988f57f2a85270713296a
https://github.com/wesnoth/wesnoth/commit/c96afdfefa6ad568e55988f57f2a85270713296a
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 Jul 2021)
Changed paths:
M src/formula/function.cpp
Log Message:
-----------
WFL: Support 2-argument atan
Commit: 8261db4cc005049129ea1feb8e949f6eb1459e91
https://github.com/wesnoth/wesnoth/commit/8261db4cc005049129ea1feb8e949f6eb1459e91
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 Jul 2021)
Changed paths:
M src/config.hpp
Log Message:
-----------
Fix a misplaced doc comment
Commit: 30a361920242a9583b19cabdef06797cd67f64fe
https://github.com/wesnoth/wesnoth/commit/30a361920242a9583b19cabdef06797cd67f64fe
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 Jul 2021)
Changed paths:
M data/lua/core/map.lua
Log Message:
-----------
Lua API: Fix bug in wesnoth.map.iter_adjacent
Fixes #5972
Commit: 632941b03d88742bea0bff227e2fda728a71b2a8
https://github.com/wesnoth/wesnoth/commit/632941b03d88742bea0bff227e2fda728a71b2a8
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 Jul 2021)
Changed paths:
M data/ai/lua/ca_move_to_any_enemy.lua
Log Message:
-----------
Lua AI: Fix a typo
Commit: 858f37e20e93a243e543441ec3e608173e93b86e
https://github.com/wesnoth/wesnoth/commit/858f37e20e93a243e543441ec3e608173e93b86e
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 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: 3af768150ee5070293f3f0f192794aaff90f75b3
https://github.com/wesnoth/wesnoth/commit/3af768150ee5070293f3f0f192794aaff90f75b3
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 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: 03ee90451325c92e422b99572e3e014d8d241016
https://github.com/wesnoth/wesnoth/commit/03ee90451325c92e422b99572e3e014d8d241016
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 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: fa6bcb0a37666a63c1816a387b8e032b6cee771a
https://github.com/wesnoth/wesnoth/commit/fa6bcb0a37666a63c1816a387b8e032b6cee771a
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 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: 8723d95d655c6bdec6ef688c7cbcd4116f607302
https://github.com/wesnoth/wesnoth/commit/8723d95d655c6bdec6ef688c7cbcd4116f607302
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 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: 15c61effc941deef3c4548db5cc63924e5253181
https://github.com/wesnoth/wesnoth/commit/15c61effc941deef3c4548db5cc63924e5253181
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 Jul 2021)
Changed paths:
M src/ai/configuration.cpp
Log Message:
-----------
AI: Fix short goal syntax
Commit: 5951a63d3e1c94b10812c53bec8d191268288941
https://github.com/wesnoth/wesnoth/commit/5951a63d3e1c94b10812c53bec8d191268288941
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 Jul 2021)
Changed paths:
M data/lua/core/map.lua
Log Message:
-----------
Lua API: Fix wesnoth.map.find(filter, unit) ignoring the unit
Commit: eb1bd1af6cfa3e510e9ef5fae72f966567059969
https://github.com/wesnoth/wesnoth/commit/eb1bd1af6cfa3e510e9ef5fae72f966567059969
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 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: 7d7b58e31e3a23018b2632a6ddfe60aab5b073eb
https://github.com/wesnoth/wesnoth/commit/7d7b58e31e3a23018b2632a6ddfe60aab5b073eb
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 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: c59c3b9273fd02323c6050648a0a75778a4699b1
https://github.com/wesnoth/wesnoth/commit/c59c3b9273fd02323c6050648a0a75778a4699b1
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 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: 08e3a3197949491ebfc5d760671c1fc40c9c4401
https://github.com/wesnoth/wesnoth/commit/08e3a3197949491ebfc5d760671c1fc40c9c4401
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 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: 1372724d4049cf8c16cc8625861025d444349b86
https://github.com/wesnoth/wesnoth/commit/1372724d4049cf8c16cc8625861025d444349b86
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 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: 2a4339199d5aee16fb62a2e3dd176ac25031a15b
https://github.com/wesnoth/wesnoth/commit/2a4339199d5aee16fb62a2e3dd176ac25031a15b
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 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: 300b4492b8df8afce16b1a3acc41136318c936d1
https://github.com/wesnoth/wesnoth/commit/300b4492b8df8afce16b1a3acc41136318c936d1
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 Jul 2021)
Changed paths:
M data/lua/core/unit_test.lua
M data/test/scenarios/as_text.cfg
M data/test/scenarios/test_lua.cfg
M data/test/scenarios/test_lua_version_api.cfg
Log Message:
-----------
Lua API: Ensure unit test assertions specify a message string
Commit: 44da16d66a3a5417572f66176096e6a80195c68c
https://github.com/wesnoth/wesnoth/commit/44da16d66a3a5417572f66176096e6a80195c68c
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 Jul 2021)
Changed paths:
M data/lua/core/sides.lua
Log Message:
-----------
Lua API: Use the new location_set complement in the place_shroud deprecation wrapper
Commit: 23bfa4c896644451116660941fda811682f9fda3
https://github.com/wesnoth/wesnoth/commit/23bfa4c896644451116660941fda811682f9fda3
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-07-30 (Fri, 30 Jul 2021)
Changed paths:
M data/lua/core/map.lua
M data/lua/core/unit_test.lua
M src/config.cpp
M src/config.hpp
M src/gui/dialogs/migrate_version_selection.cpp
M src/scripting/mapgen_lua_kernel.cpp
Log Message:
-----------
fix whitespace
Compare: https://github.com/wesnoth/wesnoth/compare/3de79c15fbf7...23bfa4c89664
More information about the Commits
mailing list