[Commits] [wesnoth/wesnoth] 45e875: Apply local ToD lighting to hex overlays when appl...
GitHub
noreply at github.com
Sat Jun 21 13:19:56 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 45e8753cc58facabe70446f90df0f06fa3dd2ce8
https://github.com/wesnoth/wesnoth/commit/45e8753cc58facabe70446f90df0f06fa3dd2ce8
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2014-06-21 (Sat, 21 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.
This patch is more noisy than I expected, so it might require some
additional testing before landing in 1.12 to ensure it does not
introduce any regressions.
More information about the Commits
mailing list