howmonseen - monster visibility (trunk only)

Pull some code out of lookat() so that it can be used elsewhere.
howmonseen(mon) returns a bitmask of the ways that hero can see mon.
This commit is contained in:
nethack.rankin
2007-05-12 01:30:00 +00:00
parent b805ba7bc3
commit 24f3e005f1
4 changed files with 103 additions and 79 deletions

View File

@@ -2402,6 +2402,7 @@ E void FDECL(unblock_point, (int,int));
E boolean FDECL(clear_path, (int,int,int,int));
E void FDECL(do_clear_area, (int,int,int,
void (*)(int,int,genericptr_t),genericptr_t));
E unsigned FDECL(howmonseen, (struct monst *));
#ifdef VMS