Continue work on CActor::UpdateAnimation; lots of headers n stuff

This commit is contained in:
2022-08-14 14:38:41 -04:00
parent 7c92358bf6
commit 85284f7640
43 changed files with 1190 additions and 148 deletions

View File

@@ -0,0 +1,38 @@
#ifndef _CADDITIVEANIMPLAYBACK_HPP
#define _CADDITIVEANIMPLAYBACK_HPP
#include "types.h"
#include "rstl/rc_ptr.hpp"
class CAnimTreeNode;
class CAdditiveAnimationInfo {
private:
f32 x0_fadeInDur;
f32 x4_fadeOutDur;
};
class CAdditiveAnimPlayback {
public:
enum EPlaybackPhase {
kPP_None,
kPP_FadingIn,
kPP_FadingOut,
kPP_FadedIn,
kPP_FadedOut,
};
private:
CAdditiveAnimationInfo x0_info;
rstl::ncrc_ptr< CAnimTreeNode > x8_anim;
f32 xc_targetWeight;
f32 x10_curWeight;
bool x14_active;
f32 x18_weightTimer;
EPlaybackPhase x1c_phase;
bool x20_needsFadeOut;
};
CHECK_SIZEOF(CAdditiveAnimPlayback, 0x24)
#endif