I sent the Abiathar v2.9 release candidate along with the Rise of the Triad extension off to a tester a couple days ago. I received feedback that it works, but there is one bug. Adding a new level crashed Abiathar. The tester was very helpful: he attached the crash log, so I saw exactly what happened. When the Level | Add menu item is selected, the level properties dialog is set up with some defaults, specifically a default size of 40x40. For Rise of the Triad, that's not an acceptable level size, so those fields were already configured with a minimum and maximum, causing an error when attempting to set those values.
Fixing the crash was a simple matter of clamping the default of 40 to each dimension's acceptable range. I also happened to notice that the Import feature (for single-level files) didn't check the dimensions of the level against the size restrictions of the level format. It does now, so that there will be an error immediately instead of at save time.
No comments:
Post a Comment