mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-05 19:43:41 -04:00
154a6ed4c0
* begin Z2LinkMgr Z2CreatureLink::setLinkGroupInfo, Z2CreatureLink::setLinkHp ok * split Z2CreatureLink * split Z2Calc * fix label data type / clean up * fix getRandom_0_1 instruction * fix * clean up
24 lines
483 B
C++
24 lines
483 B
C++
#include "dolphin/types.h"
|
|
|
|
namespace Z2Calc{
|
|
struct CurveSign{
|
|
// temp
|
|
};
|
|
|
|
class FNoise1f{
|
|
public:
|
|
void setParam(float, float, float);
|
|
float tau(float);
|
|
float calcNoise1f();
|
|
private:
|
|
float unk0;
|
|
float unk4;
|
|
float unk8;
|
|
float unk12;
|
|
};
|
|
|
|
float linearTransform(float, float, float, float, float, bool);
|
|
float getParamByExp(float, float, float, float, float, float, Z2Calc::CurveSign);
|
|
float getRandom(float, float, float);
|
|
float getRandom_0_1(void);
|
|
} |