gman, In mappy.bmx mapdrawbg there's a comment...
make the blending solid (0) to replicate old DrawBlock function
but no setblend solidblend statement.
If I add one (either in mappy.bmx or my program) the tiles show OK. I can't now get the mapdrawfg to show using maskblend. Also having problems with maskcolours but that should be easy to fix.
Not sure how/why this started as I am *sure* it was working OK.
<edit> Thought this might be a problem in maskimage method which needs to be changed to
[code]
img.frames[frame]=_max2ddriver.CreateFrameFromPixmap(pixmap,img.flags)
[/code}
(I think) but the problem continue.
In some stuff I was doing with MaskPixmap I noticed that paste.pixmap wasn't using the masking colour.
CreateFrameFromPixmap uses Paste.Pixmap which does a memcopy. The memcopy doesn't respect masked pixels so everything is copied as is.
I *think* the maskpixmap needs to be added to BRL.D3D7Max2D and BRL.GLMax2D.
I tried it in the DX module, rebuilt but had the same problem.