Monday, 15 March 2010

In the firing line

The Unangband 0.6.4 final release is taking a long time to finish. The number of bugs appears to be multiplying and I'm stuck trying to tweak the line of fire algorithm so that it handles some not uncommon edge cases while avoiding breaking it completely.

The problem is that the line of fire algorithm must trace as permissive a path as possible between the source and target - permissive in the sense of avoiding to collide with walls when possible - while allowing for line of fire attacks which are intended to collide with walls e.g. stone to mud. The code I have is based on an earlier version of Sangband's line of fire algorithm. Updating it to the latest version doesn't work.

This is taking what spare time I have available at the moment.


Mike said...

If it's not too late, could you please add SDL support? The X11 display appears not to work and this leaves no graphical support for the Linux port.

Andrew Doull said...

Mike: Putting that on the list... I suspect too late for whenever I eventually release 0.6.4.