mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-26 15:24:30 -04:00
7154ac08e1
* 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
659 B
C
34 lines
659 B
C
#ifndef JAUAUDIBLEPARAM_H
|
|
#define JAUAUDIBLEPARAM_H
|
|
|
|
/**
|
|
* @ingroup jsystem-jaudio
|
|
*
|
|
*/
|
|
struct JAUAudibleParam {
|
|
f32 getDopplerPower() const {
|
|
return (u32)((*(u8*)&field_0x0.raw >> 4) & 0xf) * (1.0f / 15.0f);
|
|
}
|
|
union {
|
|
struct {
|
|
u16 f0;
|
|
u16 f1;
|
|
} half;
|
|
struct {
|
|
u8 b0_0 : 4;
|
|
u8 b0_4 : 1;
|
|
u8 b0_5 : 1;
|
|
u8 b0_6 : 1;
|
|
u8 b0_7 : 1;
|
|
u8 b1_0 : 1;
|
|
u8 b1_1 : 1;
|
|
u8 b1_2_7 : 6;
|
|
u8 b2;
|
|
u8 b3;
|
|
} bytes;
|
|
u32 raw;
|
|
} field_0x0;
|
|
};
|
|
|
|
#endif /* JAUAUDIBLEPARAM_H */
|