From 07c9e6360ac16c96b8624a4b0bf4557ae295699d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 8 Mar 2011 06:06:50 +0200 Subject: Replace %color% and %Color% constants in item names/descriptions. --- src/item.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index a5982c98e..29700f27a 100644 --- a/src/item.h +++ b/src/item.h @@ -161,6 +161,9 @@ class Item unsigned char getColor() const { return mColor; } + std::string &getDescription() + { return mDescription; } + protected: int mId; /**< Item type id. */ Image *mImage; /**< Item image. */ @@ -171,6 +174,7 @@ class Item bool mInEquipment; /**< Item is in equipment */ int mRefine; /**< Item refine level. */ int mInvIndex; /**< Inventory index. */ + std::string mDescription; unsigned char mColor; std::map mTags; }; -- cgit v1.2.3-70-g09d2