summaryrefslogtreecommitdiff
path: root/include/sfx.h
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2024-02-01 10:25:23 +1100
committerGitHub <noreply@github.com>2024-01-31 18:25:23 -0500
commita0d31dba680fdddb354dc8aae6ae0efe1663ef3f (patch)
treefc3afc6f166b9a8fd83a643ef61adb03e7491dd4 /include/sfx.h
parentd65fb6ed28299b36cfb9c80949649b9a4da4883e (diff)
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 <Dragorn421@users.noreply.github.com>
Diffstat (limited to 'include/sfx.h')
-rw-r--r--include/sfx.h36
1 files changed, 18 insertions, 18 deletions
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
/*