1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-06 14:20:11 +00:00

Add comments and macros to prevent match issues with formatting

This commit is contained in:
Roman971 2020-03-18 22:18:25 +01:00
parent 0704beba8d
commit 251aea64ab
9 changed files with 33 additions and 20 deletions

View file

@ -110,11 +110,8 @@ void func_8097C930(DemoGo* this)
s16* something = &this->unk_192;
s16* other = &this->unk_190;
s32 pad[3];
s16 phi_v0;
if (*something == 0) { phi_v0 = 0; } else { *something -= 1; phi_v0 = *something;}
if (phi_v0 == 0)
if (DECR(*something) == 0)
{
*something = Math_Rand_S16Offset(0x3C, 0x3C);
}

View file

@ -849,7 +849,10 @@ static void EnWallmas_DrawXlu(EnWallmas *this, GlobalContext *globalCtx)
return;
}
// clang-format off
gfxCtx = globalCtx->state.gfxCtx; func_800C6AC4(gfx, globalCtx->state.gfxCtx, "../z_en_wallmas.c", 1386);
// clang-format on
func_80094044(globalCtx->state.gfxCtx);
gDPSetPrimColor(gfxCtx->polyXlu.p++, 0, 0, 0x00, 0x00, 0x00, 0xFF);