After a brief discussion yesterday with Muttley, one of my test pilots and all-round good egg, we concluded that the SaveImage problem was indeed a problem with Blitz, so today saw me writing a routine that creates a new image, copies across all of the tiles from the AnimImage, then saves out the image file. Phew!
Next came a chunk of code I hadn't particularly been looking forward to; the facility to grab tiles from a Static image. The logic behind the routine was fairly simple, however, and within minutes it was in and working - the user can now jab 'T' to enter Tile Grab Mode. After a couple of tweaks to the code, to check that the cursor wasn't going over the edge of the image, the bulk of the routine was done.
I took the opportunity to limit the number of buffers to 8 - now the user can happily grab tiles to any of these 8 buffers. I finished up by adding the facility to copy from the buffer to the current tile, and vice versa, and then added a Nudge facility so that the buffer contents can be moved in 1-pixel increments for extra precision.
