mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-10 19:20:13 +00:00
Match z_debug for retail (#1694)
* match z_debug for retail * prototype * directive
This commit is contained in:
parent
4e2d2885bc
commit
23de92d2f9
2 changed files with 6 additions and 0 deletions
|
@ -763,7 +763,9 @@ s32 func_800635D0(s32);
|
||||||
void Regs_Init(void);
|
void Regs_Init(void);
|
||||||
void DebugCamera_ScreenText(u8 x, u8 y, const char* text);
|
void DebugCamera_ScreenText(u8 x, u8 y, const char* text);
|
||||||
void DebugCamera_ScreenTextColored(u8 x, u8 y, u8 colorIndex, const char* text);
|
void DebugCamera_ScreenTextColored(u8 x, u8 y, u8 colorIndex, const char* text);
|
||||||
|
#if OOT_DEBUG
|
||||||
void Regs_UpdateEditor(Input* input);
|
void Regs_UpdateEditor(Input* input);
|
||||||
|
#endif
|
||||||
void Debug_DrawText(GraphicsContext* gfxCtx);
|
void Debug_DrawText(GraphicsContext* gfxCtx);
|
||||||
void DebugDisplay_Init(void);
|
void DebugDisplay_Init(void);
|
||||||
DebugDispObject* DebugDisplay_AddObject(f32 posX, f32 posY, f32 posZ, s16 rotX, s16 rotY, s16 rotZ, f32 scaleX,
|
DebugDispObject* DebugDisplay_AddObject(f32 posX, f32 posY, f32 posZ, s16 rotX, s16 rotY, s16 rotZ, f32 scaleX,
|
||||||
|
|
|
@ -153,6 +153,7 @@ void DebugCamera_DrawScreenText(GfxPrint* printer) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if OOT_DEBUG
|
||||||
/**
|
/**
|
||||||
* Updates the state of the Reg Editor according to user input.
|
* Updates the state of the Reg Editor according to user input.
|
||||||
* Also contains a controller rumble test that can be interfaced with via related REGs.
|
* Also contains a controller rumble test that can be interfaced with via related REGs.
|
||||||
|
@ -269,6 +270,7 @@ void Regs_DrawEditor(GfxPrint* printer) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Draws the Reg Editor and Debug Camera text on screen
|
* Draws the Reg Editor and Debug Camera text on screen
|
||||||
|
@ -291,9 +293,11 @@ void Debug_DrawText(GraphicsContext* gfxCtx) {
|
||||||
DebugCamera_DrawScreenText(&printer);
|
DebugCamera_DrawScreenText(&printer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if OOT_DEBUG
|
||||||
if (gRegEditor->regPage != 0) {
|
if (gRegEditor->regPage != 0) {
|
||||||
Regs_DrawEditor(&printer);
|
Regs_DrawEditor(&printer);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
sDebugCamTextEntryCount = 0;
|
sDebugCamTextEntryCount = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue