Merge pull request #610 from joshuarwood/documented_zbuffer

Updated variable and function names for artifact handling
This commit is contained in:
fgsfds authored and GitHub committed 2025-05-12 16:43:07 +02:00
commit 8bfaaf63ed
9 files changed
+201 -87

No files matched your search

@@ -6,10 +6,10 @@
void artifactsClear(void);
void artifactsTick(void);
u16 func0f13c574(f32 arg0);
s32 func0f13c710(f32 arg0);
u16 floatToN64Depth(f32 arg0);
s32 artifactsFloatToInt(f32 arg0);
void artifactsCalculateGlaresForRoom(s32 roomnum);
u8 func0f13d3c4(u8 arg0, u8 arg1);
u8 artifactsClamp(u8 arg0, u8 arg1);
Gfx *artifactsConfigureForGlares(Gfx *gdl);
Gfx *artifactsUnconfigureForGlares(Gfx *gdl);
Gfx *artifactsRenderGlaresForRoom(Gfx *gdl, s32 roomnum);
+10 -8
View File
@@ -3494,17 +3494,19 @@ struct audioconfig {
struct artifact {
u16 type;
u16 unk02;
u16 unk04;
u16 unk06;
u16 *unk08;
u16 actualdepth;
u16 expecteddepth;
u16 *zbufptr;
#ifndef PLATFORM_N64
u16 visiblelos;
#endif
union {
u16 *u16p;
u16 *depthptr;
struct {
u16 u16_1;
u16 u16_2;
u16 screeny;
u16 screenx;
};
} unk0c;
};
struct light *light;
};