summaryrefslogtreecommitdiff
path: root/src/flooritem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-16 18:35:06 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-16 19:43:03 +0300
commit3242aa80fbee19eb421ace68d1c3c69e4fc777e6 (patch)
tree50cc1b2e47953c20059183889e667f673ba7e4c2 /src/flooritem.h
parentd207e52ab770681f8bd584c06dd9aa03096b71f5 (diff)
downloadmv-3242aa80fbee19eb421ace68d1c3c69e4fc777e6.tar.gz
mv-3242aa80fbee19eb421ace68d1c3c69e4fc777e6.tar.bz2
mv-3242aa80fbee19eb421ace68d1c3c69e4fc777e6.tar.xz
mv-3242aa80fbee19eb421ace68d1c3c69e4fc777e6.zip
Add packet SMSG_ITEM_VISIBLE2 0x0b18.
Change net version to 10.
Diffstat (limited to 'src/flooritem.h')
-rw-r--r--src/flooritem.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/flooritem.h b/src/flooritem.h
index b6310e419..ca4a5022e 100644
--- a/src/flooritem.h
+++ b/src/flooritem.h
@@ -53,8 +53,10 @@ class FloorItem final : public ActorSprite
const int x, const int y,
const int itemType,
const int amount,
+ const int refine,
const ItemColor color,
- const Identified identified);
+ const Identified identified,
+ const int *const cards);
A_DELETE_COPY(FloorItem)
@@ -108,11 +110,16 @@ class FloorItem final : public ActorSprite
Cursor::Cursor getHoverCursor() const A_WARN_UNUSED
{ return mCursor; }
+ void setCards(const int *const cards,
+ const int size);
+
private:
+ int mCards[4];
int mItemId;
int mX, mY;
int mDropTime;
int mAmount;
+ int mRefine;
int mHeightPosDiff;
int mItemType;
unsigned int mPickupCount;