[wesnoth-commits] [wesnoth/wesnoth] 0f948f: Refactoring [movetype] to deprecate the "flies" ke...

Steve Cotton noreply at github.com
Thu Aug 1 20:06:51 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0f948f793c2fc8f34b1a648b3c2cfd671349cb64
      https://github.com/wesnoth/wesnoth/commit/0f948f793c2fc8f34b1a648b3c2cfd671349cb64
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2019-08-01 (Thu, 01 Aug 2019)

  Changed paths:
    M changelog.md
    M data/campaigns/Under_the_Burning_Suns/units/units.cfg
    M data/core/units.cfg
    M data/schema/units/movetypes.cfg
    M src/movetype.cpp
    M src/movetype.hpp

  Log Message:
  -----------
  Refactoring [movetype] to deprecate the "flies" key, use "flying" instead

This makes [movetype] consistent with [unit]. The code in movetype.cpp is used
for handling both of those tags and so already had support for "flying" in the
merge() and write() functions.

This shouldn't be backported to 1.14. For this reason, it also includes
handling the C++ todos to use C++14's std::make_unique.





More information about the Commits mailing list