Kicked off by tackling the MiniMap / Meta system as mentioned in the previous entry; managed to eventually track down the problem and celebrated by slapping my forehead repeatedly for being so dumb. Basically, I have a eight variables, each of which stores a Flag value - this value gets checked against the Meta data for each tile, and if they match, the tile is printed on the MiniMap in the relevant colour.
However, the values I was assigning to the variables were in the range of 1-16 (eg. 1, 2, 3, 4, 5...), instead of the corresponding bit values (1, 2, 4, 8, 16...). Once I'd slipped in some code to convert these values, the system was working like a dream.
In the process, I tracked down a small bug associated with the Meta Panel which meant that drawing tools wouldn't function properly when the Meta Panel was being displayed. Luckily, it was just a case of moving a little chunk of code into the right set of checks.
Finished up the MiniMap / Meta system by allowing the user to click on the corresponding colour values to change them. The system is now wonderfully flexible: basically, each tile has 16 Flags (Meta Data); the Meta system allows a Flag value to have an associated colour and thus, any tiles which have that particular Flag set will be displayed on the MiniMap in the relevant colour.
Finished up by adding the MiniMap threshold input system, which allows the user to specify a start and end tile - anything in that range is displayed on the MiniMap. Now that all of the functionality is finished, the MiniMap system offers three different ways for the user to customise the MiniMap view (using Mask data, Meta data, or the threshold input). Who says I never cater for all tastes? :)
