mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 14:34:32 +00:00
Fix misc 11 (#1209)
* Pass boolean for `freezeFlag` to `Actor_SetDropFlag` * Use `else if`s in `func_80835F44` * Cleanup `transitionCtx` usage of instance data * `TransitionContext.setEnvColor` -> `TransitionContext.setUnkColor` * Fixup one comment * linebreaks (#1) * Run formatter Co-authored-by: fig02 <fig02srl@gmail.com>
This commit is contained in:
parent
765cfd63e9
commit
ca77b26c90
35 changed files with 79 additions and 93 deletions
|
@ -1421,7 +1421,7 @@ void TransitionCircle_Draw(void* thisx, Gfx** gfxP);
|
|||
s32 TransitionCircle_IsDone(void* thisx);
|
||||
void TransitionCircle_SetType(void* thisx, s32 type);
|
||||
void TransitionCircle_SetColor(void* thisx, u32 color);
|
||||
void TransitionCircle_SetEnvColor(void* thisx, u32 color);
|
||||
void TransitionCircle_SetUnkColor(void* thisx, u32 color);
|
||||
void TransitionFade_Start(void* this);
|
||||
void* TransitionFade_Init(void* this);
|
||||
void TransitionFade_Destroy(void* this);
|
||||
|
|
|
@ -1101,8 +1101,7 @@ typedef struct {
|
|||
TransitionCircle circle;
|
||||
TransitionTriforce triforce;
|
||||
TransitionWipe wipe;
|
||||
char data[0x228];
|
||||
};
|
||||
} instanceData;
|
||||
/* 0x228 */ s32 transitionType;
|
||||
/* 0x22C */ void* (*init)(void* transition);
|
||||
/* 0x230 */ void (*destroy)(void* transition);
|
||||
|
@ -1111,7 +1110,7 @@ typedef struct {
|
|||
/* 0x23C */ void (*start)(void* transition);
|
||||
/* 0x240 */ void (*setType)(void* transition, s32 type);
|
||||
/* 0x244 */ void (*setColor)(void* transition, u32 color);
|
||||
/* 0x248 */ void (*setEnvColor)(void* transition, u32 color);
|
||||
/* 0x248 */ void (*setUnkColor)(void* transition, u32 color);
|
||||
/* 0x24C */ s32 (*isDone)(void* transition);
|
||||
} TransitionContext; // size = 0x250
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ typedef struct {
|
|||
|
||||
typedef struct {
|
||||
/* 0x000 */ Color_RGBA8_u32 color;
|
||||
/* 0x004 */ Color_RGBA8_u32 envColor;
|
||||
/* 0x004 */ Color_RGBA8_u32 unkColor;
|
||||
/* 0x008 */ s32 texX;
|
||||
/* 0x00C */ s32 texY;
|
||||
/* 0x010 */ s32 speed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue