summaryrefslogtreecommitdiff
path: root/src/flooritem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-24 01:39:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-24 01:39:45 +0300
commit07a9b9009f7b05fc39540430fa6639b493ed9829 (patch)
treebe4049d169daffd99122ecdc99ab0d0e974f54a5 /src/flooritem.h
parentbedfca1c1cb893c937d317dd658067166e9953e0 (diff)
downloadplus-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.gz
plus-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.bz2
plus-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.xz
plus-07a9b9009f7b05fc39540430fa6639b493ed9829.zip
Add damaged attribute to floor items.
Diffstat (limited to 'src/flooritem.h')
-rw-r--r--src/flooritem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/flooritem.h b/src/flooritem.h
index d2cfa2c26..3e203adbd 100644
--- a/src/flooritem.h
+++ b/src/flooritem.h
@@ -23,6 +23,7 @@
#ifndef FLOORITEM_H
#define FLOORITEM_H
+#include "enums/simpletypes/damaged.h"
#include "enums/simpletypes/identified.h"
#include "enums/simpletypes/itemcolor.h"
@@ -56,6 +57,7 @@ class FloorItem final : public ActorSprite
const int refine,
const ItemColor color,
const Identified identified,
+ const Damaged damaged,
const int *const cards);
A_DELETE_COPY(FloorItem)
@@ -126,6 +128,7 @@ class FloorItem final : public ActorSprite
Cursor::Cursor mCursor;
ItemColor mColor;
Identified mIdentified;
+ Damaged mDamaged;
bool mShowMsg;
bool mHighlight;
};