[Commits] [wesnoth/wesnoth] 863f31: Allow specifying the random shift range for terrai...

GitHub noreply at github.com
Tue Aug 29 19:25:02 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 863f31c62822aa98cb3464f915aa371b60ea8e86
      https://github.com/wesnoth/wesnoth/commit/863f31c62822aa98cb3464f915aa371b60ea8e86
  Author: ln-zookeeper <lari.nieminen at iki.fi>
  Date:   2017-08-29 (Tue, 29 Aug 2017)

  Changed paths:
    M src/terrain/builder.cpp
    M src/terrain/builder.hpp

  Log Message:
  -----------
  Allow specifying the random shift range for terrain animation times

Previously, terrain graphics [image] random_start= only accepted a boolean value, but this commit makes it optionally also accept an integer value, which will be used as the range of random shift (in milliseconds) that the animation is allowed. This can be used for example to allow animations such as water to play only slightly out of sync.





More information about the Commits mailing list