From 64309d7a7dc6380d62fa11363073d4243cbfa665 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 18 Jan 2015 14:06:44 +0300 Subject: Convert player look variable format from 8 bit to 16 bit. --- src/being/being.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/being/being.h') diff --git a/src/being/being.h b/src/being/being.h index fab70ff8f..e11f36003 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -379,7 +379,7 @@ class Being notfinal : public ActorSprite, /** * Set Being's subtype (mostly for view for monsters and NPCs) */ - void setSubtype(const uint16_t subtype, const uint8_t look); + void setSubtype(const uint16_t subtype, const uint16_t look); const BeingInfo *getInfo() const A_WARN_UNUSED { return mInfo; } @@ -849,10 +849,10 @@ class Being notfinal : public ActorSprite, void playSfx(const SoundInfo &sound, Being *const being, const bool main, const int x, const int y) const; - uint8_t getLook() const + uint16_t getLook() const { return mLook; } - void setLook(const uint8_t look); + void setLook(const uint16_t look); static uint8_t genderToInt(const Gender::Type sex) A_WARN_UNUSED; @@ -1076,7 +1076,7 @@ class Being notfinal : public ActorSprite, int mUsageCounter; int mKarma; int mManner; - uint8_t mLook; + uint16_t mLook; unsigned char mHairColor; bool mErased; bool mEnemy; -- cgit v1.2.3-70-g09d2