[Commits] [wesnoth/wesnoth] fb1a71: Apply local ToD lighting to hex overlays when appl...

GitHub noreply at github.com
Sat Jun 28 02:04:17 UTC 2014


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: fb1a718f2d9b6f474d27024e8ae41cd6b1c08b29
      https://github.com/wesnoth/wesnoth/commit/fb1a718f2d9b6f474d27024e8ae41cd6b1c08b29
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-06-27 (Fri, 27 Jun 2014)

  Changed paths:
    M changelog
    M src/display.cpp

  Log Message:
  -----------
  Apply local ToD lighting to hex overlays when applicable (bug #22215)

This replaces map-wide ToD lighting with local ToD lighting for overlays
associated with locations that have custom local ToD lighting. The
method employed for this is more or less the same already used by
display::get_terrain_images() bar the complications associated to
dealing with terrain transitions, since overlays don't have those.

Note that for this to have an effect, local ToD lighting must be enabled
in Preferences -> Advanced. This is the default since Wesnoth 1.10.x.


  Commit: 75a575c2ea0124f25370b3dfa48b8554ac2d72a6
      https://github.com/wesnoth/wesnoth/commit/75a575c2ea0124f25370b3dfa48b8554ac2d72a6
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-06-27 (Fri, 27 Jun 2014)

  Changed paths:
    M data/scenario-test.cfg

  Log Message:
  -----------
  Add a test case for bug #22215


Compare: https://github.com/wesnoth/wesnoth/compare/364ed0d5369f...75a575c2ea01


More information about the Commits mailing list