Allow m-prefixing #annotate
This is the same as m-prefixing #overview
This commit is contained in:
@@ -1247,6 +1247,9 @@ Autocompletes.
|
|||||||
Default key is \(oqM-A\(cq, and also \(oq\(haN\(cq if
|
Default key is \(oqM-A\(cq, and also \(oq\(haN\(cq if
|
||||||
.op number_pad
|
.op number_pad
|
||||||
is on.
|
is on.
|
||||||
|
.lp ""
|
||||||
|
Preceding #annotate with the \(oqm\(cq prefix is the same as
|
||||||
|
#overview with the prefix.
|
||||||
.lp "#apply "
|
.lp "#apply "
|
||||||
Apply (use) a tool such as a pick-axe, a key, or a lamp.
|
Apply (use) a tool such as a pick-axe, a key, or a lamp.
|
||||||
Default key is \(oqa\(cq.
|
Default key is \(oqa\(cq.
|
||||||
|
|||||||
@@ -1286,6 +1286,10 @@ dungeon level. All levels with annotations are displayed by the
|
|||||||
``\texttt{\#overview}'' command. Autocompletes.
|
``\texttt{\#overview}'' command. Autocompletes.
|
||||||
Default key is `\texttt{M-A}',
|
Default key is `\texttt{M-A}',
|
||||||
and also `\texttt{\textasciicircum N}' if \textit{number\textunderscore pad} is on.
|
and also `\texttt{\textasciicircum N}' if \textit{number\textunderscore pad} is on.
|
||||||
|
\\
|
||||||
|
%.lp ""
|
||||||
|
Preceding \#annotate with the `\texttt{m}' prefix is the same as
|
||||||
|
\#overview with the prefix.
|
||||||
%.lp
|
%.lp
|
||||||
\item[\#apply]
|
\item[\#apply]
|
||||||
Apply (use) a tool such as a pick-axe, a key, or a lamp.
|
Apply (use) a tool such as a pick-axe, a key, or a lamp.
|
||||||
|
|||||||
@@ -1673,7 +1673,7 @@ struct ext_func_tab extcmdlist[] = {
|
|||||||
{ M('a'), "adjust", "adjust inventory letters",
|
{ M('a'), "adjust", "adjust inventory letters",
|
||||||
doorganize, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
|
doorganize, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
|
||||||
{ M('A'), "annotate", "name current level",
|
{ M('A'), "annotate", "name current level",
|
||||||
donamelevel, IFBURIED | AUTOCOMPLETE | GENERALCMD, NULL },
|
donamelevel, IFBURIED | AUTOCOMPLETE | GENERALCMD | CMD_M_PREFIX, NULL },
|
||||||
{ 'a', "apply", "apply (use) a tool (pick-axe, key, lamp...)",
|
{ 'a', "apply", "apply (use) a tool (pick-axe, key, lamp...)",
|
||||||
doapply, CMD_M_PREFIX, NULL },
|
doapply, CMD_M_PREFIX, NULL },
|
||||||
{ C('x'), "attributes", "show your attributes",
|
{ C('x'), "attributes", "show your attributes",
|
||||||
|
|||||||
@@ -2564,6 +2564,8 @@ query_annotation(d_level *lev)
|
|||||||
int
|
int
|
||||||
donamelevel(void)
|
donamelevel(void)
|
||||||
{
|
{
|
||||||
|
if (iflags.menu_requested)
|
||||||
|
return dooverview();
|
||||||
query_annotation((d_level *) 0);
|
query_annotation((d_level *) 0);
|
||||||
return ECMD_OK;
|
return ECMD_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user