CPASAnimState: Make PickRandomAnimation() private

This isn't used externally anywhere.
This commit is contained in:
Lioncash 2020-04-06 13:06:29 -04:00
parent 0b74a3e995
commit 17c1582ba2
1 changed files with 2 additions and 1 deletions

View File

@ -20,13 +20,14 @@ class CPASAnimState {
float ComputePercentErrorWeight(size_t idx, const CPASAnimParm& parm, CPASAnimParm::UParmValue parmVal) const; float ComputePercentErrorWeight(size_t idx, const CPASAnimParm& parm, CPASAnimParm::UParmValue parmVal) const;
float ComputeAngularPercentErrorWeight(size_t idx, const CPASAnimParm& parm, CPASAnimParm::UParmValue parmVal) const; float ComputeAngularPercentErrorWeight(size_t idx, const CPASAnimParm& parm, CPASAnimParm::UParmValue parmVal) const;
s32 PickRandomAnimation(CRandom16& rand) const;
public: public:
explicit CPASAnimState(CInputStream& in); explicit CPASAnimState(CInputStream& in);
explicit CPASAnimState(int stateId); explicit CPASAnimState(int stateId);
s32 GetStateId() const { return x0_id; } s32 GetStateId() const { return x0_id; }
s32 GetNumAnims() const { return x14_anims.size(); } s32 GetNumAnims() const { return x14_anims.size(); }
CPASAnimParm GetAnimParmData(s32 animId, u32 parmIdx) const; CPASAnimParm GetAnimParmData(s32 animId, u32 parmIdx) const;
s32 PickRandomAnimation(CRandom16& rand) const;
std::pair<float, s32> FindBestAnimation(const rstl::reserved_vector<CPASAnimParm, 8>& parms, CRandom16& rand, std::pair<float, s32> FindBestAnimation(const rstl::reserved_vector<CPASAnimParm, 8>& parms, CRandom16& rand,
s32 ignoreAnim) const; s32 ignoreAnim) const;
}; };