[Commits] [wesnoth/wesnoth] a87e7e: Added support for mod_x, mod_y in [terrain_graphics...

GitHub noreply at github.com
Mon Jul 27 08:59:59 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a87e7e16ed774ac8d49460bc6f3d00353458b8ea
      https://github.com/wesnoth/wesnoth/commit/a87e7e16ed774ac8d49460bc6f3d00353458b8ea
  Author: ln-zookeeper <lari.nieminen at iki.fi>
  Date:   2015-07-27 (Mon, 27 Jul 2015)

  Changed paths:
    M changelog
    M src/terrain_builder.cpp
    M src/terrain_builder.hpp

  Log Message:
  -----------
  Added support for mod_x,mod_y in [terrain_graphics]

These work like x,y except that they match the rule on all locations
with coordinates that are multiples of the given values. For example,
mod_x,mod_y=4,3 matches (4,3)(8,3)(12,3)(16,3)(20,3)(etc) and then
(4,6)(8,6)(12,6)(16,6)(20,6)(etc) and so on.





More information about the Commits mailing list