summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-08 16:07:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-08 16:07:07 +0300
commit8ac687d770f3a8f13f9e0a50909b435933c86f6b (patch)
tree18d2b51363d7f731f7f8383b2bce5c6c354507fc /src/being/being.h
parent83b27b146211fe301f751a6aed27e22271190795 (diff)
downloadmanaverse-8ac687d770f3a8f13f9e0a50909b435933c86f6b.tar.gz
manaverse-8ac687d770f3a8f13f9e0a50909b435933c86f6b.tar.bz2
manaverse-8ac687d770f3a8f13f9e0a50909b435933c86f6b.tar.xz
manaverse-8ac687d770f3a8f13f9e0a50909b435933c86f6b.zip
Add support for getting sprite color by cards in Being.
But for now mostly unused.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/being/being.h b/src/being/being.h
index b71f38c0a..5c9f7115d 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -322,9 +322,10 @@ class Being notfinal : public ActorSprite,
void setSprite(const unsigned int slot,
const int id,
std::string color = "",
- const ItemColor colorId = ItemColor_one,
+ ItemColor colorId = ItemColor_one,
const IsWeapon isWeapon = IsWeapon_false,
- const IsTempSprite isTempSprite = IsTempSprite_false)
+ const IsTempSprite isTempSprite = IsTempSprite_false,
+ const int *const cards = nullptr)
restrict2;
void updateSprite(const unsigned int slot,