SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
SpinDriverPathDrawer.hpp
1#pragma once
2
3#include "Game/LiveActor/LiveActor.hpp"
4#include "Game/MapObj/SpinDriverShootPath.hpp"
5#include "JSystem/JUtility/JUTTexture.hpp"
6
8public:
10
12
13 void initDraw();
14
15 JUTTexture* mOrangeTexture; // _C
16 JUTTexture* mGreenTexture; // _10
17 JUTTexture* mPinkTexture; // _14
18 JUTTexture* mMaskTexture; // _18
19 bool mIsPathAtOpa; // _1C
20};
21
23public:
25
26 virtual ~SpinDriverPathDrawer();
27 virtual void init(const JMapInfoIter &);
28 virtual void draw() const;
29
30 s32 calcPositionCount(f32, f32) const;
31 void initPositionList(f32, f32);
32 void initClipping();
33 void initPathEnd();
34 f32 calcDrawCode() const;
35 f32 calcDrawBaseCode() const;
36 void setCoord(f32);
37 void setColorNormal();
38 void setColorGreen();
39 void setColorPink();
40 void setMaskLength(f32);
41 void setFadeScale(f32);
42 void sendPoint(const TVec3f &, f32, f32);
43
44 SpinDriverShootPath* mShootPath; // _8C
45 TVec3f* _90;
46 TVec3f* _94;
47 TVec3f* _98;
48 void* _9C;
49 s32 mPositionCount; // _A0
50 u32 _A4;
51 u32 _A8;
52 f32 _AC;
53 f32 _B0;
54 s32 mColor; // _B4
55 f32 _B8;
56 f32 mFadeScale; // _BC
57 f32 mMaskLength; // _C0
58};
59
60namespace MR {
61 void setSpinDriverPathColorNormal();
62 void setSpinDriverPathColorGreen();
63 void setSpinDriverPathColorPink();
64 bool isDrawSpinDriverPathAtOpa();
65 void onDrawSpinDriverPathAtOpa();
66 void offDrawSpinDriverPathAtOpa();
67};
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
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
virtual void draw() const
Draws the object. Does nothing until overridden.