Drum roll please: I believe I have found a bug!
[snip snip]
Left side, correct rendering from my editor. Right side, image rendered in GapiDraw.
There is two wall graphics in this image. A corner which is rotate to create four, and a wall, which is also rotated.
I didn't believe it was a bug until I noticed the doubled line at the left of the red marker. Since this corner was blitted in a single shot, and a line in the middle of the graphic was doubled, I suppose it's a bug in GD 1.04. (zoom on it to see what I mean)
Also, all graphics are 32x32, yet once rotated most are drawn with one less line of pixels, as you can see in the image.
If it's a problem in GD, I suppose it's also related to the other AlphaBltFast() problem I mentionned earlier.
Here's the call I use for the rotation in this image:
if (Surface->Blt(&r,BS,&rt,BlitFlags_b,&eFX_b) != GD_OK) return false;
I verified all parameters before blitting, and they are valid. Simply removing "GDBLT_ROTATIONANGLE" from the flags gets rid of the problem...
So, is this a bug, do I win a prize?
--Eric