metaforce/Runtime/World/CRipple.hpp

37 lines
845 B
C++
Raw Normal View History

2016-11-20 21:53:15 +00:00
#ifndef __URDE_CRIPPLE_HPP__
#define __URDE_CRIPPLE_HPP__
#include "RetroTypes.hpp"
#include "zeus/CVector3f.hpp"
namespace urde
{
class CRipple
{
private:
TUniqueId x0_id;
float x4_time = 0.f;
2016-11-20 21:53:15 +00:00
zeus::CVector3f x8_;
float x14_ = 2.f;
float x18_ = 12.f;
float x1c_ = 3.f;
float x20_ = 0.25f;
float x24_ = 0.00098039221f;
2016-11-20 21:53:15 +00:00
public:
CRipple(TUniqueId, const zeus::CVector3f&, float);
void SetTime(float t) { x4_time = t; }
float GetTime() const { return x4_time; }
2016-11-20 21:53:15 +00:00
float GetTimeFalloff() const;
TUniqueId GetUniqueId() const { return x0_id; }
2016-11-20 21:53:15 +00:00
float GetFequency() const;
float GetAmplitude() const;
float GetOODistanceFalloff() const;
float GetDistanceFalloff() const;
zeus::CVector3f GetCenter() const;
float GetOOTimeFalloff() const;
};
}
#endif // __URDE_CRIPPLE_HPP__