mirror of
https://github.com/zeldaret/oot
synced 2026-08-08 10:33:54 -04:00
Document debug text drawing functions in z_debug.c (#1472)
* name functions and clean up some stuff * clean up function call args and use enum, format * slightly change comment * review * make things more debug cam oriented * rename buffer * regs update comment * move enum
This commit is contained in:
+3
-3
@@ -761,10 +761,10 @@ u8 CollisionCheck_GetSwordDamage(s32 dmgFlags);
|
||||
void SaveContext_Init(void);
|
||||
s32 func_800635D0(s32);
|
||||
void Regs_Init(void);
|
||||
void func_8006375C(s32 arg0, s32 arg1, const char* text);
|
||||
void func_8006376C(u8 x, u8 y, u8 colorIndex, const char* text);
|
||||
void DbCamera_ScreenText(u8 x, u8 y, const char* text);
|
||||
void DbCamera_ScreenTextColored(u8 x, u8 y, u8 colorIndex, const char* text);
|
||||
void Regs_UpdateEditor(Input* input);
|
||||
void func_80063D7C(GraphicsContext* gfxCtx);
|
||||
void Debug_DrawText(GraphicsContext* gfxCtx);
|
||||
void DebugDisplay_Init(void);
|
||||
DebugDispObject* DebugDisplay_AddObject(f32 posX, f32 posY, f32 posZ, s16 rotX, s16 rotY, s16 rotZ, f32 scaleX,
|
||||
f32 scaleY, f32 scaleZ, u8 red, u8 green, u8 blue, u8 alpha, s16 type,
|
||||
|
||||
@@ -1675,4 +1675,15 @@ typedef struct {
|
||||
/* 0x2C */ f32 fov;
|
||||
} DbCameraAnim; // size = 0x30
|
||||
|
||||
typedef enum {
|
||||
/* 0 */ DBCAMERA_TEXT_YELLOW,
|
||||
/* 1 */ DBCAMERA_TEXT_PEACH,
|
||||
/* 2 */ DBCAMERA_TEXT_BROWN,
|
||||
/* 3 */ DBCAMERA_TEXT_ORANGE,
|
||||
/* 4 */ DBCAMERA_TEXT_GOLD,
|
||||
/* 5 */ DBCAMERA_TEXT_WHITE,
|
||||
/* 6 */ DBCAMERA_TEXT_BLUE,
|
||||
/* 7 */ DBCAMERA_TEXT_GREEN
|
||||
} DbCameraTextColor;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user