diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2022-02-27 22:21:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-27 16:21:26 -0500 |
| commit | dfbc356cdf36ca5e68ae60f3d2fc0431c1965524 (patch) | |
| tree | ebd307f81030a9b64caf6438a303d04ef7285812 /include | |
| parent | 2306e094b28620f0e323bf4af61f8e00450e38fa (diff) | |
Document vismono (#1107)
* Document and explain vismono
* Make it more clear "CFB" means Color Frame Buffer
* Rename: Update DList/TLUT -> Desaturate DList/TLUT
Diffstat (limited to 'include')
| -rw-r--r-- | include/functions.h | 3 | ||||
| -rw-r--r-- | include/ultra64/gbi.h | 1 | ||||
| -rw-r--r-- | include/z64.h | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/include/functions.h b/include/functions.h index fe0a927a9..e6b721f5d 100644 --- a/include/functions.h +++ b/include/functions.h @@ -1381,10 +1381,7 @@ void func_800ACE90(struct_801664F0* this); void func_800ACE98(struct_801664F0* this, Gfx** gfxp); void VisMono_Init(VisMono* this); void VisMono_Destroy(VisMono* this); -void VisMono_UpdateTexture(VisMono* this, u16* tex); -Gfx* VisMono_DrawTexture(VisMono* this, Gfx* gfx); void VisMono_Draw(VisMono* this, Gfx** gfxp); -void VisMono_DrawOld(VisMono* this); void func_800AD920(struct_80166500* this); void func_800AD950(struct_80166500* this); void func_800AD958(struct_80166500* this, Gfx** gfxp); diff --git a/include/ultra64/gbi.h b/include/ultra64/gbi.h index 82b3589ae..4849c590c 100644 --- a/include/ultra64/gbi.h +++ b/include/ultra64/gbi.h @@ -218,6 +218,7 @@ #define GPACK_RGBA5551(r, g, b, a) ((((r)<<8) & 0xf800) | \ (((g)<<3) & 0x7c0) | \ (((b)>>2) & 0x3e) | ((a) & 0x1)) +#define GPACK_IA16(i, a) (((i) << 8) | (a)) #define GPACK_ZDZ(z, dz) ((z) << 2 | (dz)) /* diff --git a/include/z64.h b/include/z64.h index c97508796..063c188d7 100644 --- a/include/z64.h +++ b/include/z64.h @@ -1829,7 +1829,7 @@ typedef struct { /* 0x08 */ Color_RGBA8_u32 primColor; /* 0x0C */ Color_RGBA8_u32 envColor; /* 0x10 */ u16* tlut; - /* 0x14 */ Gfx* monoDl; + /* 0x14 */ Gfx* dList; } VisMono; // size = 0x18 // Vis... |
