directions (trunk only)

Some groundwork useful for the interface code I've been working on.
If we already have some direction to name-of-direction code somewhere, I
couldn't find it.
This commit is contained in:
nethack.rankin
2007-02-22 05:24:05 +00:00
parent dd66bff416
commit dae9a9de82
3 changed files with 18 additions and 4 deletions

View File

@@ -194,6 +194,7 @@ E void FDECL(dtoxy, (coord *,int));
E int FDECL(movecmd, (CHAR_P));
E int FDECL(getdir, (const char *));
E void NDECL(confdir);
E const char *FDECL(directionname, (int));
E int FDECL(isok, (int,int));
E int FDECL(get_adjacent_loc, (const char *, const char *, XCHAR_P, XCHAR_P, coord *));
E const char *FDECL(click_to_cmd, (int,int,int));