SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
include
Game
LiveActor
AnimationRandomPlayer.hpp
1
#pragma once
2
3
#include "Game/System/NerveExecutor.hpp"
4
#include "Game/LiveActor/LiveActor.hpp"
5
6
class
AnimationRandomPlayer
:
public
NerveExecutor
{
7
public
:
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
24
namespace
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
};
AnimationRandomPlayer
Definition
AnimationRandomPlayer.hpp:6
LiveActor
The basis of a drawable actor that can contain states (see: Nerve)
Definition
LiveActor.hpp:24
NerveExecutor
Definition
NerveExecutor.hpp:5
Spine
Definition
Spine.hpp:9
Generated by
1.10.0