mirror of
https://github.com/encounter/Petari.git
synced 2026-03-30 11:34:15 -07:00
42 lines
1.0 KiB
C++
42 lines
1.0 KiB
C++
#pragma once
|
|
|
|
#include "Game/LiveActor/LiveActor.hpp"
|
|
|
|
class SpinDriverOperateRing : public LiveActor {
|
|
public:
|
|
SpinDriverOperateRing(const char *);
|
|
|
|
virtual ~SpinDriverOperateRing();
|
|
virtual void init(const JMapInfoIter &);
|
|
virtual void control();
|
|
|
|
void setRadiusRate(f32);
|
|
void reset();
|
|
void update(const TVec3f &, const TVec3f &);
|
|
void updatePosition();
|
|
void updateControlPoint(const TVec3f &);
|
|
void updateDirection(const TVec3f &);
|
|
void resetVelocityAndTrans();
|
|
void addAccelToOperatePlane(const TVec3f &);
|
|
void addAccelOperate(TVec3f *, const TVec3f &);
|
|
void addAccelToCenter();
|
|
void attenuateVelocity();
|
|
void calcOperatePowerByPDP(TVec3f *) const;
|
|
|
|
TVec3f _8C;
|
|
TVec3f _98;
|
|
TVec3f _A4;
|
|
TVec3f mAccelerate; // 0xB0
|
|
TVec3f mDirection; // 0xBC
|
|
f32 _C8;
|
|
f32 _CC;
|
|
f32 _D0;
|
|
f32 mRadiusRate; // 0xD4
|
|
f32 _D8;
|
|
f32 _DC;
|
|
u32 _E0;
|
|
};
|
|
|
|
namespace NrvSpinDriverOperateRing {
|
|
NERVE(SpinDriverOperateRingNrvWait);
|
|
}; |