diff options
| author | Japa Illo | 2012-02-27 01:32:50 +0530 |
|---|---|---|
| committer | Japa Illo | 2012-02-27 01:32:50 +0530 |
| commit | 93cc5ad961a9067a1a407b52a0cc96dbef1f7cfb (patch) | |
| tree | 21fe71bc60f0bf451504c10fae34562e8e4afee6 /Block.h | |
| parent | bf1094b4d195b24acecf947770346623d3a399b5 (diff) | |
| download | stonesense-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.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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:
};
|
