mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 15:15:31 +00:00
done with header files, unsure about mSkills and mReputation in
loadnpc.hpp
This commit is contained in:
parent
8bce460f34
commit
bc7e154643
2 changed files with 6 additions and 4 deletions
|
@ -80,7 +80,8 @@ struct NPC
|
|||
mPersonality,
|
||||
mLuck;
|
||||
|
||||
char mSkills[Skill::Length];
|
||||
// mSkill vals are used only in MWMechanics::AttributeValue.setBase(), if less than 0 they are not considered
|
||||
unsigned char mSkills[Skill::Length];
|
||||
|
||||
// at opencs/model/tools/referenceablecheck.cpp:679 is assumed that negative reputation values are invalid, can we assume we won't find any negative value?
|
||||
unsigned char mReputation;
|
||||
|
|
|
@ -24,10 +24,11 @@ struct Region
|
|||
#pragma pack(1)
|
||||
struct WEATstruct
|
||||
{
|
||||
// I guess these are probabilities
|
||||
char mClear, mCloudy, mFoggy, mOvercast, mRain, mThunder, mAsh, mBlight,
|
||||
// These are probabilities that add up to 100
|
||||
unsigned char mClear, mCloudy, mFoggy, mOvercast, mRain, mThunder, mAsh, mBlight,
|
||||
// Unknown weather, probably snow and something. Only
|
||||
// present in file version 1.3.
|
||||
// the engine uses mA as "snow" and mB as "blizard"
|
||||
mA, mB;
|
||||
}; // 10 bytes
|
||||
|
||||
|
@ -35,7 +36,7 @@ struct Region
|
|||
struct SoundRef
|
||||
{
|
||||
NAME32 mSound;
|
||||
char mChance;
|
||||
unsigned char mChance;
|
||||
}; // 33 bytes
|
||||
#pragma pack(pop)
|
||||
|
||||
|
|
Loading…
Reference in a new issue