mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-16 17:37:02 +00:00
Continue work on CActor::UpdateAnimation; lots of headers n stuff
This commit is contained in:
38
include/MetroidPrime/CAdditiveAnimPlayback.hpp
Normal file
38
include/MetroidPrime/CAdditiveAnimPlayback.hpp
Normal 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
|
||||
Reference in New Issue
Block a user