SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
AssemblyBlock.hpp
1#pragma once
2
3#include "Game/LiveActor/LiveActor.hpp"
4
5class AssemblyBlock : public LiveActor {
6public:
7 AssemblyBlock(const char *);
8
9 virtual ~AssemblyBlock();
10 virtual void init(const JMapInfoIter &);
11 virtual void calcAndSetBaseMtx();
12
13 void exeWait();
14 void exeAssemble();
15 void exeAssembleWait();
16 void exeReturn();
17 void exeTimer();
18 bool tryStartAssemble();
19 bool tryStartReturn();
20
21 TPos3f _8C;
22 TPos3f _BC;
23 TPos3f _EC;
24 s32 _11C;
25 f32 mActivationRange; // _120
26 TVec3f _124;
27 f32 _130;
28 s32 mActivationTime; // _134
29 PartsModel* mBloomModel; // _138
30 bool _13C;
31};
32
33namespace NrvAssemblyBlock {
34 NERVE_DECL(AssemblyBlockNrvWait, AssemblyBlock, AssemblyBlock::exeWait);
35 NERVE_DECL(AssemblyBlockNrvAssemble, AssemblyBlock, AssemblyBlock::exeAssemble);
36 NERVE_DECL(AssemblyBlockNrvAssembleWait, AssemblyBlock, AssemblyBlock::exeAssembleWait);
37 NERVE_DECL(AssemblyBlockNrvReturn, AssemblyBlock, AssemblyBlock::exeReturn);
38 NERVE_DECL(AssemblyBlockNrvTimer, AssemblyBlock, AssemblyBlock::exeTimer);
39};
virtual void calcAndSetBaseMtx()
Calculates and sets the base matrix of the actor.
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
The basis of a drawable actor that can contain states (see: Nerve)
Definition LiveActor.hpp:24