From 649fdb1c512e9608aa05c99a08b867c8758eeaf8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 15 Jun 2013 19:25:09 +0300 Subject: Add support for monster look. --- src/resources/beinginfo.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/resources/beinginfo.h') diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h index e62dda149..d94e3db30 100644 --- a/src/resources/beinginfo.h +++ b/src/resources/beinginfo.h @@ -25,6 +25,7 @@ #include "actorsprite.h" +#include "resources/colordb.h" #include "resources/cursor.h" #include "resources/soundinfo.h" @@ -207,6 +208,10 @@ class BeingInfo final void setHeight(const int n) { mHeight = n; } + void setColorsList(const std::string &name); + + std::string getColor(const int idx) const; + static void init(); static void clear(); @@ -220,6 +225,7 @@ class BeingInfo final Attacks mAttacks; unsigned char mWalkMask; Map::BlockType mBlockType; + const std::map *mColors; int mTargetOffsetX; int mTargetOffsetY; int mMaxHP; -- cgit v1.2.3-70-g09d2