SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
ArrowSwitch.hpp
1#pragma once
2
3#include "Game/LiveActor/LiveActor.hpp"
4
5class ArrowSwitch : public LiveActor {
6public:
7 ArrowSwitch(const char *);
8
9 virtual ~ArrowSwitch();
10 virtual void init(const JMapInfoIter &);
11 virtual void control();
12 virtual void calcAndSetBaseMtx();
13 virtual void attackSensor(HitSensor *, HitSensor *);
14 virtual bool receiveMsgPush(HitSensor *, HitSensor *);
15 virtual bool receiveMsgPlayerAttack(u32, HitSensor *, HitSensor *);
16
17 bool requestPunch(HitSensor *, HitSensor *);
18 void listenOnSwitch();
19 void listenOffSwitch();
20 void exeWait();
21 void exeRotate();
22 void exeLock();
23 bool isPlusLimit() const;
24 bool isMinusLimit() const;
25 s32 getOneStep() const;
26
27 f32 _8C;
28 s32 mRotationIdx; // _90
29 f32 _94;
30 s32 _98;
31 bool _9C;
32 u8 _9D;
33 u8 _9E;
34 u8 _9F;
35};
36
37namespace NrvArrowSwitch {
38 NERVE(ArrowSwitchNrvRotate);
39 NERVE(ArrowSwitchNrvLock);
40 NERVE(ArrowSwitchNrvWait);
41};
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