Software blitting issue with Photoshop transparencies
When using PixTudio software blitting functions with PNGs generated with Photoshop, sometimes the transparencies will not work correctly as Photoshop registers them as RGBA(255,255,255,0) and PixTudio expects them to be RGBA(0,0,0,0).
Changing this line in modules/libblit/g_blit.c:2083
draw_hspan = (DRAW_HSPAN *)draw_hspan_32to32;
to this:
draw_hspan = (DRAW_HSPAN *)draw_hspan_32to32_nocolorkey;
seems to solve the issue :)
I don't know if changing this has any side effects, but seems to work correctly with the whole eXplosive Dinosaurs.
Edited by Pablo A. Navarro Reyes