Split z64debug_display.h, z64draw.h, z_en_item00.h (#2443)

* z64debug_display.h

* z64draw.h

* z_en_item00.h

* bss
This commit is contained in:
mzxrules
2025-01-27 13:01:54 -05:00
committed by GitHub
parent 7dd3a83313
commit d855f2bfd8
26 changed files with 149 additions and 82 deletions
+27
View File
@@ -0,0 +1,27 @@
#ifndef Z64_DEBUG_DISPLAY_H
#define Z64_DEBUG_DISPLAY_H
#include "ultra64.h"
#include "z64math.h"
#include "color.h"
struct GraphicsContext;
struct PlayState;
typedef struct DebugDispObject {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3s rot;
/* 0x14 */ Vec3f scale;
/* 0x20 */ Color_RGBA8 color;
/* 0x24 */ s16 type;
/* 0x28 */ struct DebugDispObject* next;
} DebugDispObject; // size = 0x2C
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,
struct GraphicsContext* gfxCtx);
void DebugDisplay_DrawObjects(struct PlayState* play);
#endif