[wesnoth-commits] [wesnoth/wesnoth] 97afd8: Remove support for addressing the map like a 2D array

Celtic Minstrel noreply at github.com
Thu Feb 18 04:32:31 UTC 2021


  Branch: refs/heads/lua_gamemap
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 97afd8b6bc0e89a030d45abeccfa0be837ab60aa
      https://github.com/wesnoth/wesnoth/commit/97afd8b6bc0e89a030d45abeccfa0be837ab60aa
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

  Changed paths:
    M src/scripting/lua_terrainmap.cpp

  Log Message:
  -----------
  Remove support for addressing the map like a 2D array


  Commit: 9ca6e175dd446a7c261444fd737e56d197833eef
      https://github.com/wesnoth/wesnoth/commit/9ca6e175dd446a7c261444fd737e56d197833eef
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

  Changed paths:
    M src/scripting/lua_terrainmap.cpp

  Log Message:
  -----------
  Remove get_terrain and set_terrain; now indexing is the only way to get or set a terrain

This adds a replace_if_failed function to expose that functionality, but it's currently in the wrong location.


  Commit: 04541e1959c9fe60190cedbdc239b32e8d0ea385
      https://github.com/wesnoth/wesnoth/commit/04541e1959c9fe60190cedbdc239b32e8d0ea385
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

  Changed paths:
    M data/lua/core.lua
    M src/scripting/lua_terrainmap.cpp

  Log Message:
  -----------
  Remove the special_locations length operator


Compare: https://github.com/wesnoth/wesnoth/compare/366138f70470...04541e1959c9



More information about the Commits mailing list