[wesnoth-commits] [wesnoth/wesnoth] cfb8be: New config methods for getting deprecated attribut...

Celtic Minstrel noreply at github.com
Wed Jul 28 03:58:54 UTC 2021


  Branch: refs/heads/celmin
  Home:   https://github.com/wesnoth/wesnoth
  Commit: cfb8beb551ec4f2738fb522bc950fc23d999e5c1
      https://github.com/wesnoth/wesnoth/commit/cfb8beb551ec4f2738fb522bc950fc23d999e5c1
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-27 (Tue, 27 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: a403d9c3daa965d430532d372ccbd2bcd44eb3b5
      https://github.com/wesnoth/wesnoth/commit/a403d9c3daa965d430532d372ccbd2bcd44eb3b5
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-27 (Tue, 27 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: 01b806869c621bf4505b60c15d37e49f368de388
      https://github.com/wesnoth/wesnoth/commit/01b806869c621bf4505b60c15d37e49f368de388
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M src/ai/configuration.cpp

  Log Message:
  -----------
  AI: Fix short goal syntax


  Commit: 3230739e865c703807ad60c1ecafea7203a15ae8
      https://github.com/wesnoth/wesnoth/commit/3230739e865c703807ad60c1ecafea7203a15ae8
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M data/lua/core/map.lua

  Log Message:
  -----------
  Lua API: Fix wesnoth.map.find(filter, unit) ignoring the unit


  Commit: 8676f799de415f7f071da1894a1bae904ac029d9
      https://github.com/wesnoth/wesnoth/commit/8676f799de415f7f071da1894a1bae904ac029d9
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-27 (Tue, 27 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: 41a81c910b200a2410d6ce51bc9ddd9903972c44
      https://github.com/wesnoth/wesnoth/commit/41a81c910b200a2410d6ce51bc9ddd9903972c44
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-27 (Tue, 27 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: 8c865c4dbf1894d36e06bc18b139903f3154602a
      https://github.com/wesnoth/wesnoth/commit/8c865c4dbf1894d36e06bc18b139903f3154602a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-27 (Tue, 27 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: 1515279927fab59bde69a9c541beaad6004782c7
      https://github.com/wesnoth/wesnoth/commit/1515279927fab59bde69a9c541beaad6004782c7
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-27 (Tue, 27 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: ed8502bfa89a0ce2021030c9161446dfbaab0731
      https://github.com/wesnoth/wesnoth/commit/ed8502bfa89a0ce2021030c9161446dfbaab0731
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-27 (Tue, 27 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: cc259e89620775cec9e5348fd47f730034be8702
      https://github.com/wesnoth/wesnoth/commit/cc259e89620775cec9e5348fd47f730034be8702
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-27 (Tue, 27 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: d74045071a19400a4ca60d7e2079cd7b26e64a8f
      https://github.com/wesnoth/wesnoth/commit/d74045071a19400a4ca60d7e2079cd7b26e64a8f
  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


  Commit: cd73b7508995943d3fe323b6ba66065ecc3b333b
      https://github.com/wesnoth/wesnoth/commit/cd73b7508995943d3fe323b6ba66065ecc3b333b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-27 (Tue, 27 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

  Log Message:
  -----------
  Lua API: Ensure unit test assertions specify a message string


  Commit: 6d6afb5138e8eba512415c8b4e8dd86a138f6b81
      https://github.com/wesnoth/wesnoth/commit/6d6afb5138e8eba512415c8b4e8dd86a138f6b81
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-27 (Tue, 27 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: 43e2c5ad3b8722e41709b401dd85c50681b74e38
      https://github.com/wesnoth/wesnoth/commit/43e2c5ad3b8722e41709b401dd85c50681b74e38
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-27 (Tue, 27 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/89810ee146bf...43e2c5ad3b87



More information about the Commits mailing list