Hogne Håskjold wrote:
Hogne Håskjold wrote:
> *snip*

Ok, so the get_unmasked function in image.cpp applies a mask to re-cut scaled tiles to a given mask defined by:

std::string terrain_mask_image = "terrain/alphamask.png";

When I changed this png to 96x96 the glitches disappeared (including the overlay ones). I couldn't see any apparent glitches on any zoom lvl after this, but I suspect there could still be problems.

Sirp suggested that the mask maybe should be created programatically instead in case the scaling somehow messes it up.

mask_surface and scale_surface is somewhat beyond me though, so thats it for my part I guess.

--
mvh                 (o_
Hogne Håskjold      //\
                    V_/_


_______________________________________________
Wesnoth-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-dev

Reply via email to