mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-11 09:20:17 +00:00
Match retail code data sizes (#1741)
* Match retail audio data * Fix various small code data problems * Disable terminal colors in debug builds * Match z_actor_dlftbls.c .rodata * Use _3 for unused nameString macro parameter * Move sDebugCutsceneScriptBuf to be in-function static * Comment on actor name being NULL * Split out padding the fault_drawer.bss.s
This commit is contained in:
parent
c3faefc061
commit
c6e3ef4570
13 changed files with 79 additions and 13 deletions
|
@ -44,18 +44,20 @@ s8 gSfxDefaultReverb = 0;
|
|||
|
||||
s32 D_801333EC = 0; // unused
|
||||
|
||||
#if OOT_DEBUG
|
||||
u8 D_801333F0 = 0;
|
||||
|
||||
u8 gAudioSfxSwapOff = 0;
|
||||
|
||||
u8 D_801333F8 = 0;
|
||||
|
||||
s32 D_801333FC = 0; // unused
|
||||
#endif
|
||||
|
||||
u8 gSeqCmdWritePos = 0;
|
||||
u8 gSeqCmdReadPos = 0;
|
||||
u8 gStartSeqDisabled = false;
|
||||
|
||||
#if OOT_DEBUG
|
||||
u8 gAudioDebugPrintSeqCmd = true;
|
||||
#endif
|
||||
|
||||
u8 gSoundModeList[] = {
|
||||
SOUNDMODE_STEREO,
|
||||
|
|
|
@ -1212,8 +1212,10 @@ OcarinaSongButtons gOcarinaSongButtons[OCARINA_SONG_MAX] = {
|
|||
{ 0, { 0 } },
|
||||
};
|
||||
|
||||
#if OOT_DEBUG
|
||||
u32 sAudioUpdateStartTime;
|
||||
u32 sAudioUpdateEndTime;
|
||||
#endif
|
||||
f32 D_8016B7A8;
|
||||
f32 D_8016B7AC;
|
||||
f32 D_8016B7B0;
|
||||
|
@ -1223,20 +1225,26 @@ FreqLerp sWaterfallFreqScaleLerp;
|
|||
f32 D_8016B7D8;
|
||||
s8 D_8016B7DC;
|
||||
f32 D_8016B7E0;
|
||||
#if OOT_DEBUG
|
||||
u16 D_8016B7E4;
|
||||
struct {
|
||||
char str[5];
|
||||
u16 num;
|
||||
} sAudioScrPrtBuf[SCROLL_PRINT_BUF_SIZE];
|
||||
#endif
|
||||
u8 sRiverSoundMainBgmVol;
|
||||
u8 sRiverSoundMainBgmCurrentVol;
|
||||
u8 sRiverSoundMainBgmLower;
|
||||
u8 sRiverSoundMainBgmRestore;
|
||||
u8 sGanonsTowerVol;
|
||||
SfxPlayerState sSfxChannelState[0x10];
|
||||
#if OOT_DEBUG
|
||||
char sBinToStrBuf[0x20];
|
||||
#endif
|
||||
u8 sMalonSingingTimer;
|
||||
#if OOT_DEBUG
|
||||
u8 sAudioSpecPeakNumNotes[0x12];
|
||||
#endif
|
||||
u8 sMalonSingingDisabled;
|
||||
u8 D_8016B9F3;
|
||||
u8 sFanfareStartTimer;
|
||||
|
@ -1264,8 +1272,10 @@ u16 sMusicStaffCurHeldLength[OCARINA_SONG_MAX];
|
|||
u16 sMusicStaffExpectedLength[OCARINA_SONG_MAX];
|
||||
u8 sMusicStaffExpectedPitch[OCARINA_SONG_MAX];
|
||||
OcarinaNote sScarecrowsLongSongSecondNote;
|
||||
#if OOT_DEBUG
|
||||
u8 sIsMalonSinging;
|
||||
f32 sMalonSingingDist;
|
||||
#endif
|
||||
|
||||
void PadMgr_RequestPadData(PadMgr* padMgr, Input* inputs, s32 gameRequest);
|
||||
|
||||
|
|
|
@ -33,9 +33,12 @@ ActiveSfx gActiveSfx[7][3];
|
|||
u8 sCurSfxPlayerChannelIndex;
|
||||
u8 gSfxBankMuted[7];
|
||||
UnusedBankLerp sUnusedBankLerp[7];
|
||||
|
||||
#if OOT_DEBUG
|
||||
u16 gAudioSfxSwapSource[10];
|
||||
u16 gAudioSfxSwapTarget[10];
|
||||
u8 gAudioSfxSwapMode[10];
|
||||
#endif
|
||||
|
||||
void Audio_SetSfxBanksMute(u16 muteMask) {
|
||||
u8 bankId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue