diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-16 13:57:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-16 13:57:49 +0300 |
commit | 29a39909e3f53305c4e29fdcba863f94603b8763 (patch) | |
tree | 54681b323307085e5f1fce7f8a5b341c50b63f49 /src/flooritem.h | |
parent | 41cc92f73e39cec5dfea6b1164176610cccc7df4 (diff) | |
download | manaplus-29a39909e3f53305c4e29fdcba863f94603b8763.tar.gz manaplus-29a39909e3f53305c4e29fdcba863f94603b8763.tar.bz2 manaplus-29a39909e3f53305c4e29fdcba863f94603b8763.tar.xz manaplus-29a39909e3f53305c4e29fdcba863f94603b8763.zip |
Add missing fields into flooritem.
Diffstat (limited to 'src/flooritem.h')
-rw-r--r-- | src/flooritem.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/flooritem.h b/src/flooritem.h index fe0bd26ad..b6310e419 100644 --- a/src/flooritem.h +++ b/src/flooritem.h @@ -23,6 +23,7 @@ #ifndef FLOORITEM_H #define FLOORITEM_H +#include "enums/simpletypes/identified.h" #include "enums/simpletypes/itemcolor.h" #include "being/actorsprite.h" @@ -50,8 +51,10 @@ class FloorItem final : public ActorSprite FloorItem(const BeingId id, const int itemId, const int x, const int y, + const int itemType, const int amount, - const ItemColor color); + const ItemColor color, + const Identified identified); A_DELETE_COPY(FloorItem) @@ -111,9 +114,11 @@ class FloorItem final : public ActorSprite int mDropTime; int mAmount; int mHeightPosDiff; + int mItemType; unsigned int mPickupCount; Cursor::Cursor mCursor; ItemColor mColor; + Identified mIdentified; bool mShowMsg; bool mHighlight; }; |