1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-13 03:14:38 +00:00

Rename "Sound" to "Sfx" (#1292)

* First attempt

* More

* rename

* more sound -> sfx / sound effect (#7)

* PR Suggestions

* PR Suggestions

* Small fix

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
Co-authored-by: fig02 <fig02srl@gmail.com>
This commit is contained in:
engineer124 2022-07-30 07:05:27 -06:00 committed by GitHub
parent 1652b7e5d7
commit 1d19f37b26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
321 changed files with 2879 additions and 2904 deletions

View file

@ -9,7 +9,7 @@ typedef enum {
/* 4 */ BANK_SYSTEM,
/* 5 */ BANK_OCARINA,
/* 6 */ BANK_VOICE
} SoundBankType;
} SfxBankType;
typedef enum {
/* 0 */ SFX_STATE_EMPTY,
@ -39,7 +39,7 @@ typedef struct {
/* 0x2D */ u8 next;
/* 0x2E */ u8 channelIdx;
/* 0x2F */ u8 unk_2F;
} SoundBankEntry; // size = 0x30
} SfxBankEntry; // size = 0x30
/*
* SFX IDs
@ -89,9 +89,9 @@ typedef enum {
typedef struct {
u32 priority; // lower is more prioritized
u8 entryIndex;
} ActiveSound;
} ActiveSfx;
// SoundParams bit-packing
// SfxParams bit-packing
#define SFX_PARAM_01_SHIFT 0
#define SFX_PARAM_01_MASK (3 << SFX_PARAM_01_SHIFT)
@ -116,6 +116,6 @@ typedef struct {
typedef struct {
u8 importance;
u16 params;
} SoundParams;
} SfxParams;
#endif