git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8146 c06c8d41-db1a-0410-9941-cceddc491573
BC4IUUXCTEFICYSWEDGVLHRZ4R4WQ3FMRRTFGACECQ6KHDK2GIXQC
2KTJHQUX2LTU2BCLS5YXVRRKMOYKKIZAPF2LBKORFGSHEN5IO3IAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
class DiscEntry : public InvEntry{public: DiscEntry(InvEntry* inv) : InvEntry(*inv->item) { } virtual std::string get_text() const { return std::string(" ") + item->name(DESC_PLAIN); }};
class DiscEntry : public InvEntry
{
public:
DiscEntry(InvEntry* inv) : InvEntry(*inv->item)
}
virtual std::string get_text() const
return std::string(" ") + item->name(DESC_PLAIN);
};
MenuEntry *newme = new MenuEntry; newme->text = std::string(" ") + ie->item->name(DESC_PLAIN); newme->quantity = 0;
MenuEntry *newme = new MenuEntry;
newme->text = std::string(" ") + ie->item->name(DESC_PLAIN);
newme->quantity = 0;
DiscEntry *newme = new DiscEntry(ie);