SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
MagicBell.hpp
1#pragma once
2
3#include "Game/LiveActor/LiveActor.hpp"
4#include "Game/MapObj/Swinger.hpp"
5
6class MagicBell : public LiveActor {
7public:
8 MagicBell(const char *);
9
10 virtual ~MagicBell();
11 virtual void init(const JMapInfoIter &);
12 virtual MtxPtr getBaseMtx() const;
13 virtual void attackSensor(HitSensor *, HitSensor *);
14 virtual bool receiveMsgPlayerAttack(u32, HitSensor *, HitSensor *);
15
16 void exeWait();
17 void exeRing();
18 bool tryRing();
19 void startRing(const TVec3f &, const TVec3f &);
20
21 Swinger* _8C;
22 MtxPtr mSurface2Mtx; // _90
23 Swinger* _94;
24 MtxPtr mSurface1Mtx; // _98
25 TVec3f _9C;
26};
27
28namespace NrvMagicBell {
29 NERVE_DECL(MagicBellNrvWait, MagicBell, MagicBell::exeWait);
30 NERVE_DECL(MagicBellNrvRing, MagicBell, MagicBell::exeRing);
31};
The basis of a drawable actor that can contain states (see: Nerve)
Definition LiveActor.hpp:24
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
Definition MagicBell.cpp:14
virtual MtxPtr getBaseMtx() const
Gets the base matrix of the model used for the actor.