After yesterday's bug chasing, I decided to continue with the tweaks and fixes. First of all, I finalised the scrolling system for the Tile window, so that it comfortably copes with tiles of any size. It's likely that the user will be restricted to tilesets of 256 tiles - files smaller than this will be 'padded out' when loaded into the editor.
Fixing the Tile window also forced me to tackle another bug: the inability to load a 128x128 tileset into the editor. After trying - and failing - to load the image back into PhotoShop, it occurred to me that there must be some physical restriction (possibly in MS Windows) that shies away from files over a certain width/height.
Sure enough, I managed to deduce that files over 16384 pixels in width/height will cause problems - luckily, the Editor can handle blocks of tiles as well as strips of tiles, so after a quick snip and paste, everything was peachy.
Rounded off by tweaking the Meta Panel, as the addition of 64x64 and 128x128 tiles means that I needed to drop the Copy/Paste buttons and shift down the Meta Flags display. The buttons were convenient, admittedly, so they now sit nicely in the Tile menu.
