mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 23:05:36 -04:00
a61e3491f7
* initial freezard actor struct + setActionMode OK * daE_FZ_Draw * setReflectAngle * mBoundSoundset * daE_FZ_Execute & execute * demoDelete * daE_FZ_Delete & _delete * CreateHeap * useHeapInit * cc_set * mtx_set * action WIP * way_gake_check * executeRollMove * executeMove * draw WIP * executeDamage * checkpoint * create * checkpoint * daE_FZ_c::executeWait * checkpoint * daE_FZ_c::damage_check almost done * rm asm * rm headers * setup_profile WIP + doxygen update * fix merge issues * docs fix? * fix2 * doxygen updates * setup g_profile_E_FZ, profile setup script WIP * update github actions * update progress.md
34 lines
771 B
C
34 lines
771 B
C
#ifndef JASLFO_H
|
|
#define JASLFO_H
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
/**
|
|
* @ingroup jsystem-jaudio
|
|
*
|
|
*/
|
|
struct JASLfo {
|
|
/* 8029BD14 */ JASLfo();
|
|
/* 8029BD44 */ f32 getValue() const;
|
|
/* 8029BDD8 */ void incCounter(f32);
|
|
/* 8029BE2C */ void resetCounter();
|
|
|
|
void setDepth(f32 param_0) { mDepth = param_0; }
|
|
void setPitch(f32 param_0) { mPitch = param_0; }
|
|
void setDelay(u16 param_0) { mDelay = param_0; }
|
|
|
|
static void updateFreeRun(f32 param_0) { sFreeRunLfo.incCounter(param_0); }
|
|
|
|
static JASLfo sFreeRunLfo;
|
|
|
|
/* 0x00 */ u32 field_0x0;
|
|
/* 0x04 */ u32 field_0x4;
|
|
/* 0x08 */ f32 field_0x8;
|
|
/* 0x0C */ f32 mDepth;
|
|
/* 0x10 */ f32 mPitch;
|
|
/* 0x14 */ u16 mDelay;
|
|
/* 0x16 */ u16 field_0x16;
|
|
};
|
|
|
|
#endif /* JASLFO_H */
|