mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 07:20:16 +00:00
Change Colors To Decimal (#260)
* fix colliderinit typo * convert as many colors i can find to decimal * fix GPACK_RGBA5551, merge fhgFire * fix remaining colors * remove unwanted file * alpha as 1
This commit is contained in:
parent
bc14f6d93e
commit
24ab14f748
71 changed files with 771 additions and 743 deletions
|
@ -140,14 +140,14 @@ void func_809C2324(GlobalContext* globalCtx, Gfx* dList, s32 alpha) {
|
|||
|
||||
Graph_OpenDisps(dispRefs, globalCtx->state.gfxCtx, "../z_en_blkobj.c", 322);
|
||||
|
||||
if (alpha == 0xFF) {
|
||||
if (alpha == 255) {
|
||||
segment = D_809C2590;
|
||||
} else {
|
||||
segment = D_809C25A0;
|
||||
}
|
||||
|
||||
gSPSegment(gfxCtx->polyXlu.p++, 0x08, segment);
|
||||
gDPSetEnvColor(gfxCtx->polyXlu.p++, 0x00, 0x00, 0x00, alpha);
|
||||
gDPSetEnvColor(gfxCtx->polyXlu.p++, 0, 0, 0, alpha);
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, dList);
|
||||
|
||||
Graph_CloseDisps(dispRefs, globalCtx->state.gfxCtx, "../z_en_blkobj.c", 330);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue