mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-17 13:24:45 +00:00
Rename FaultDrawer_ functions to Fault_ (#2113)
* Rename FaultDrawer_ functions to Fault_ * Rename FaultDrawer_Init to Fault_InitDrawer
This commit is contained in:
parent
7a9209c885
commit
c8cafdc93e
9 changed files with 157 additions and 162 deletions
|
@ -67,29 +67,24 @@ void Fault_SetFrameBuffer(void* fb, u16 w, u16 h);
|
|||
|
||||
void Fault_WaitForInput(void);
|
||||
|
||||
#if FAULT_VERSION == FAULT_N64
|
||||
|
||||
// Not implemented. Silently noop-ing is fine, these are not essential for functionality.
|
||||
#define FaultDrawer_SetFontColor(color) (void)0
|
||||
#define FaultDrawer_SetCharPad(padW, padH) (void)0
|
||||
|
||||
void Fault_SetCursor(s32 x, s32 y);
|
||||
s32 Fault_Printf(const char* fmt, ...);
|
||||
void Fault_DrawText(s32 x, s32 y, const char* fmt, ...);
|
||||
#define FaultDrawer_SetCursor Fault_SetCursor
|
||||
#define FaultDrawer_Printf Fault_Printf
|
||||
#define FaultDrawer_DrawText Fault_DrawText
|
||||
|
||||
#if FAULT_VERSION == FAULT_N64
|
||||
|
||||
// Not implemented. Silently noop-ing is fine, these are not essential for functionality.
|
||||
#define Fault_SetFontColor(color) (void)0
|
||||
#define Fault_SetCharPad(padW, padH) (void)0
|
||||
|
||||
#elif FAULT_VERSION == FAULT_GC
|
||||
|
||||
void FaultDrawer_SetForeColor(u16 color);
|
||||
void FaultDrawer_SetBackColor(u16 color);
|
||||
void FaultDrawer_SetFontColor(u16 color);
|
||||
void FaultDrawer_SetCharPad(s8 padW, s8 padH);
|
||||
void FaultDrawer_SetCursor(s32 x, s32 y);
|
||||
s32 FaultDrawer_VPrintf(const char* fmt, va_list args);
|
||||
s32 FaultDrawer_Printf(const char* fmt, ...);
|
||||
void FaultDrawer_DrawText(s32 x, s32 y, const char* fmt, ...);
|
||||
void Fault_InitDrawer(void);
|
||||
void Fault_SetForeColor(u16 color);
|
||||
void Fault_SetBackColor(u16 color);
|
||||
void Fault_SetFontColor(u16 color);
|
||||
void Fault_SetCharPad(s8 padW, s8 padH);
|
||||
s32 Fault_VPrintf(const char* fmt, va_list args);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue