wrong rearrangement fixes

misleading comments fixed
deque
Marco Melletti 10 years ago
parent e1393ad2df
commit 9b6faa2ffa

@ -16,8 +16,10 @@ namespace ESM
struct AIData struct AIData
{ {
char mU1, mU2, mU3, mU4; // Unknown values unsigned char mHello;
unsigned char mHello, mFight, mFlee, mAlarm; // These are probabilities [0, 100] char mU1;
unsigned char mFight, mFlee, mAlarm; // These are probabilities [0, 100]
char mU2, mU3, mU4; // Unknown values
int mServices; // See the Services enum int mServices; // See the Services enum
void blank(); void blank();

@ -46,7 +46,7 @@ enum PartReferenceType
// Reference to body parts // Reference to body parts
struct PartReference struct PartReference
{ {
unsigned char mPart; // declared values [0, 26] unsigned char mPart; // possible values [0, 26]
std::string mMale, mFemale; std::string mMale, mFemale;
}; };

@ -80,14 +80,13 @@ struct NPC
mPersonality, mPersonality,
mLuck; mLuck;
// mSkill cang grow up to 200, it must be unsigned // mSkill can grow up to 200, it must be unsigned
unsigned char mSkills[Skill::Length]; unsigned char mSkills[Skill::Length];
// reputation values does not char mFactionID;
char mUnknown1;
unsigned short mHealth, mMana, mFatigue; unsigned short mHealth, mMana, mFatigue;
signed char mDisposition, mReputation, mRank; signed char mDisposition, mReputation, mRank;
char mUnknown2; char mUnknown;
int mGold; int mGold;
}; // 52 bytes }; // 52 bytes
@ -95,7 +94,7 @@ struct NPC
{ {
short mLevel; short mLevel;
// see above // see above
signed char mReputation, mDisposition, mRank; signed char mDisposition, mReputation, mRank;
char mUnknown1, mUnknown2, mUnknown3; char mUnknown1, mUnknown2, mUnknown3;
int mGold; int mGold;
}; // 12 bytes }; // 12 bytes

Loading…
Cancel
Save