ok... i have made significant advances. most of the demos have been converted and are working. the original download link is now the new zip. the mod is still not completely converted due to DrawImageRect and how i had to accomplish masking. also, i am still have not looked at the custom map from gavin.
the masking issue was a curious one. i decided to get back to basics and just get it to work with a straight image. i was able to get it working multiple ways, but still could not figure out a way to get it working with an image that was created with CreateImage and WritePixel instead of LoadImage. what i ended up doing was masking the pixmap that WritePixel was using via MaskPixmap and storing it in the images masks array. instead of using DrawImage i use DrawPixmap directly from the masks array.
the masking issue was a curious one. i decided to get back to basics and just get it to work with a straight image. i was able to get it working multiple ways, but still could not figure out a way to get it working with an image that was created with CreateImage and WritePixel instead of LoadImage. what i ended up doing was masking the pixmap that WritePixel was using via MaskPixmap and storing it in the images masks array. instead of using DrawImage i use DrawPixmap directly from the masks array.