From 07a9b9009f7b05fc39540430fa6639b493ed9829 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 24 Aug 2015 01:39:45 +0300 Subject: Add damaged attribute to floor items. --- src/flooritem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/flooritem.h') 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; }; -- cgit v1.2.3-60-g2f50