wizmode level teleport via menu

If you answer '?' to the level teleport prompt
in debug mode, you get a menu to choose
from, similar to the control-O print_dungeon
display.
This commit is contained in:
nethack.allison
2003-08-17 19:10:52 +00:00
parent 95e4443c11
commit 82e8dd3247
6 changed files with 86 additions and 15 deletions

View File

@@ -505,7 +505,7 @@ E boolean FDECL(Invocation_lev, (d_level *));
E xchar NDECL(level_difficulty);
E schar FDECL(lev_by_name, (const char *));
#ifdef WIZARD
E void NDECL(print_dungeon);
E schar FDECL(print_dungeon, (BOOLEAN_P));
#endif
/* ### eat.c ### */

View File

@@ -13,6 +13,7 @@ typedef union any {
struct obj *a_obj;
int a_int;
char a_char;
schar a_schar;
/* add types as needed */
} anything;
#define ANY_P union any /* avoid typedef in prototypes */