1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-13 11:24:40 +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

@ -6,7 +6,7 @@ void Sample_Calc(SampleContext* this)
{
if (!~(this->state.input[0].padPressed | ~START_BUTTON))
{
this->state.init = func_800BCA64; this->state.size = sizeof(GlobalContext);
SET_NEXT_GAMESTATE(&this->state, func_800BCA64, GlobalContext);
this->state.running = false;
}
}
@ -73,9 +73,10 @@ void Sample_SetupView(SampleContext* this)
gfxCtx = this->state.gfxCtx;
func_800AA278(view, gfxCtx);
// clang-format off
v0[1] = SCREEN_HEIGHT; v0[3] = SCREEN_WIDTH;
v0[0] = 0;
v0[2] = 0;
v0[0] = 0; v0[2] = 0;
// clang-format on
func_800AA4FC(view, &v0);
func_800AA460(view, 60, 10, 12800);