2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-27 19:59:38 +00:00
|
|
|
#include "RetroTypes.hpp"
|
|
|
|
#include "CPASAnimParm.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
|
|
|
class CPASAnimParmData {
|
|
|
|
s32 x0_stateId;
|
|
|
|
rstl::reserved_vector<CPASAnimParm, 8> x4_parms;
|
2016-12-10 02:35:20 +00:00
|
|
|
|
2016-04-27 19:59:38 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
CPASAnimParmData() = default;
|
2016-05-21 03:02:09 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
CPASAnimParmData(s32 stateId, const CPASAnimParm& parm1 = CPASAnimParm::NoParameter(),
|
|
|
|
const CPASAnimParm& parm2 = CPASAnimParm::NoParameter(),
|
|
|
|
const CPASAnimParm& parm3 = CPASAnimParm::NoParameter(),
|
|
|
|
const CPASAnimParm& parm4 = CPASAnimParm::NoParameter(),
|
|
|
|
const CPASAnimParm& parm5 = CPASAnimParm::NoParameter(),
|
|
|
|
const CPASAnimParm& parm6 = CPASAnimParm::NoParameter(),
|
|
|
|
const CPASAnimParm& parm7 = CPASAnimParm::NoParameter(),
|
|
|
|
const CPASAnimParm& parm8 = CPASAnimParm::NoParameter());
|
2016-04-27 19:59:38 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
s32 GetStateId() const { return x0_stateId; }
|
|
|
|
const rstl::reserved_vector<CPASAnimParm, 8>& GetAnimParmData() const { return x4_parms; }
|
2016-12-10 02:35:20 +00:00
|
|
|
|
2019-07-20 04:27:21 +00:00
|
|
|
static CPASAnimParmData NoParameters(s32 stateId) {
|
2018-12-08 05:30:43 +00:00
|
|
|
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
|
|
|
};
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|