View Single Post
Old October 11, 2010, 22:30   #13
will_asher
DaJAngband Maintainer
 
will_asher's Avatar
 
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 927
Donated: $10
will_asher is on a distinguished road
Quote:
Originally Posted by Tiburon Silverflame View Post
The icky flag?
In the code, the CAVE_ICKY flag marks all vault spaces as being in a vault. So teleport blocking using the icky flag wouldn't have to check any actual paths or directions, it would only check whether the before and after locations of the teleport are inside a vault or not (which is much simpler than using paths or directions).

Sometimes it's easy for code-divers to speak in language that non code-divers don't understand.
__________________
Will_Asher

Play DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home
will_asher is offline   Reply With Quote