summaryrefslogtreecommitdiff
path: root/src/code/z_debug_display.c
diff options
context:
space:
mode:
authorRoman971 <32455037+Roman971@users.noreply.github.com>2020-04-16 23:36:12 +0200
committerGitHub <noreply@github.com>2020-04-16 17:36:12 -0400
commit262f6c507ca59c75df52e23f93c701705ee22798 (patch)
tree179e55b3d59e02d624615b0d4d88867600cca9ed /src/code/z_debug_display.c
parent9ac1f8130ddbfdf394e11710021150f6c192fdcd (diff)
Decompile z_play.c and Match/Document some of z_view.c (#74)
* Decompile z_play.c and Match/Document some of z_view.c Also fix the last non matching in z_sample.c and update some game state functions. * Suggestions from PR #74 * Fix undefined reference to Gameplay_DrawOverlay * Suggestion from PR #74 (2) * Fix a fake argument in func_800BC450
Diffstat (limited to 'src/code/z_debug_display.c')
-rw-r--r--src/code/z_debug_display.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code/z_debug_display.c b/src/code/z_debug_display.c
index 914d70c89..29630f441 100644
--- a/src/code/z_debug_display.c
+++ b/src/code/z_debug_display.c
@@ -8,8 +8,8 @@ typedef struct {
typedef void (*DebugDispObject_DrawFunc)(DebugDispObject*, u32, GlobalContext*);
-static void DebugDisplay_DrawSpriteI8(DebugDispObject* dispObj, u32 texture, GlobalContext* globalCtx);
-static void DebugDisplay_DrawPolygon(DebugDispObject* dispObj, u32 dlist, GlobalContext* globalCtx);
+void DebugDisplay_DrawSpriteI8(DebugDispObject* dispObj, u32 texture, GlobalContext* globalCtx);
+void DebugDisplay_DrawPolygon(DebugDispObject* dispObj, u32 dlist, GlobalContext* globalCtx);
static DebugDispObject_DrawFunc sDebugObjectDrawFuncTable[] = {
DebugDisplay_DrawSpriteI8,
@@ -70,7 +70,7 @@ void DebugDisplay_DrawObjects(GlobalContext* globalCtx) {
}
}
-static void DebugDisplay_DrawSpriteI8(DebugDispObject* dispObj, u32 texture, GlobalContext* globalCtx) {
+void DebugDisplay_DrawSpriteI8(DebugDispObject* dispObj, u32 texture, GlobalContext* globalCtx) {
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
Gfx* dispRefs[4];
@@ -95,7 +95,7 @@ static void DebugDisplay_DrawSpriteI8(DebugDispObject* dispObj, u32 texture, Glo
Graph_CloseDisps(dispRefs, globalCtx->state.gfxCtx, "../z_debug_display.c", 192);
}
-static void DebugDisplay_DrawPolygon(DebugDispObject* dispObj, u32 dlist, GlobalContext* globalCtx) {
+void DebugDisplay_DrawPolygon(DebugDispObject* dispObj, u32 dlist, GlobalContext* globalCtx) {
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
Gfx* dispRefs[4];