Rename command to #debugfuzzer, add some z and doc
This commit is contained in:
@@ -1243,6 +1243,9 @@ Autocompletes.
|
||||
Default key is \(oqM-C\(cq.
|
||||
.lp ""
|
||||
See the section below entitled \(lqConduct\(rq for details.
|
||||
.lp #debugfuzzer
|
||||
Start the fuzz tester.
|
||||
Debug mode only.
|
||||
.lp "#dip "
|
||||
Dip an object into something.
|
||||
Autocompletes.
|
||||
|
||||
@@ -1350,6 +1350,10 @@ Default key is `{\tt M-C}'.\\
|
||||
%.lp ""
|
||||
See the section below entitled ``Conduct'' for details.
|
||||
%.lp
|
||||
\item[\tb{\#debugfuzzer}]
|
||||
Start the fuzz tester.
|
||||
Debug mode only.
|
||||
%.lp
|
||||
\item[\tb{\#dip}]
|
||||
Dip an object into something. Autocompletes. Default key is `{\tt M-d}'.\\
|
||||
%.lp ""
|
||||
|
||||
@@ -1011,7 +1011,7 @@ if a pet gelatinous cube eats a container, treat it the same as when a hostile
|
||||
one does: the container is destroyed but its conters are engulfed
|
||||
when breaking a wand of sleep hits the hero with the explosion, don't describe
|
||||
that as "the sleep ray hits you"
|
||||
expose fuz tester to wizard-mode as #fuzzer extended command
|
||||
expose fuzz tester to wizard-mode as #debugfuzzer extended command
|
||||
monsters which cannot move due to boulders or walls try to escape
|
||||
intelligent monsters see and remember when others trigger traps
|
||||
|
||||
|
||||
10
src/cmd.c
10
src/cmd.c
@@ -1539,13 +1539,13 @@ wiz_panic(void)
|
||||
return ECMD_OK;
|
||||
}
|
||||
|
||||
/* #fuzzer command - fuztest the program */
|
||||
/* #debugfuzzer command - fuzztest the program */
|
||||
static int
|
||||
wiz_fuzzer(void)
|
||||
{
|
||||
pline("The fuz tester will make NetHack execute random keypresses.");
|
||||
pline("The fuzz tester will make NetHack execute random keypresses.");
|
||||
pline("There is no conventional way out of this mode.");
|
||||
if (paranoid_query(TRUE, "Do you want to start fuz testing?"))
|
||||
if (paranoid_query(TRUE, "Do you want to start fuzz testing?"))
|
||||
iflags.debug_fuzzer = TRUE; /* Thoth, take the reins */
|
||||
return ECMD_OK;
|
||||
}
|
||||
@@ -2504,6 +2504,8 @@ struct ext_func_tab extcmdlist[] = {
|
||||
doclose, 0, NULL },
|
||||
{ M('C'), "conduct", "list voluntary challenges you have maintained",
|
||||
doconduct, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
|
||||
{ '\0', "debugfuzzer", "start the fuzz tester",
|
||||
wiz_fuzzer, IFBURIED | WIZMODECMD | NOFUZZERCMD, NULL },
|
||||
{ M('d'), "dip", "dip an object into something",
|
||||
dodip, AUTOCOMPLETE | CMD_M_PREFIX, NULL },
|
||||
{ '>', "down", "go down a staircase",
|
||||
@@ -2531,8 +2533,6 @@ struct ext_func_tab extcmdlist[] = {
|
||||
dofire, 0, NULL },
|
||||
{ M('f'), "force", "force a lock",
|
||||
doforce, AUTOCOMPLETE, NULL },
|
||||
{ '\0', "fuzzer", "start the fuz tester",
|
||||
wiz_fuzzer, IFBURIED | WIZMODECMD | NOFUZZERCMD, NULL },
|
||||
{ ';', "glance", "show what type of thing a map symbol corresponds to",
|
||||
doquickwhatis, IFBURIED | GENERALCMD, NULL },
|
||||
{ '?', "help", "give a help message",
|
||||
|
||||
Reference in New Issue
Block a user