mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-02 03:37:17 +00:00

- widget:add_item_of_type() now uses lua 1-based indicies and throws lua errors on wrong indicies. (previously used c++ 0-based indexing, and could lead to assertions when wrong indicies were used, ) - widget:add_item() now has a optional location pos parameter as claimed in the wiki - the pos and count paraemters in widget:remove_items_at() are now optional and default to removing the last element With this is matches the behavior of the standart lua functions table.insert and table.remove which is imo what lua writers expect.
This is a directory of miscellaneous developer tools for Battle for Wesnoth, mostly to support packaging, code integrity checks, and control of the Wesnoth servers.
Tools that work on data (WML, maps, images, sounds) no longer belong here. Go to data/tools for those.