summaryrefslogtreecommitdiff
path: root/src/flooritem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-16 13:57:49 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-16 13:57:49 +0300
commit29a39909e3f53305c4e29fdcba863f94603b8763 (patch)
tree54681b323307085e5f1fce7f8a5b341c50b63f49 /src/flooritem.h
parent41cc92f73e39cec5dfea6b1164176610cccc7df4 (diff)
downloadplus-29a39909e3f53305c4e29fdcba863f94603b8763.tar.gz
plus-29a39909e3f53305c4e29fdcba863f94603b8763.tar.bz2
plus-29a39909e3f53305c4e29fdcba863f94603b8763.tar.xz
plus-29a39909e3f53305c4e29fdcba863f94603b8763.zip
Add missing fields into flooritem.
Diffstat (limited to 'src/flooritem.h')
-rw-r--r--src/flooritem.h7
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;
};