Hogne Håskjold wrote:
I looked at surface get_scaled(const locator i_locator, COLOUR_ADJUSTMENT adj) in image.cpp, but I couldn't figure out that it does any scaling at all. It gets an UNMASKED image, does some color adjusting, then sets the alpha value if it gets an image mask and thats it...? I've basicly never coded any C/C++ and is unfamiliar with the code so any pointers to where I should look would be nice :)


Ok, it seems like it's get_unmasked that calls scale_surface in sdl_utils.cpp. I'll dig around there then. Confusing names on this stuff :)

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


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

Reply via email to