SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
BlackHole.hpp
1#pragma once
2
3#include "Game/LiveActor/LiveActor.hpp"
4
6
7class BlackHole : public LiveActor {
8public:
9 BlackHole(const char *);
10
11 virtual ~BlackHole();
12 virtual void init(const JMapInfoIter &);
13 virtual void makeActorAppeared();
14 virtual void kill();
15 virtual void calcAndSetBaseMtx();
16 virtual void attackSensor(HitSensor *, HitSensor *);
17
18 bool tryStartDemoCamera();
19 void initMapToolInfo(const JMapInfoIter &);
20 void initModel();
21 void initCubeBox();
22 bool isInCubeBox(const TVec3f &) const;
23 void updateModelScale(f32, f32);
24 void exeWait();
25 void exeDisappear();
26
27 ModelObj* mBlackHoleModel; // _8C
28 TVec3f _90;
29 f32 _9C;
30 f32 _A0;
31 TBox3f* _A4;
32 TMtx34f _A8;
33 TMtx34f _D8;
34 ActorCameraInfo* mCameraInfo; // _108
35};
36
37namespace NrvBlackHole {
38 NERVE(BlackHoleNrvWait);
39 NERVE(BlackHoleNrvDemo);
40 NERVE(BlackHoleNrvDisappear);
41};
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.
Definition BlackHole.cpp:7
The basis of a drawable actor that can contain states (see: Nerve)
Definition LiveActor.hpp:24