Small additions to Beogh.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1589 c06c8d41-db1a-0410-9941-cceddc491573
YQ5IYBHW2ICYKOC2M6CI5BNOZKST3DIMMZRQN72LUQCHDAPVYQCQC J75GZPQLMV3NRQ6KP7FXHZXJ63L62NFGVNPVK7XFM65XLFQP5CUQC CQ24AVAI6SW3AHTIDMLPSTRRBEU6FHRF5I5FD6G5QIYE6PO4BQMQC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC IHIJSWVOONSTA2WCHKW3YKBLETUQECFVBVLMET5SGQZ4C6U3GCUQC 77H4BWWPPGLM3PLZH4QTAJRXIZTSDVNCOKZE223I437FN2UJ34RQC 7NDXS36TE7QVXTXJWMYSVG5UHCCLPIO4VL6NXFGTDK3ZNKE3A2IAC RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC LOJYD6QZRNLNDDZJKVBMKQIBPTKSRN2ETCYGNVV47M7L3QLUJUJAC SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC WXSNNK2RXP3DQFAEQGQUZJHFWXJC7ZKG2WURZGL566UDM4YXFSWQC }void tut_describe_abilities(){const int bottom_line = (get_number_of_lines() > 30) ? 30 : get_number_of_lines();textcolor(MAGENTA);gotoxy(1, bottom_line-5);std::string text ="This screen shows your character's set of talents. You can gain new " EOL"abilities via certain items, through religion or by way of mutations. " EOL"Activation of an ability usually comes at a cost, e.g. nutrition or " EOL"Magic power. ";if (you.religion == GOD_TROG) text +="<w>Renounce Religion<magenta> will make your character leave your god" EOL"(and usually anger said god), while <w>Berserk<magenta> temporarily increases your" EOL"damage output in melee fights.";formatted_string::parse_block(text, false).display();
std::vector<MenuEntry *> Menu::show_ab(bool reuse_selections){cursor_control cs(false);if (reuse_selections)get_selected(&sel);elsedeselect_all(false);// Lose lines for the title + room for -more- line.pagesize = get_number_of_lines() - !!title - 1;if (max_pagesize > 0 && pagesize > max_pagesize)pagesize = max_pagesize;do_menu_ab();
const int bottom_line = (get_number_of_lines() > 30) ? 30 : get_number_of_lines();textcolor(MAGENTA);gotoxy(1, bottom_line-5);std::string text ="This screen shows your character's set of talents. You can gain new " EOL"abilities via certain items, through religion or by way of mutations. " EOL"Activation of an ability usually comes at a cost, e.g. nutrition or " EOL"Magic power. ";if (you.religion == GOD_TROG) text +="<w>Renounce Religion<magenta> will make your character leave your god" EOL"(and usually anger said god), while <w>Berserk<magenta> temporarily increases your" EOL"damage output in melee fights.";formatted_string::parse_block(text, false).display();}alive = true;while (alive){int keyin = getchm(c_getch);if (!process_key( keyin ))return;
tut_describe_abilities();