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.
|
Default key is \(oqM-C\(cq.
|
||||||
.lp ""
|
.lp ""
|
||||||
See the section below entitled \(lqConduct\(rq for details.
|
See the section below entitled \(lqConduct\(rq for details.
|
||||||
|
.lp #debugfuzzer
|
||||||
|
Start the fuzz tester.
|
||||||
|
Debug mode only.
|
||||||
.lp "#dip "
|
.lp "#dip "
|
||||||
Dip an object into something.
|
Dip an object into something.
|
||||||
Autocompletes.
|
Autocompletes.
|
||||||
|
|||||||
@@ -1350,6 +1350,10 @@ Default key is `{\tt M-C}'.\\
|
|||||||
%.lp ""
|
%.lp ""
|
||||||
See the section below entitled ``Conduct'' for details.
|
See the section below entitled ``Conduct'' for details.
|
||||||
%.lp
|
%.lp
|
||||||
|
\item[\tb{\#debugfuzzer}]
|
||||||
|
Start the fuzz tester.
|
||||||
|
Debug mode only.
|
||||||
|
%.lp
|
||||||
\item[\tb{\#dip}]
|
\item[\tb{\#dip}]
|
||||||
Dip an object into something. Autocompletes. Default key is `{\tt M-d}'.\\
|
Dip an object into something. Autocompletes. Default key is `{\tt M-d}'.\\
|
||||||
%.lp ""
|
%.lp ""
|
||||||
|
|||||||
+1
-1
@@ -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
|
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
|
when breaking a wand of sleep hits the hero with the explosion, don't describe
|
||||||
that as "the sleep ray hits you"
|
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
|
monsters which cannot move due to boulders or walls try to escape
|
||||||
intelligent monsters see and remember when others trigger traps
|
intelligent monsters see and remember when others trigger traps
|
||||||
|
|
||||||
|
|||||||
@@ -1539,13 +1539,13 @@ wiz_panic(void)
|
|||||||
return ECMD_OK;
|
return ECMD_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* #fuzzer command - fuztest the program */
|
/* #debugfuzzer command - fuzztest the program */
|
||||||
static int
|
static int
|
||||||
wiz_fuzzer(void)
|
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.");
|
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 */
|
iflags.debug_fuzzer = TRUE; /* Thoth, take the reins */
|
||||||
return ECMD_OK;
|
return ECMD_OK;
|
||||||
}
|
}
|
||||||
@@ -2504,6 +2504,8 @@ struct ext_func_tab extcmdlist[] = {
|
|||||||
doclose, 0, NULL },
|
doclose, 0, NULL },
|
||||||
{ M('C'), "conduct", "list voluntary challenges you have maintained",
|
{ M('C'), "conduct", "list voluntary challenges you have maintained",
|
||||||
doconduct, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
|
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",
|
{ M('d'), "dip", "dip an object into something",
|
||||||
dodip, AUTOCOMPLETE | CMD_M_PREFIX, NULL },
|
dodip, AUTOCOMPLETE | CMD_M_PREFIX, NULL },
|
||||||
{ '>', "down", "go down a staircase",
|
{ '>', "down", "go down a staircase",
|
||||||
@@ -2531,8 +2533,6 @@ struct ext_func_tab extcmdlist[] = {
|
|||||||
dofire, 0, NULL },
|
dofire, 0, NULL },
|
||||||
{ M('f'), "force", "force a lock",
|
{ M('f'), "force", "force a lock",
|
||||||
doforce, AUTOCOMPLETE, NULL },
|
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",
|
{ ';', "glance", "show what type of thing a map symbol corresponds to",
|
||||||
doquickwhatis, IFBURIED | GENERALCMD, NULL },
|
doquickwhatis, IFBURIED | GENERALCMD, NULL },
|
||||||
{ '?', "help", "give a help message",
|
{ '?', "help", "give a help message",
|
||||||
|
|||||||
Reference in New Issue
Block a user