Name and document z-buffer functions

This commit is contained in:
Ryan Dwyer
2023-05-14 09:23:24 +10:00
parent 7349c3b172
commit 73fc947f44
20 changed files with 143 additions and 101 deletions
+1 -1
View File
@@ -452,7 +452,7 @@ extern bool g_Jpn;
extern s32 g_LanguageId;
#endif
extern struct surfacetype *g_SurfaceTypes[15];
extern u16 *var800844f0;
extern u16 *g_ZbufPtr1;
extern f32 var800845d4;
extern struct coord var800845dc;
extern struct menudialogdef g_2PMissionInventoryHMenuDialog;
-15
View File
@@ -1,15 +0,0 @@
#ifndef IN_GAME_GAME_176080_H
#define IN_GAME_GAME_176080_H
#include <ultra64.h>
#include "data.h"
#include "types.h"
void *mblurGetAllocation(void);
void mblurReset(s32 stagenum);
void mblurAllocate(void);
void mblur0f176298(void);
Gfx *mblur0f1762ac(Gfx *gdl);
Gfx *mblur0f1763f4(Gfx *gdl);
Gfx *mblurRender(Gfx *gdl);
#endif
+15
View File
@@ -0,0 +1,15 @@
#ifndef IN_GAME_ZBUF_H
#define IN_GAME_ZBUF_H
#include <ultra64.h>
#include "data.h"
#include "types.h"
void *zbufGetAllocation(void);
void zbufReset(s32 stagenum);
void zbufAllocate(void);
void zbufSwap(void);
Gfx *zbufConfigureRdp(Gfx *gdl);
Gfx *zbufClear(Gfx *gdl);
Gfx *zbufDrawArtifactsOffscreen(Gfx *gdl);
#endif
+1 -1
View File
@@ -25,7 +25,7 @@ Gfx *vi0000af00(Gfx *gdl, Vp *vp);
Gfx *vi0000b0e8(Gfx *gdl, f32 fovy, f32 aspect);
Gfx *vi0000b1a8(Gfx *gdl);
Gfx *vi0000b1d0(Gfx *gdl);
Gfx *vi0000b280(Gfx *gdl);
Gfx *viPrepareZbuf(Gfx *gdl);
Gfx *viFillBuffer(Gfx *gdl);
Gfx *viRenderViewportEdges(Gfx *gdl);
void viSetBufSize(s16 width, s16 height);