mirror of
https://github.com/encounter/Petari.git
synced 2026-03-30 11:34:15 -07:00
67 lines
1.7 KiB
C++
67 lines
1.7 KiB
C++
#pragma once
|
|
|
|
#include "Game/LiveActor/LiveActor.hpp"
|
|
#include "Game/MapObj/SpinDriverShootPath.hpp"
|
|
#include "JSystem/JUtility/JUTTexture.hpp"
|
|
|
|
class SpinDriverPathDrawInit : public NameObj {
|
|
public:
|
|
SpinDriverPathDrawInit();
|
|
|
|
virtual ~SpinDriverPathDrawInit();
|
|
|
|
void initDraw();
|
|
|
|
JUTTexture* mOrangeTexture; // 0xC
|
|
JUTTexture* mGreenTexture; // 0x10
|
|
JUTTexture* mPinkTexture; // 0x14
|
|
JUTTexture* mMaskTexture; // 0x18
|
|
bool mIsPathAtOpa; // 0x1C
|
|
};
|
|
|
|
class SpinDriverPathDrawer : public LiveActor {
|
|
public:
|
|
SpinDriverPathDrawer(SpinDriverShootPath *);
|
|
|
|
virtual ~SpinDriverPathDrawer();
|
|
virtual void init(const JMapInfoIter &);
|
|
virtual void draw() const;
|
|
|
|
s32 calcPositionCount(f32, f32) const;
|
|
void initPositionList(f32, f32);
|
|
void initClipping();
|
|
void initPathEnd();
|
|
f32 calcDrawCode() const;
|
|
f32 calcDrawBaseCode() const;
|
|
void setCoord(f32);
|
|
void setColorNormal();
|
|
void setColorGreen();
|
|
void setColorPink();
|
|
void setMaskLength(f32);
|
|
void setFadeScale(f32);
|
|
void sendPoint(const TVec3f &, f32, f32);
|
|
|
|
SpinDriverShootPath* mShootPath; // 0x8C
|
|
TVec3f* _90;
|
|
TVec3f* _94;
|
|
TVec3f* _98;
|
|
void* _9C;
|
|
s32 mPositionCount; // 0xA0
|
|
u32 _A4;
|
|
u32 _A8;
|
|
f32 _AC;
|
|
f32 _B0;
|
|
s32 mColor; // 0xB4
|
|
f32 _B8;
|
|
f32 mFadeScale; // 0xBC
|
|
f32 mMaskLength; // 0xC0
|
|
};
|
|
|
|
namespace MR {
|
|
void setSpinDriverPathColorNormal();
|
|
void setSpinDriverPathColorGreen();
|
|
void setSpinDriverPathColorPink();
|
|
bool isDrawSpinDriverPathAtOpa();
|
|
void onDrawSpinDriverPathAtOpa();
|
|
void offDrawSpinDriverPathAtOpa();
|
|
}; |