mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 22:44:30 +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
|
@ -28,12 +28,24 @@
|
|||
#define VT_SGR(n) VT_ESC VT_CSI n "m"
|
||||
|
||||
// Add more macros if necessary
|
||||
#if OOT_DEBUG
|
||||
|
||||
#define VT_COL(back, fore) VT_SGR(VT_COLOR(BACKGROUND, back) ";" VT_COLOR(FOREGROUND, fore))
|
||||
#define VT_FGCOL(color) VT_SGR(VT_COLOR(FOREGROUND, color))
|
||||
#define VT_BGCOL(color) VT_SGR(VT_COLOR(BACKGROUND, color))
|
||||
#define VT_RST VT_SGR("")
|
||||
#define VT_CLS VT_ED(2)
|
||||
|
||||
#else
|
||||
|
||||
#define VT_COL(back, fore) ""
|
||||
#define VT_FGCOL(color) ""
|
||||
#define VT_BGCOL(color) ""
|
||||
#define VT_RST ""
|
||||
#define VT_CLS ""
|
||||
|
||||
#endif
|
||||
|
||||
// ASCII BEL character, plays an alert tone
|
||||
#define BEL '\a'
|
||||
|
||||
|
|
|
@ -143,13 +143,17 @@ extern u16 D_801333D0;
|
|||
extern Vec3f gSfxDefaultPos;
|
||||
extern f32 gSfxDefaultFreqAndVolScale;
|
||||
extern s8 gSfxDefaultReverb;
|
||||
#if OOT_DEBUG
|
||||
extern u8 D_801333F0;
|
||||
extern u8 gAudioSfxSwapOff;
|
||||
extern u8 D_801333F8;
|
||||
#endif
|
||||
extern u8 gSeqCmdWritePos;
|
||||
extern u8 gSeqCmdReadPos;
|
||||
extern u8 gStartSeqDisabled;
|
||||
#if OOT_DEBUG
|
||||
extern u8 gAudioDebugPrintSeqCmd;
|
||||
#endif
|
||||
extern u8 gSoundModeList[];
|
||||
extern u8 gAudioSpecId;
|
||||
extern u8 D_80133418;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue