mirror of https://github.com/AxioDL/metaforce.git
33 lines
1.0 KiB
C++
33 lines
1.0 KiB
C++
#ifndef CPASANIMPARMDATA_HPP
|
|
#define CPASANIMPARMDATA_HPP
|
|
#include "RetroTypes.hpp"
|
|
#include "CPASAnimParm.hpp"
|
|
|
|
namespace urde
|
|
{
|
|
class CPASAnimParmData
|
|
{
|
|
s32 x0_stateId;
|
|
rstl::reserved_vector<CPASAnimParm, 8> x4_parms;
|
|
|
|
public:
|
|
CPASAnimParmData() {}
|
|
|
|
CPASAnimParmData(s32 stateId, const CPASAnimParm& parm1, const CPASAnimParm& parm2, const CPASAnimParm& parm3,
|
|
const CPASAnimParm& parm4, const CPASAnimParm& parm5, const CPASAnimParm& parm6,
|
|
const CPASAnimParm& parm7, const CPASAnimParm& parm8);
|
|
|
|
s32 GetStateId();
|
|
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()};
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif // CPASANIMPARMDATA_HPP
|