summaryrefslogtreecommitdiff
path: root/Block.h
diff options
context:
space:
mode:
authorJapa Illo2012-02-27 01:32:50 +0530
committerJapa Illo2012-02-27 01:32:50 +0530
commit93cc5ad961a9067a1a407b52a0cc96dbef1f7cfb (patch)
tree21fe71bc60f0bf451504c10fae34562e8e4afee6 /Block.h
parentbf1094b4d195b24acecf947770346623d3a399b5 (diff)
downloadstonesense-93cc5ad961a9067a1a407b52a0cc96dbef1f7cfb.tar.gz
stonesense-93cc5ad961a9067a1a407b52a0cc96dbef1f7cfb.tar.bz2
stonesense-93cc5ad961a9067a1a407b52a0cc96dbef1f7cfb.tar.xz
Added ability to detect that the adventurer is covered in guts.
Signed-off-by: Japa Illo <japa.mala.illo@gmail.com>
Diffstat (limited to 'Block.h')
-rw-r--r--Block.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Block.h b/Block.h
index d2e11c2..1d82740 100644
--- a/Block.h
+++ b/Block.h
@@ -12,6 +12,12 @@ struct Effect
int16_t density;
};
+struct Worn_Item
+{
+ DFHack::t_matglossPair matt;
+ int8_t rating;
+};
+
class Block
{
public:
@@ -127,6 +133,15 @@ public:
bool obscuringCreature;
bool obscuringBuilding;
+ //These are actually applied to the creature standing here, but there's only one creature shown, so it's okay.
+ Worn_Item Weapon;
+ Worn_Item Armor;
+ Worn_Item Shoes;
+ Worn_Item Shield;
+ Worn_Item Helm;
+ Worn_Item Gloves;
+
+
private:
};