You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Add more audio banks and add some occasional mappings for audio macros (#777)
* Add more audio banks and add some occasional mappings for audio macros * Remove config define for extra sound banks --------- Co-authored-by: gheskett <gheskett@gmail.com>
This commit is contained in:
@@ -36,15 +36,27 @@ enum SoundBank {
|
||||
SOUND_BANK_MENU,
|
||||
SOUND_BANK_GENERAL2,
|
||||
SOUND_BANK_OBJ2,
|
||||
SOUND_BANK_CUSTOM_FOREGROUND_1,
|
||||
SOUND_BANK_CUSTOM_FOREGROUND_2,
|
||||
SOUND_BANK_CUSTOM_FOREGROUND_3,
|
||||
SOUND_BANK_CUSTOM_BACKGROUND_1,
|
||||
SOUND_BANK_CUSTOM_BACKGROUND_2,
|
||||
SOUND_BANK_CUSTOM_BACKGROUND_3,
|
||||
|
||||
SOUND_BANK_COUNT
|
||||
};
|
||||
|
||||
#define SOUND_BANKS_ALL_BITS 0xffff
|
||||
#define SOUND_BANKS_ALL ((1 << SOUND_BANK_COUNT) - 1)
|
||||
|
||||
#define SOUND_BANKS_FOREGROUND (\
|
||||
(1 << SOUND_BANK_ACTION) |\
|
||||
(1 << SOUND_BANK_VOICE) |\
|
||||
(1 << SOUND_BANK_MENU))
|
||||
(1 << SOUND_BANK_MENU) |\
|
||||
(1 << SOUND_BANK_CUSTOM_FOREGROUND_1) |\
|
||||
(1 << SOUND_BANK_CUSTOM_FOREGROUND_2) |\
|
||||
(1 << SOUND_BANK_CUSTOM_FOREGROUND_3))
|
||||
|
||||
#define SOUND_BANKS_BACKGROUND (SOUND_BANKS_ALL & ~SOUND_BANKS_FOREGROUND)
|
||||
#define SOUND_BANKS_DISABLED_DURING_INTRO_CUTSCENE (\
|
||||
(1 << SOUND_BANK_ENV) |\
|
||||
@@ -589,4 +601,6 @@ enum SoundBank {
|
||||
#define SOUND_OBJ2_BOSS_DIALOG_GRUNT /* 0x90694081 */ SOUND_ARG_LOAD(SOUND_BANK_OBJ2, 0x69, 0x40, SOUND_DISCRETE)
|
||||
#define SOUND_OBJ2_MRI_SPINNING /* 0x906B0081 */ SOUND_ARG_LOAD(SOUND_BANK_OBJ2, 0x6B, 0x00, SOUND_DISCRETE)
|
||||
|
||||
// Add defines for sounds using extra custom banks here!
|
||||
|
||||
#endif // SOUNDS_H
|
||||
|
||||
Reference in New Issue
Block a user