prime/include/Kyoto/Animation/CPASDatabase.hpp

26 lines
515 B
C++
Raw Normal View History

#ifndef _CPASDATABASE
#define _CPASDATABASE
#include "types.h"
2022-10-06 23:10:07 +00:00
#include "Kyoto/Animation/CPASAnimState.hpp"
2022-10-06 21:07:41 +00:00
#include "rstl/pair.hpp"
#include "rstl/vector.hpp"
2022-10-06 21:07:41 +00:00
class CPASAnimParmData;
class CRandom16;
class CPASDatabase {
private:
rstl::vector< CPASAnimState > x0_states;
int x10_defaultState;
2022-10-06 21:07:41 +00:00
public:
2022-10-08 22:03:50 +00:00
const CPASAnimState* GetAnimState(int) const;
rstl::pair< float, int > FindBestAnimation(const CPASAnimParmData&, CRandom16&, int) const;
};
CHECK_SIZEOF(CPASDatabase, 0x14)
#endif // _CPASDATABASE