SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
ArrowSwitchMulti.hpp
1#pragma once
2
3#include "Game/LiveActor/LiveActor.hpp"
4
5class ArrowSwitchTarget : public NameObj {
6public:
7 ArrowSwitchTarget(const char *);
8
9 virtual ~ArrowSwitchTarget();
10 virtual void init(const JMapInfoIter &);
11 virtual void initAfterPlacement();
12
13 void onTarget();
14 void offTarget();
15
16 JMapIdInfo* mJMapIDInfo; // _C
17 StageSwitchCtrl* mStageSwitchCtrl; // _10
18 s32 mTargetIdx; // _14
19};
20
22public:
23 ArrowSwitchMulti(const char *);
24
25 virtual ~ArrowSwitchMulti();
26 virtual void init(const JMapInfoIter &);
27 virtual void control();
28 virtual void calcAndSetBaseMtx();
29 virtual bool receiveMsgPlayerAttack(u32, HitSensor *, HitSensor *);
30
31 void registerTarget(ArrowSwitchTarget *);
32 bool requestPunch(HitSensor *, HitSensor *);
33 void exeWait();
34 void exeRotate();
35
36 JMapIdInfo* mIDInfo; // _8C
37 ArrowSwitchTarget* mTargetArray[4]; // _90
38 f32 _A0;
39 f32 _A4;
40 u32 _A8;
41 s32 _AC;
42 u8 _B0;
43};
44
45namespace NrvArrowSwitchMulti {
46 NERVE(ArrowSwitchMultiNrvWait);
47 NERVE(ArrowSwitchMultiNrvRotate);
48};
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 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
The most basic form of an object.
Definition NameObj.hpp:11