prime/include/MetroidPrime/CRipple.hpp

36 lines
746 B
C++
Raw Permalink Normal View History

2022-10-16 22:32:15 +00:00
#ifndef _CRIPPLE
#define _CRIPPLE
#include "MetroidPrime/TGameTypes.hpp"
#include "Kyoto/Math/CVector3f.hpp"
class CRipple {
TUniqueId x0_id;
float x4_time;
CVector3f x8_center;
float x14_timeFalloff;
float x18_distFalloff;
float x1c_frequency;
float x20_amplitude;
float x24_lookupAmplitude;
float x28_ooTimeFalloff;
float x2c_ooDistFalloff;
float x30_ooPhase;
float x34_phase;
float x38_lookupPhase;
uint x3c_;
public:
CRipple(TUniqueId id, const CVector3f& center, float intensity);
2022-10-20 00:25:03 +00:00
TUniqueId GetUniqueId() const { return x0_id; }
float GetTime() const { return x4_time; }
void SetTime(float t) { x4_time = t; }
float GetTimeFalloff() const { return x14_timeFalloff; }
2022-10-16 22:32:15 +00:00
};
#endif // _CRIPPLE