summaryrefslogtreecommitdiff
path: root/include/m_debug_display.h
diff options
context:
space:
mode:
authorLucas Shaw <49287729+shawlucas@users.noreply.github.com>2024-04-12 12:39:33 -0400
committerGitHub <noreply@github.com>2024-04-12 09:39:33 -0700
commit0e972cfc8331293e9fac471823450fc99ec6f6c7 (patch)
treebd4335d69949f9a09f5bd843be77444d9136abe2 /include/m_debug_display.h
parentfb02647839bda70f4e50a2f79c7bdcfb93ef61af (diff)
m_debug_display.c OK (#168)
* m_debug_display.c OK * . * Migrated data for m_debug_display * Finishing touches * ran format.py * made suggested changes
Diffstat (limited to 'include/m_debug_display.h')
-rw-r--r--include/m_debug_display.h21
1 files changed, 17 insertions, 4 deletions
diff --git a/include/m_debug_display.h b/include/m_debug_display.h
index 48fe452..82a4e75 100644
--- a/include/m_debug_display.h
+++ b/include/m_debug_display.h
@@ -2,13 +2,26 @@
#define M_DEBUG_DISPLAY_H
#include "ultra64.h"
+#include "overlays/gamestates/ovl_play/m_play.h"
+#include "z64math.h"
+#include "color.h"
struct Game_Play;
+typedef struct DebugDispObject {
+ /* 0x00 */ xyz_t pos;
+ /* 0x0C */ s_xyz rot;
+ /* 0x14 */ xyz_t scale;
+ /* 0x20 */ Color_RGBA8 color;
+ /* 0x24 */ s16 type;
+ /* 0x28 */ struct DebugDispObject* next;
+} DebugDispObject; // size = 0x30
+
void Debug_Display_init(void);
-// void Debug_Display_new();
-void Debug_Display_output(struct Game_Play* game_play);
-// void debug_display_output_sprite_16x16_I8();
-// void debug_display_output_polygon();
+DebugDispObject* Debug_Display_new(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, GraphicsContext* gfxCtx);
+void Debug_Display_output(Game_Play* game_play);
+void debug_display_output_sprite_16x16_I8(DebugDispObject* dispObj, void* texture, Game_Play* game_play);
+void debug_display_output_polygon(DebugDispObject* dispObj, void* dList, Game_Play* game_play);
#endif