rename #wizlevelflip to #wizfliplevel
Since ^V is dead key for me with Qt on OSX, I use #wizlevelport instead. It's annoying to have to type all the way up to the 'p' for it to become distinct. Rename the biggest conflict, \#wizlevelflip to #wizfliplevel. I still have to type as far as the first 'e' for #wizlevelport but 6 characters are easier to type than 10. It wasn't in the Guidebook so I've left things that way. I am adding it to 'wizhelp' though.
This commit is contained in:
12
src/cmd.c
12
src/cmd.c
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.7 cmd.c $NHDT-Date: 1602621705 2020/10/13 20:41:45 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.423 $ */
|
||||
/* NetHack 3.7 cmd.c $NHDT-Date: 1605779800 2020/11/19 09:56:40 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.425 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Robert Patrick Rankin, 2013. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -141,7 +141,7 @@ static int NDECL(wiz_polyself);
|
||||
static int NDECL(wiz_load_lua);
|
||||
static int NDECL(wiz_level_tele);
|
||||
static int NDECL(wiz_level_change);
|
||||
static int NDECL(wiz_level_flip);
|
||||
static int NDECL(wiz_flip_level);
|
||||
static int NDECL(wiz_show_seenv);
|
||||
static int NDECL(wiz_show_vision);
|
||||
static int NDECL(wiz_smell);
|
||||
@@ -1061,9 +1061,9 @@ wiz_level_tele(VOID_ARGS)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* #wizlevelflip - transpose the current level */
|
||||
/* #wizfliplevel - transpose the current level */
|
||||
static int
|
||||
wiz_level_flip(VOID_ARGS)
|
||||
wiz_flip_level(VOID_ARGS)
|
||||
{
|
||||
static const char choices[] = "0123",
|
||||
prmpt[] = "Flip 0=randomly, 1=vertically, 2=horizonally, 3=both:";
|
||||
@@ -1943,14 +1943,14 @@ struct ext_func_tab extcmdlist[] = {
|
||||
#endif
|
||||
{ C('e'), "wizdetect", "reveal hidden things within a small radius",
|
||||
wiz_detect, IFBURIED | AUTOCOMPLETE | WIZMODECMD },
|
||||
{ '\0', "wizfliplevel", "flip the level",
|
||||
wiz_flip_level, IFBURIED | WIZMODECMD },
|
||||
{ C('g'), "wizgenesis", "create a monster",
|
||||
wiz_genesis, IFBURIED | AUTOCOMPLETE | WIZMODECMD },
|
||||
{ C('i'), "wizidentify", "identify all items in inventory",
|
||||
wiz_identify, IFBURIED | AUTOCOMPLETE | WIZMODECMD },
|
||||
{ '\0', "wizintrinsic", "set an intrinsic",
|
||||
wiz_intrinsic, IFBURIED | AUTOCOMPLETE | WIZMODECMD },
|
||||
{ '\0', "wizlevelflip", "flip the level",
|
||||
wiz_level_flip, IFBURIED | WIZMODECMD },
|
||||
{ C('v'), "wizlevelport", "teleport to another level",
|
||||
wiz_level_tele, IFBURIED | AUTOCOMPLETE | WIZMODECMD },
|
||||
{ '\0', "wizloaddes", "load and execute a des-file lua script",
|
||||
|
||||
Reference in New Issue
Block a user