2016-04-13 06:07:23 +00:00
|
|
|
#ifndef __URDE_CPASDATABASE_HPP__
|
|
|
|
#define __URDE_CPASDATABASE_HPP__
|
2016-04-10 04:49:02 +00:00
|
|
|
|
|
|
|
#include "IOStreams.hpp"
|
|
|
|
#include "CPASAnimState.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CPASDatabase
|
|
|
|
{
|
|
|
|
std::vector<CPASAnimState> x0_states;
|
|
|
|
u32 x10_defaultState;
|
|
|
|
void AddAnimState(CPASAnimState&& state);
|
|
|
|
void SetDefaultState(u32 state) {x10_defaultState = state;}
|
|
|
|
public:
|
|
|
|
CPASDatabase(CInputStream& in);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CPASDATABASE_HPP__
|