2021-09-01 22:33:37 +00:00
|
|
|
#include "ultra64.h"
|
|
|
|
#include "global.h"
|
|
|
|
|
2022-07-11 17:45:22 +00:00
|
|
|
#define DEFINE_SFX(_0, importance, distParam, randParam, flags) \
|
|
|
|
{ importance, ((((distParam) << SFX_PARAM_01_SHIFT) & SFX_PARAM_01_MASK) | \
|
|
|
|
(((randParam) << SFX_PARAM_67_SHIFT) & SFX_PARAM_67_MASK) | (flags)) },
|
2022-06-20 18:24:21 +00:00
|
|
|
|
2021-09-01 22:33:37 +00:00
|
|
|
SoundParams sEnemyBankParams[] = {
|
2022-07-11 17:45:22 +00:00
|
|
|
#include "tables/sfx/enemybank_table.h"
|
2021-09-01 22:33:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
SoundParams sPlayerBankParams[] = {
|
2022-07-11 17:45:22 +00:00
|
|
|
#include "tables/sfx/playerbank_table.h"
|
2021-09-01 22:33:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
SoundParams sItemBankParams[] = {
|
2022-07-11 17:45:22 +00:00
|
|
|
#include "tables/sfx/itembank_table.h"
|
2021-09-01 22:33:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
SoundParams sEnvBankParams[] = {
|
2022-07-11 17:45:22 +00:00
|
|
|
#include "tables/sfx/environmentbank_table.h"
|
2021-09-01 22:33:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
SoundParams sSystemBankParams[] = {
|
2022-07-11 17:45:22 +00:00
|
|
|
#include "tables/sfx/systembank_table.h"
|
2021-09-01 22:33:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
SoundParams sOcarinaBankParams[] = {
|
2022-07-11 17:45:22 +00:00
|
|
|
#include "tables/sfx/ocarinabank_table.h"
|
2021-09-01 22:33:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
SoundParams sVoiceBankParams[] = {
|
2022-07-11 17:45:22 +00:00
|
|
|
#include "tables/sfx/voicebank_table.h"
|
2021-09-01 22:33:37 +00:00
|
|
|
};
|
|
|
|
|
2022-07-11 17:45:22 +00:00
|
|
|
#undef DEFINE_SFX
|
|
|
|
|
2021-09-01 22:33:37 +00:00
|
|
|
SoundParams* gSoundParams[7] = {
|
|
|
|
sPlayerBankParams, sItemBankParams, sEnvBankParams, sEnemyBankParams,
|
|
|
|
sSystemBankParams, sOcarinaBankParams, sVoiceBankParams,
|
|
|
|
};
|