2016-04-27 19:59:38 +00:00
|
|
|
#ifndef CPASANIMPARMDATA_HPP
|
|
|
|
#define CPASANIMPARMDATA_HPP
|
|
|
|
#include "RetroTypes.hpp"
|
|
|
|
#include "CPASAnimParm.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
class CPASAnimParmData
|
|
|
|
{
|
|
|
|
s32 x0_stateId;
|
2016-12-10 02:35:20 +00:00
|
|
|
rstl::reserved_vector<CPASAnimParm, 8> x4_parms;
|
|
|
|
|
2016-04-27 19:59:38 +00:00
|
|
|
public:
|
2016-12-10 02:35:20 +00:00
|
|
|
CPASAnimParmData() {}
|
2016-05-21 03:02:09 +00:00
|
|
|
|
2016-04-27 19:59:38 +00:00
|
|
|
CPASAnimParmData(s32 stateId, const CPASAnimParm& parm1, const CPASAnimParm& parm2, const CPASAnimParm& parm3,
|
2016-08-21 05:47:47 +00:00
|
|
|
const CPASAnimParm& parm4, const CPASAnimParm& parm5, const CPASAnimParm& parm6,
|
|
|
|
const CPASAnimParm& parm7, const CPASAnimParm& parm8);
|
2016-04-27 19:59:38 +00:00
|
|
|
|
|
|
|
s32 GetStateId();
|
2016-12-10 02:35:20 +00:00
|
|
|
const rstl::reserved_vector<CPASAnimParm, 8>& GetAnimParmData() const;
|
|
|
|
|
|
|
|
static inline CPASAnimParmData NoParameters(s32 stateId)
|
|
|
|
{
|
|
|
|
return {stateId, CPASAnimParm::NoParameter(), CPASAnimParm::NoParameter(), CPASAnimParm::NoParameter(),
|
|
|
|
CPASAnimParm::NoParameter(), CPASAnimParm::NoParameter(), CPASAnimParm::NoParameter(),
|
|
|
|
CPASAnimParm::NoParameter(), CPASAnimParm::NoParameter()};
|
|
|
|
}
|
2016-04-27 19:59:38 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // CPASANIMPARMDATA_HPP
|