SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
AnimationRandomPlayer.hpp
1#pragma once
2
3#include "Game/System/NerveExecutor.hpp"
4#include "Game/LiveActor/LiveActor.hpp"
5
7public:
8 AnimationRandomPlayer(const LiveActor *, const char *, const char *, s32, f32);
9
10 virtual ~AnimationRandomPlayer();
11
12 void updateStartStep();
13 void exeWait();
14 void exePlay();
15
16 const LiveActor* mActor; // _8
17 const char* _C;
18 const char* _10;
19 s32 _14;
20 s32 _18;
21 f32 _1C;
22};
23
24namespace NrvAnimationRandomPlayer {
25 NERVE(HostTypeWait);
26 NERVE(HostTypePlay);
27
28 void HostTypePlay::execute(Spine *pSpine) const {
29 AnimationRandomPlayer* player = reinterpret_cast<AnimationRandomPlayer*>(pSpine->mExecutor);
30 player->exePlay();
31 }
32
33 void HostTypeWait::execute(Spine *pSpine) const {
34 AnimationRandomPlayer* player = reinterpret_cast<AnimationRandomPlayer*>(pSpine->mExecutor);
35 player->exeWait();
36 }
37};
The basis of a drawable actor that can contain states (see: Nerve)
Definition LiveActor.hpp:24
Definition Spine.hpp:9