SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
MarioAnimator.hpp
1#pragma once
2
3#include "Game/Animation/XanimePlayer.hpp"
4#include "Game/Player/Mario.hpp"
5#include "Game/Player/MarioModule.hpp"
6
7class MarioActor;
9class XanimePlayer;
10
11class MarioAnimator : public MarioModule {
12public:
14
15 void init();
16 void update();
17
18 void setHoming();
19 bool isAnimationStop();
20 void setSpeed(f32);
21 void forceSetBlendWeight(const f32 *);
22 void waterToGround();
23 void initCallbackTable();
24 void change(const char *);
25 void changeDefaultUpper(const char *);
26
27 inline void f1(const char *name)
28 {
29 getPlayer()->startBas(nullptr, false, 0.0f, 0.0f);
30
31 _C->setDefaultAnimation(name);
32 change(name);
33 }
34
36 XanimePlayer *_C;
37 XanimePlayer *_10;
38 u8 _14;
39 u8 _15;
40 u8 _16;
41 f32 _18;
42 f32 _1C;
43 f32 _20;
44 f32 _24;
45 TMtx34f _28;
46 f32 _58;
47 f32 _5C;
48 TVec3f _60;
49 u8 _6C;
50 f32 _70;
51 u32 _74;
52 u16 _78;
53 TMtx34f _7C;
54 TMtx34f _AC;
55 TMtx34f _DC;
56 u8 _10C;
57 u8 _10D;
58 u8 _10E;
59 f32 _110;
60 u32 _114;
61 f32 _118;
62
63 u8 _11C[8];
64};