mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 09:55:35 +00:00
wrong rearrangement fixes
misleading comments fixed
This commit is contained in:
parent
e1393ad2df
commit
9b6faa2ffa
@ -16,8 +16,10 @@ namespace ESM
|
||||
|
||||
struct AIData
|
||||
{
|
||||
char mU1, mU2, mU3, mU4; // Unknown values
|
||||
unsigned char mHello, mFight, mFlee, mAlarm; // These are probabilities [0, 100]
|
||||
unsigned char mHello;
|
||||
char mU1;
|
||||
unsigned char mFight, mFlee, mAlarm; // These are probabilities [0, 100]
|
||||
char mU2, mU3, mU4; // Unknown values
|
||||
int mServices; // See the Services enum
|
||||
|
||||
void blank();
|
||||
|
@ -46,7 +46,7 @@ enum PartReferenceType
|
||||
// Reference to body parts
|
||||
struct PartReference
|
||||
{
|
||||
unsigned char mPart; // declared values [0, 26]
|
||||
unsigned char mPart; // possible values [0, 26]
|
||||
std::string mMale, mFemale;
|
||||
};
|
||||
|
||||
|
@ -80,14 +80,13 @@ struct NPC
|
||||
mPersonality,
|
||||
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];
|
||||
|
||||
// reputation values does not
|
||||
char mUnknown1;
|
||||
char mFactionID;
|
||||
unsigned short mHealth, mMana, mFatigue;
|
||||
signed char mDisposition, mReputation, mRank;
|
||||
char mUnknown2;
|
||||
char mUnknown;
|
||||
int mGold;
|
||||
}; // 52 bytes
|
||||
|
||||
@ -95,7 +94,7 @@ struct NPC
|
||||
{
|
||||
short mLevel;
|
||||
// see above
|
||||
signed char mReputation, mDisposition, mRank;
|
||||
signed char mDisposition, mReputation, mRank;
|
||||
char mUnknown1, mUnknown2, mUnknown3;
|
||||
int mGold;
|
||||
}; // 12 bytes
|
||||
|
Loading…
Reference in New Issue
Block a user