SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
MapPartsRailMover.hpp
1#pragma once
2
3#include "Game/MapObj/MapPartsFunction.hpp"
4
6
8public:
10
11 virtual ~MapPartsRailMover();
12 virtual void init(const JMapInfoIter &);
13 virtual void movement();
14 virtual bool isWorking() const;
15 virtual void start();
16 virtual void end();
17 virtual s32 receiveMsg(u32);
18 virtual void control();
19
20 void moveToInitPos();
21 void startWithSignalMotion();
22 void cancelSignalMotion();
23 bool tryResetPositionRepeat();
24 void resetToInitPos();
25 void passPoint();
26 void reachedEnd();
27 void reachedEndPlayerOn();
28 bool isReachedEnd() const;
29 bool isDone() const;
30 void setStateStopAtEndBeforeRotate();
31 void calcTimeToNextRailPoint(f32 *) const;
32 void endRotateAtPoint();
33 void calcMoveSpeed(f32 *) const;
34 void calcMoveSpeedDirect(f32 *) const;
35 void calcMoveSpeedTime(f32 *) const;
36 void updateAccel();
37 bool tryPassPoint();
38 bool tryRestartAtEnd();
39 void restartAtEnd();
40 void exeMove();
41 void exeMoveStart();
42 void exeStopAtPoint();
43 void exeStopAtEnd();
44
45 MapPartsRailPointPassChecker* mRailPointPassChecker; // _18
46 s32 mMoveConditionType; // _1C
47 s32 mMoveStopType; // _20
48 s32 mSignMotionType; // _24
49 TVec3f _28;
50 f32 _34;
51 s32 mStopTime; // _38
52 f32 _3C;
53 u32 _40;
54 f32 _44;
55 f32 _48;
56};
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.