mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-05-15 05:51:20 +00:00
Retro seemingly avoided using the Dolphin typedefs in most places, opting to use int/uint instead. This likely means they didn't use u8/s8/u16/s16/etc either. Former-commit-id: 133326ae406a0ebc76f56f8bcb489fda280be2be
39 lines
686 B
C++
39 lines
686 B
C++
#ifndef _CADDITIVEANIMPLAYBACK
|
|
#define _CADDITIVEANIMPLAYBACK
|
|
|
|
#include "types.h"
|
|
|
|
#include "rstl/rc_ptr.hpp"
|
|
|
|
class CAnimTreeNode;
|
|
|
|
class CAdditiveAnimationInfo {
|
|
private:
|
|
float x0_fadeInDur;
|
|
float 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;
|
|
float xc_targetWeight;
|
|
float x10_curWeight;
|
|
bool x14_active;
|
|
float x18_weightTimer;
|
|
EPlaybackPhase x1c_phase;
|
|
bool x20_needsFadeOut;
|
|
};
|
|
CHECK_SIZEOF(CAdditiveAnimPlayback, 0x24)
|
|
|
|
#endif // _CADDITIVEANIMPLAYBACK
|