[wesnoth-commits] [wesnoth/wesnoth] ccd3a7: Add a versions userdata for a cleaner way to compa...
Celtic Minstrel
noreply at github.com
Tue May 11 04:23:55 UTC 2021
Branch: refs/heads/lua_reorg
Home: https://github.com/wesnoth/wesnoth
Commit: ccd3a77e2565f7f2e1e5bbf50c96a514b6379040
https://github.com/wesnoth/wesnoth/commit/ccd3a77e2565f7f2e1e5bbf50c96a514b6379040
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/lua/core/_initial.lua
A data/test/scenarios/test_lua_version_api.cfg
M src/game_version.hpp
M src/scripting/lua_kernel_base.cpp
M wml_test_schedule
Log Message:
-----------
Add a versions userdata for a cleaner way to compare and manipulate game versions
Commit: eccc96086b1cb61207a024401021428560dc088f
https://github.com/wesnoth/wesnoth/commit/eccc96086b1cb61207a024401021428560dc088f
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/lua/core/_initial.lua
A data/lua/core/audio.lua
M projectfiles/Xcode/The Battle for Wesnoth.xcodeproj/project.pbxproj
M src/scripting/game_lua_kernel.cpp
M src/scripting/game_lua_kernel.hpp
M src/scripting/lua_audio.cpp
M src/soundsource.cpp
M src/soundsource.hpp
Log Message:
-----------
Add an audio module
Commit: 738793346682416d41af4592bf2fc8c65fc8569b
https://github.com/wesnoth/wesnoth/commit/738793346682416d41af4592bf2fc8c65fc8569b
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/campaigns/World_Conquest/lua/campaign/scenario.lua
M data/campaigns/World_Conquest/lua/optional_mechanics/destruction.lua
M data/lua/wml-tags.lua
M data/lua/wml/harm_unit.lua
M data/lua/wml/message.lua
Log Message:
-----------
Update mainline content to use the wesnoth.audio module
Commit: 49e1e712b1b38bc250a58f12641c18aa4d5724cf
https://github.com/wesnoth/wesnoth/commit/49e1e712b1b38bc250a58f12641c18aa4d5724cf
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/lua/core/gui.lua
M data/lua/wml-tags.lua
M src/help/help.cpp
M src/help/help.hpp
M src/scripting/game_lua_kernel.cpp
M src/scripting/lua_gui2.cpp
Log Message:
-----------
Move open_help to the gui module (as show_help)
This also exposes it in kernels besides the game kernel.
Commit: 6c314a78cac456d5b1f293213c34741224db8fa2
https://github.com/wesnoth/wesnoth/commit/6c314a78cac456d5b1f293213c34741224db8fa2
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/lua/core/units.lua
M data/lua/wml/animate_unit.lua
M data/lua/wml/heal_unit.lua
M data/lua/wml/kill.lua
M src/scripting/game_lua_kernel.cpp
M src/scripting/lua_unit_attacks.cpp
M src/scripting/lua_unit_attacks.hpp
Log Message:
-----------
Move create_animator and create_weapon into the units module
Commit: a6515382cc1a8adb08c1bf04d57a6a91c3056cb1
https://github.com/wesnoth/wesnoth/commit/a6515382cc1a8adb08c1bf04d57a6a91c3056cb1
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/lua/core/interface.lua
M data/lua/wml-tags.lua
M src/scripting/game_lua_kernel.cpp
Log Message:
-----------
Now color_adjust takes three arguments instead of a config
Consider it part of the public API now.
Commit: 5747e971a48a786315558c16d392b009f064768c
https://github.com/wesnoth/wesnoth/commit/5747e971a48a786315558c16d392b009f064768c
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M src/scripting/lua_kernel_base.cpp
Log Message:
-----------
Deprecate wesnoth.game_config.version
There's no point having the same info in two places
Commit: 1e0169847ddd467295ea30b12440c68c938e8e8b
https://github.com/wesnoth/wesnoth/commit/1e0169847ddd467295ea30b12440c68c938e8e8b
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M src/scripting/lua_common.hpp
M src/scripting/lua_kernel_base.cpp
Log Message:
-----------
Make it easier to deprecate Lua attributes in C++ __index metafunctions
Commit: d86735d30c1364f75af42ac04b56bab116619197
https://github.com/wesnoth/wesnoth/commit/d86735d30c1364f75af42ac04b56bab116619197
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/campaigns/World_Conquest/lua/game_mechanics/utils.lua
M data/lua/core/wml.lua
Log Message:
-----------
Move the Lua global variable helpers from WC to a new "experimental" module
Commit: c8b8cc0a26d73c6e5f41589ddfc38b78b50183da
https://github.com/wesnoth/wesnoth/commit/c8b8cc0a26d73c6e5f41589ddfc38b78b50183da
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/lua/core/sides.lua
M data/test/scenarios/test_create_side.cfg
M src/scripting/game_lua_kernel.cpp
Log Message:
-----------
Move wesnoth.create_side -> wesnoth.sides.create
Commit: 783083352af07fc503cf506610ea3382c8c4f7c1
https://github.com/wesnoth/wesnoth/commit/783083352af07fc503cf506610ea3382c8c4f7c1
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/lua/core/sides.lua
M src/scripting/game_lua_kernel.cpp
Log Message:
-----------
Move the deprecation for wesnoth.modify_ai to Lua so that it honours --strict-lua
Commit: 981e8a08b57932f49d637371f3f29bf4e9d11afe
https://github.com/wesnoth/wesnoth/commit/981e8a08b57932f49d637371f3f29bf4e9d11afe
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/lua/core/wml.lua
M src/scripting/game_lua_kernel.cpp
Log Message:
-----------
Move some more functions to the wml module
- eval_conditional and fire
- the internal set|get_variable functions
Commit: 94e06579dce3fcd6593c72b6a9a1a5d065a5bd49
https://github.com/wesnoth/wesnoth/commit/94e06579dce3fcd6593c72b6a9a1a5d065a5bd49
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/ai/micro_ais/cas/ca_hang_out.lua
M data/campaigns/Northern_Rebirth/lua/respawn_utils.lua
M data/lua/wml-flow.lua
M data/lua/wml/message.lua
M data/lua/wml/objectives.lua
M data/lua/wml/test_condition.lua
Log Message:
-----------
Update uses of eval_conditional
Commit: ad5ad4a970b8b537b4ffd49f5442fe6e53e9b985
https://github.com/wesnoth/wesnoth/commit/ad5ad4a970b8b537b4ffd49f5442fe6e53e9b985
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/campaigns/Eastern_Invasion/lua/bandits.lua
M data/lua/core/wml.lua
M data/lua/helper.lua
M data/lua/wml/message.lua
M data/multiplayer/eras.lua
M data/scenario-test.cfg
Log Message:
-----------
Update uses of wesnoth.fire
Commit: 4d50d95b7af20472c36ebfd4ca97ed340adf404e
https://github.com/wesnoth/wesnoth/commit/4d50d95b7af20472c36ebfd4ca97ed340adf404e
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/campaigns/World_Conquest/lua/map/main.lua
M data/campaigns/World_Conquest/lua/map/scenario_utils/bonus_points.lua
M data/lua/core/wml.lua
M src/scripting/mapgen_lua_kernel.cpp
M src/scripting/mapgen_lua_kernel.hpp
Log Message:
-----------
Allow accessing variables through the new APIs in the mapgen kernel
This also reverses the deprecation of wml.tovconfig and friends in the mapgen kernel.
Commit: e0bffcac69436c37b91fbb1c15f1d4bc1ecd74f8
https://github.com/wesnoth/wesnoth/commit/e0bffcac69436c37b91fbb1c15f1d4bc1ecd74f8
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M src/scripting/game_lua_kernel.cpp
M src/scripting/game_lua_kernel.hpp
Log Message:
-----------
Add a new scenario module and move some functions there and to game_config
Addresses #4907
Commit: f3b0b591970f76b20d3e84dc3bfe8d03d673c65b
https://github.com/wesnoth/wesnoth/commit/f3b0b591970f76b20d3e84dc3bfe8d03d673c65b
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/ai/lua/generic_recruit_engine.lua
M data/campaigns/World_Conquest/lua/campaign/scenario.lua
M data/campaigns/World_Conquest/lua/era/era.lua
M data/campaigns/World_Conquest/lua/game_mechanics/utils.lua
M data/campaigns/World_Conquest/lua/game_mechanics/wocopedia/help.lua
M data/lua/wml-tags.lua
M data/lua/wml/endlevel.lua
M data/lua/wml/objectives.lua
M data/multiplayer/eras.lua
M data/multiplayer/scenarios/2p_Dark_Forecast.lua
M src/scripting/game_lua_kernel.cpp
Log Message:
-----------
Update mainline content to use the wesnoth.scenario module
Commit: a9faab221e983ea9633d237ceb61cdecaa88a1c1
https://github.com/wesnoth/wesnoth/commit/a9faab221e983ea9633d237ceb61cdecaa88a1c1
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
A data/lua/core/filesystem.lua
M data/lua/package.lua
M src/filesystem.cpp
M src/filesystem.hpp
M src/gui/dialogs/game_load.cpp
M src/save_index.cpp
M src/scripting/lua_fileops.cpp
M src/scripting/lua_fileops.hpp
M src/scripting/lua_kernel_base.cpp
M src/tests/test_filesystem.cpp
Log Message:
-----------
Add a filesystem module
This currently contains have_file, read_file, canonical_path, get_image_size, and new functions that work with binary_path files.
Commit: d396068c3c1aecceecd5aa1f7617d4acea3e6e7e
https://github.com/wesnoth/wesnoth/commit/d396068c3c1aecceecd5aa1f7617d4acea3e6e7e
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/campaigns/World_Conquest/lua/game_mechanics/heroes.lua
M data/campaigns/World_Conquest/lua/map/settings/settings_dialog.lua
M data/campaigns/World_Conquest/lua/map/tools/filter_converter.lua
M data/campaigns/World_Conquest/lua/map/wct_map_generator.lua
M data/lua/wml-tags.lua
M data/multiplayer/scenarios/2p_Dark_Forecast.lua
M data/scenario-test.cfg
Log Message:
-----------
Update mainline uses of have_file and read_file
Commit: de507667ae700f09162b6171817558497914ea1a
https://github.com/wesnoth/wesnoth/commit/de507667ae700f09162b6171817558497914ea1a
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/lua/wml-tags.lua
M data/test/_main.cfg
A data/test/maps/test_hills_square.mask
M data/test/scenarios/test_terrain_mask.cfg
Log Message:
-----------
Resolve [terrain_mask]mask_file= relative to the [binary_path] like map_file= is
Commit: 0ca00c48e9c5141edd87f608fbba1a754b7688fe
https://github.com/wesnoth/wesnoth/commit/0ca00c48e9c5141edd87f608fbba1a754b7688fe
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2021-05-11 (Tue, 11 May 2021)
Changed paths:
M data/lua/core/interface.lua
M data/lua/core/mathx.lua
M data/lua/core/sides.lua
M data/lua/core/wml.lua
M src/scripting/game_lua_kernel.cpp
M src/scripting/lua_audio.cpp
M src/scripting/lua_unit_attacks.cpp
M src/scripting/mapgen_lua_kernel.cpp
M src/soundsource.hpp
Log Message:
-----------
whitespace fixes
Compare: https://github.com/wesnoth/wesnoth/compare/6ff0ac54799e...0ca00c48e9c5
More information about the Commits
mailing list