diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-08 16:07:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-08 16:07:07 +0300 |
commit | 8ac687d770f3a8f13f9e0a50909b435933c86f6b (patch) | |
tree | 18d2b51363d7f731f7f8383b2bce5c6c354507fc /src/being/being.h | |
parent | 83b27b146211fe301f751a6aed27e22271190795 (diff) | |
download | mv-8ac687d770f3a8f13f9e0a50909b435933c86f6b.tar.gz mv-8ac687d770f3a8f13f9e0a50909b435933c86f6b.tar.bz2 mv-8ac687d770f3a8f13f9e0a50909b435933c86f6b.tar.xz mv-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.h | 5 |
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, |