Wednesday, July 20, 2005

Wednesday 20th

In a bid to stop my brain becoming fried by bugs and problems, my attention turned towards the Map I/O routine and, specifically, adding the map dimensions to the Map files. This was a fairly quick process, and after converting all of my test maps to this new system, I set about the error handling code.

Basically, if the user chooses to load in a Map that is different in size to the current project, they can either opt to resize the map, or to 'force load' the map into the current project (which may result in cropping if the map being loaded is bigger than the project).

After some tinkering, and a couple of tweaks to my Resize Map routine (which I added a few weeks ago), the system was up and running; all that remains is to write the force-load routine.