[wesnoth-commits] [wesnoth/wesnoth] 03d827: There were some old functions that are now covered...
Celtic Minstrel
noreply at github.com
Thu May 20 01:03:40 UTC 2021
Branch: refs/heads/lua_reorg
Home: https://github.com/wesnoth/wesnoth
Commit: 03d827471c89102de3c61d1dd6dd5120e21cc79a
https://github.com/wesnoth/wesnoth/commit/03d827471c89102de3c61d1dd6dd5120e21cc79a
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-15 (Sat, 15 May 2021)
Changed paths:
M data/lua/core/_initial.lua
M src/scripting/game_lua_kernel.cpp
M src/scripting/game_lua_kernel.hpp
Log Message:
-----------
There were some old functions that are now covered by the wesnoth.scenario module, so deprecate them
Commit: 8b87d39a7e58e012640aaf293138b044c8bc7ac4
https://github.com/wesnoth/wesnoth/commit/8b87d39a7e58e012640aaf293138b044c8bc7ac4
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-15 (Sat, 15 May 2021)
Changed paths:
M src/scripting/game_lua_kernel.cpp
M src/scripting/lua_kernel_base.cpp
Log Message:
-----------
Add addons to wesnoth.game_config
This adds:
- wesnoth.game_config.eras
- wesnoth.game_config.campaigns
- wesnoth.game_config.modifications
- wesnoth.game_config.resources
Each is an ID to config mapping of the particular addon type.
wesnoth.game_config.eras previously existed as just an array of all era IDs, so this is an incompatible change. However, the old API was never documented, and the comment said it was specifically for @sigurdfd who approved this change.
Commit: 14124c21b151c1e9ff6c3ffbd2a5238be9986d60
https://github.com/wesnoth/wesnoth/commit/14124c21b151c1e9ff6c3ffbd2a5238be9986d60
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-15 (Sat, 15 May 2021)
Changed paths:
M src/scripting/lua_audio.cpp
Log Message:
-----------
There's no reason to push the old volume onto the stack only to discard it!
Commit: dbf13c8a5cb281833b5e1192b34f9bfdd08db314
https://github.com/wesnoth/wesnoth/commit/dbf13c8a5cb281833b5e1192b34f9bfdd08db314
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-16 (Sun, 16 May 2021)
Changed paths:
M src/scripting/lua_audio.cpp
Log Message:
-----------
Fix some bugs in wesnoth.audio.music_list
Commit: 3ae3ec91afb746d705a5a6b5af018f3201535313
https://github.com/wesnoth/wesnoth/commit/3ae3ec91afb746d705a5a6b5af018f3201535313
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-16 (Sun, 16 May 2021)
Changed paths:
M src/scripting/game_lua_kernel.cpp
Log Message:
-----------
Make repeats argument optional in wesnoth.audio.play
Commit: 8c46a45f31697aa1f982b15f36aabba1aa59f95d
https://github.com/wesnoth/wesnoth/commit/8c46a45f31697aa1f982b15f36aabba1aa59f95d
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-19 (Wed, 19 May 2021)
Changed paths:
M src/scripting/game_lua_kernel.cpp
M src/scripting/game_lua_kernel.hpp
M src/scripting/lua_terrainmap.cpp
M src/scripting/mapgen_lua_kernel.cpp
Log Message:
-----------
wesnoth.unit_types and wesnoth.terrain_types are now available in map generation scripts
Commit: acc1fb78250369b5d27b71893c42dc29a1a93aae
https://github.com/wesnoth/wesnoth/commit/acc1fb78250369b5d27b71893c42dc29a1a93aae
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-19 (Wed, 19 May 2021)
Changed paths:
M data/lua/core/_initial.lua
M src/scripting/game_lua_kernel.cpp
M src/scripting/mapgen_lua_kernel.cpp
Log Message:
-----------
Move path-related functions into a new wesnoth.paths module
Commit: a8e01b1bef28e08aca7ac5045a6e63b072b254e6
https://github.com/wesnoth/wesnoth/commit/a8e01b1bef28e08aca7ac5045a6e63b072b254e6
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-19 (Wed, 19 May 2021)
Changed paths:
M data/lua/core/interface.lua
M src/scripting/game_lua_kernel.cpp
Log Message:
-----------
Move several functions to the wesnoth.interface module
Commit: 70d8ddf0b84f6c5d9777930a5d542ea2c1997fb9
https://github.com/wesnoth/wesnoth/commit/70d8ddf0b84f6c5d9777930a5d542ea2c1997fb9
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-19 (Wed, 19 May 2021)
Changed paths:
M src/scripting/game_lua_kernel.cpp
M src/scripting/game_lua_kernel.hpp
Log Message:
-----------
Remove the deprecated wesnoth.select_hex
Compare: https://github.com/wesnoth/wesnoth/compare/85bfae079466...70d8ddf0b84f
More information about the Commits
mailing list