From a0d31dba680fdddb354dc8aae6ae0efe1663ef3f Mon Sep 17 00:00:00 2001 From: engineer124 <47598039+engineer124@users.noreply.github.com> Date: Thu, 1 Feb 2024 10:25:23 +1100 Subject: Document Audio Thread Commands (#1399) * begin docs * cleanup * copy over progress * cleanup * small cleanup * more docs, fill out cmds * small touchup * pan weight ganon comment * fix specId * seqcmd cleanup * format * small cleanup * one more thing * small feedback from MM * partial PR * some PR Suggestions * small adjustments * ticks, seqticks, frames, updates: term cleanup * small fix * PR Review * PR Review * PR Review * rm param * adjust comment * update renamed functions * format --------- Co-authored-by: Dragorn421 --- include/sfx.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'include/sfx.h') diff --git a/include/sfx.h b/include/sfx.h index e008d1372..d5545af8d 100644 --- a/include/sfx.h +++ b/include/sfx.h @@ -21,24 +21,24 @@ typedef enum { } SfxState; typedef struct { - /* 0x00 */ f32* posX; - /* 0x04 */ f32* posY; - /* 0x08 */ f32* posZ; - /* 0x0C */ u8 token; - /* 0x10 */ f32* freqScale; - /* 0x14 */ f32* vol; - /* 0x18 */ s8* reverbAdd; - /* 0x1C */ f32 dist; - /* 0x20 */ u32 priority; // lower is more prioritized - /* 0x24 */ u8 sfxImportance; - /* 0x26 */ u16 sfxParams; - /* 0x28 */ u16 sfxId; - /* 0x2A */ u8 state; // uses SfxState enum - /* 0x2B */ u8 freshness; - /* 0x2C */ u8 prev; - /* 0x2D */ u8 next; - /* 0x2E */ u8 channelIdx; - /* 0x2F */ u8 unk_2F; + /* 0x00 */ f32* posX; + /* 0x04 */ f32* posY; + /* 0x08 */ f32* posZ; + /* 0x0C */ u8 token; + /* 0x10 */ f32* freqScale; + /* 0x14 */ f32* vol; + /* 0x18 */ s8* reverbAdd; + /* 0x1C */ f32 dist; + /* 0x20 */ u32 priority; // lower is more prioritized + /* 0x24 */ u8 sfxImportance; + /* 0x26 */ u16 sfxParams; + /* 0x28 */ u16 sfxId; + /* 0x2A */ u8 state; // uses SfxState enum + /* 0x2B */ u8 freshness; + /* 0x2C */ u8 prev; + /* 0x2D */ u8 next; + /* 0x2E */ u8 channelIndex; + /* 0x2F */ u8 unk_2F; } SfxBankEntry; // size = 0x30 /* -- cgit v1.2.3