SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
BallRail.hpp
1#pragma once
2
3#include "Game/LiveActor/LiveActor.hpp"
4
6public:
8
9 TVec3f _0;
10 TVec3f _C;
11 TVec3f _18;
12 TVec3f _24;
13};
14
15class BallRail : public LiveActor {
16public:
17 BallRail(const char *);
18
19 virtual ~BallRail();
20 virtual void init(const JMapInfoIter &);
21 virtual void control();
22 virtual bool receiveOtherMsg(u32, HitSensor *, HitSensor *);
23
24 void initRailPoints();
25 void exeWait();
26 void exeSetUp();
27 void exeRun();
28 inline void exeNoBind();
29
30 BallRailPoint* mRailPoints; // _8C
31 HitSensor* _90;
32 TVec3f _94;
33 s32 mNumPoints; // _A0
34 f32 mAcceleration; // _A4
35 f32 mDeceleration; // _A8
36 f32 _AC;
37};
38
39namespace NrvBallRail {
40 NERVE_DECL(BallRailNrvWait, BallRail, BallRail::exeWait);
41 NERVE_DECL(BallRailNrvSetUp, BallRail, BallRail::exeSetUp);
42 NERVE_DECL(BallRailNrvRun, BallRail, BallRail::exeRun);
43 NERVE_DECL(BallRailNrvNoBind, BallRail, BallRail::exeNoBind);
44};
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
Definition BallRail.cpp:13
The basis of a drawable actor that can contain states (see: Nerve)
Definition LiveActor.hpp:24