2022-08-14 18:38:41 +00:00
|
|
|
#ifndef _CPASDATABASE_HPP
|
|
|
|
#define _CPASDATABASE_HPP
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
2022-10-06 23:10:07 +00:00
|
|
|
#include "Kyoto/Animation/CPASAnimState.hpp"
|
2022-08-14 18:38:41 +00:00
|
|
|
|
|
|
|
#include "rstl/vector.hpp"
|
2022-10-06 21:07:41 +00:00
|
|
|
#include "rstl/pair.hpp"
|
|
|
|
|
|
|
|
class CPASAnimParmData;
|
|
|
|
class CRandom16;
|
2022-08-14 18:38:41 +00:00
|
|
|
|
|
|
|
class CPASDatabase {
|
|
|
|
private:
|
|
|
|
rstl::vector< CPASAnimState > x0_states;
|
2022-09-05 04:01:13 +00:00
|
|
|
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;
|
2022-10-06 21:07:41 +00:00
|
|
|
rstl::pair<float, int> FindBestAnimation(const CPASAnimParmData&, CRandom16&, int) const;
|
2022-08-14 18:38:41 +00:00
|
|
|
};
|
|
|
|
CHECK_SIZEOF(CPASDatabase, 0x14)
|
|
|
|
|
2022-09-18 06:05:46 +00:00
|
|
|
#endif
|