mirror of https://github.com/AxioDL/metaforce.git
CAdditiveBodyState: Make use of std::array where applicable
Same behavior, stronger typing.
This commit is contained in:
parent
139d290d7d
commit
2b1a86794b
|
@ -1,5 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <array>
|
||||||
|
|
||||||
#include "Runtime/RetroTypes.hpp"
|
#include "Runtime/RetroTypes.hpp"
|
||||||
#include "Runtime/Character/CBodyStateCmdMgr.hpp"
|
#include "Runtime/Character/CBodyStateCmdMgr.hpp"
|
||||||
#include "Runtime/Character/CharacterCommon.hpp"
|
#include "Runtime/Character/CharacterCommon.hpp"
|
||||||
|
@ -21,8 +23,8 @@ public:
|
||||||
|
|
||||||
class CABSAim : public CAdditiveBodyState {
|
class CABSAim : public CAdditiveBodyState {
|
||||||
bool x4_needsIdle = false;
|
bool x4_needsIdle = false;
|
||||||
s32 x8_anims[4];
|
std::array<s32, 4> x8_anims{};
|
||||||
float x18_angles[4];
|
std::array<float, 4> x18_angles{};
|
||||||
float x28_hWeight = 0.f;
|
float x28_hWeight = 0.f;
|
||||||
float x2c_hWeightVel = 0.f;
|
float x2c_hWeightVel = 0.f;
|
||||||
float x30_vWeight = 0.f;
|
float x30_vWeight = 0.f;
|
||||||
|
|
Loading…
Reference in New Issue