git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2002 c06c8d41-db1a-0410-9941-cceddc491573
LZBHBSCXDX2JKU2BSO5QP3WDHFIGHPXK4CKUZV6FWYDRFWLQK26QC
X6JIHUW4GZTWTNA7U6TTHRO4P2I7GNSS7TQDPQWVTIHBIG4NVWXQC
ESWIM76FGJL4QFLSHU6AC4D74PT7OPLQ7ZCJYWLZS5UCBAJDXYHAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
IXVKL2SINZN4DMJSZSYFVK5YLGSBGV4KCN7GKYQL7SZQDCM3S7YQC
JVSCP4FTW2G57C6YD5HZOZXTODGZH7TR75JQGFJBEPX3LCZH236QC
describe_item( you.inv[item_slot] );
describe_item( you.inv[item_slot], true );
describe_item( you.inv[invidx] );
describe_item( you.inv[invidx], true );
void describe_item( item_def &item );
void describe_item( item_def &item, bool allow_inscribe = false );
void describe_item( item_def &item )
void describe_item( item_def &item, bool allow_inscribe )
gotoxy(1, wherey() + 2); formatted_string::parse_string("<cyan>Do you wish to inscribe this item? ").display(); if (toupper(getch()) == 'Y')
gotoxy(1, wherey() + 2);
formatted_string::parse_string("<cyan>Do you wish to inscribe this item? ").display();
if (toupper(getch()) == 'Y')
if (allow_inscribe)
char buf[79]; cprintf("\nInscribe with what? "); if (!cancelable_get_line(buf, sizeof buf))
char buf[79];
cprintf("\nInscribe with what? ");
if (!cancelable_get_line(buf, sizeof buf))
item.inscription = std::string(buf);
char buf[79]; cprintf("\nInscribe with what? "); if (!cancelable_get_line(buf, sizeof buf)) { item.inscription = std::string(buf); }
{
}
else if (getch() == 0) getch();
else if (getch() == 0)
getch();