View Single Post
Old December 21, 2008, 23:22   #5
andrewdoull
Unangband maintainer
 
andrewdoull's Avatar
 
Join Date: Apr 2007
Location: Sydney, Australia
Age: 44
Posts: 872
andrewdoull is on a distinguished road
Quote:
Originally Posted by d_m View Post
Based on the code, it seems like rewriting the look/target code to pay attention to what kind of spell/attack the user is doing will be kind of hard.
I've done this for Unangband, and it requires a surprising amount of rearchitecting of the whole code base... I'd need to look at the current Angband code for this area as Unangband diverged some time ago and I know there have been a number of changes here on the vanilla side of things as well.

Ironically the changes to the project and targetting parts of the code are relatively straight forward. It's getting all the spells/attacks defined in a way that allows you to specify how the spell projects and aims that is the hard part.

Andrew
__________________
The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more-
In UnAngband, the level dives you.
ASCII Dreams: http://roguelikedeveloper.blogspot.com
Unangband: http://unangband.blogspot.com
andrewdoull is offline   Reply With Quote