SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
GreenCaterpillarBig.hpp
1#pragma once
2
3#include "Game/LiveActor/ModelObj.hpp"
4
6public:
8
10 virtual void init(const JMapInfoIter &);
11 virtual void control();
12 virtual void calcAndSetBaseMtx();
13
14 void setPosAndDirection(LiveActor *);
15 void calcBodyDir(LiveActor *, TVec3f *);
16
17 LiveActor* mCaterpillar; // _90
18 TVec3f mFrontVec; // _94
19 LodCtrl* mPlanetLOD; // _A0
20};
21
23public:
24 GreenCaterpillarBig(const char *);
25
26 virtual ~GreenCaterpillarBig();
27 virtual void init(const JMapInfoIter &);
28 virtual void startClipped();
29 virtual void endClipped();
30 virtual void control();
31 virtual void calcAndSetBaseMtx();
32
33 void startWriggle();
34 void exeWriggle();
35 void initBodyParts(const JMapInfoIter &);
36 bool tryGenerateBodyParts();
37 void fixBodyPartsOnRail();
38 void leaveApple();
39
40 GreenCaterpillarBigBody** mBodyArray; // _8C
41 s32 mBodyArrayLength; // _90
42 s32 mCurBodyParts; // _94
43 s32 _98;
44 u8 _9C;
45 u8 _9D;
46 LodCtrl* mPlanetLOD; // _A0
47};
48
49namespace NrvGreenCaterpillarBig {
50 NERVE(GreenCaterpillarBigNrvHide);
51 NERVE(GreenCaterpillarBigNrvWriggle);
52 NERVE(GreenCaterpillarBigNrvRest);
53 NERVE(GreenCaterpillarBigNrvEndAdjust);
54 NERVE(GreenCaterpillarBigNrvEnd);
55};
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
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.
virtual void calcAndSetBaseMtx()
Calculates and sets the base matrix of the actor.
The basis of a drawable actor that can contain states (see: Nerve)
Definition LiveActor.hpp:24