Appendix hotkeys now work.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1005 c06c8d41-db1a-0410-9941-cceddc491573
65CM2EZCAFFBWLAYZ7ALBV3BQKNZCYOHYIFY46KU7BZL3LHV36JAC
S32TDWCH5D5MVJTHTYQTRAU5GR4AMMVHCICEPFIHAE5BA5ZUKKTAC
FNNHPDRUNN3NT34PMF7NRS2GNRAVL2XUUS2UVN5EB3BHUV23ERYQC
7NFVYCNQ54IN77PF334ADAF4YQT6LEABMAIZF4Y4BH5C3CYXYQGQC
SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC
LAMIVDKY7LO5ONX5Z273ZCCEA5UBENOJD5VWNE4AK2EXGFED6BFQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
NXVPOFYKJFWQWKVPQUMWH2Y2KJEZX44BUOBFJ4JD4KFGPEGYHG4QC
RC6L3CIBLJEH4GWRFD7UQNGI6PZT74FRUVOYHSAN2XCC74NZUASQC
me->add_hotkey(is_first ? first_hotkey : tolower(buf[0]));
int hotkey = is_first ? first_hotkey : tolower(buf[0]);
if ( !is_first && buf[0] == 'X' &&
strlen(buf) >= 3 && isdigit(buf[2]) )
{
// X.# is hotkeyed to the #
hotkey = buf[2];
}
me->add_hotkey(hotkey);
"<w>%</w>: Table of Aptitudes\n",
"<w>!</w>: Options help\n"
"<w>%</w>: Table of aptitudes\n"
"<w>Home</w>: This screen\n",
true, true, cmdhelp_textfilter);
cols.add_formatted(
1,
"Manual Contents\n\n"
"<w>*</w> Table of contents\n"
"<w>A</w>. Overview\n"
"<w>B</w>. Starting Screen\n"
"<w>C</w>. Abilities and Stats\n"
"<w>D</w>. Dungeon Exploration\n"
"<w>E</w>. Experience and Skills\n"
"<w>F</w>. Monsters\n"
"<w>G</w>. Items\n"
"<w>H</w>. Spellcasting\n"
"<w>I</w>. Religion\n"
"<w>J</w>. Mutations\n"
"<w>K</w>. Keymaps, Macros, Options\n"
"<w>L</w>. Licence, Contact, History\n"
"<w>M</w>. Philosophy\n"
"<w>1</w>. List of Species\n"
"<w>2</w>. List of Classes\n"
"<w>3</w>. List of Skills\n"
"<w>4</w>. Keys and Commands\n"
"<w>5</w>. List of Enchantments\n",