summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-20 16:40:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-20 16:40:24 +0300
commit1e9b7c519953c73c6e5ca4ce2169eb674267c115 (patch)
tree5e331bef424935c0f6d2a2291eb189cd50f68a3d /src/being.cpp
parentc63923c39572655f3d8e826b0fb2fd3ed253ae7f (diff)
downloadplus-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.gz
plus-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.bz2
plus-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.xz
plus-1e9b7c519953c73c6e5ca4ce2169eb674267c115.zip
fix style in other files.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index c5116039a..9411cbe8b 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -201,6 +201,7 @@ typedef std::map<int, int>::const_iterator IntMapCIter;
Being::Being(const int id, const Type type, const uint16_t subtype,
Map *const map) :
ActorSprite(id),
+ mNextSound(),
mInfo(BeingInfo::unknown),
mActionTime(0),
mEmotionSprite(nullptr),
@@ -214,12 +215,25 @@ Being::Being(const int id, const Type type, const uint16_t subtype,
mDirectionDelayed(0),
mSpriteDirection(DIRECTION_DOWN),
mSpriteAction(SpriteAction::STAND),
+ mName(),
+ mRaceName(),
+ mPartyName(),
+ mGuildName(),
mDispName(nullptr),
+ mNameColor(nullptr),
mShowName(false),
mEquippedWeapon(nullptr),
+ mPath(),
+ mSpeech(),
mText(nullptr),
+ mTextColor(nullptr),
mLevel(0),
+ mDest(),
+ mSpriteIDs(),
+ mSpriteColors(),
+ mSpriteColorsIds(),
mGender(GENDER_UNSPECIFIED),
+ mGuilds(),
mParty(nullptr),
mIsGM(false),
mAttackRange(1),
@@ -234,6 +248,11 @@ Being::Being(const int id, const Type type, const uint16_t subtype,
mDistance(0),
mIsReachable(REACH_UNKNOWN),
mGoodStatus(-1),
+ mMoveTime(0),
+ mAttackTime(0),
+ mTalkTime(0),
+ mOtherTime(0),
+ mTestTime(cur_time),
mErased(false),
mEnemy(false),
mIp(""),
@@ -281,7 +300,6 @@ Being::Being(const int id, const Type type, const uint16_t subtype,
setShowName(mShowName);
updateColors();
- resetCounters();
updatePercentHP();
}