Friday, May 5, 2006

Friday 5th

Today's first task was to sort out some of the error trapping which is sadly lacking in a few important areas (like, for instance, what if the user tries to load a Project file but the Editor cannot find any of the requisite Tilesets and so forth?). A few gentle nudges from the Blitz Forum pointed me in the direction of a suitable method, now all I need to do is inform the user in a graceful way.

After digging deeper into potential "What Ifs?", it also became clear that the Brush Thumbnail system was also prone to errors if there is no Tileset loaded - the only way around this will be to store the Tileset used to generate each thumbnail, and check this prior to display.

The final couple of tasks for today involved adding the current cursor mode to the Info Panel (when in Tile Grab Mode, the cursor can either be set to Coarse or Smooth), followed by a small tweak to ensure that the Layer copy/paste buffer is cleared after a Layer is resized or rotated.