mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-10 17:00:19 +00:00
Misc Cleanup 2 (#1007)
* Cleanup `UNK_TYPE`, `UNK_PTR` usage * Add some missing empty lines after declarations * Remove some legacy comments from non-matching times * Fix some grammar (mostly "it's"/"its") * Use proper names for two symbols after ZAPD bugfix * Cleanup `place_title_cards.xml` * Use `NULL` to check against `D_8012D260` pointer * Parentheses around some macro arguments * wip proofread headers up to z64animation.h
This commit is contained in:
parent
04a9d51e90
commit
669732abbe
104 changed files with 217 additions and 92 deletions
|
@ -63,7 +63,7 @@ void EffectSsBubble_Update(GlobalContext* globalCtx, u32 index, EffectSs* this)
|
|||
|
||||
waterSurfaceY = this->pos.y;
|
||||
|
||||
// kill bubble if its out of range of a water box
|
||||
// kill bubble if it's out of range of a water box
|
||||
if (!WaterBox_GetSurface1(globalCtx, &globalCtx->colCtx, this->pos.x, this->pos.z, &waterSurfaceY, &waterBox)) {
|
||||
this->life = -1;
|
||||
return;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#define rFadeDelay regs[6]
|
||||
#define rScaleStep regs[9]
|
||||
#define rObjBankIdx regs[10]
|
||||
#define rYAccelStep regs[11] // has no effect due to how its implemented
|
||||
#define rYAccelStep regs[11] // has no effect due to how it's implemented
|
||||
|
||||
u32 EffectSsDFire_Init(GlobalContext* globalCtx, u32 index, EffectSs* this, void* initParamsx);
|
||||
void EffectSsDFire_Draw(GlobalContext* globalCtx, u32 index, EffectSs* this);
|
||||
|
|
|
@ -59,7 +59,7 @@ u32 EffectSsGRipple_Init(GlobalContext* globalCtx, u32 index, EffectSs* this, vo
|
|||
return 1;
|
||||
}
|
||||
|
||||
void EffectSsGRipple_DrawRipple(GlobalContext* globalCtx, EffectSs* this, UNK_PTR segment) {
|
||||
void EffectSsGRipple_DrawRipple(GlobalContext* globalCtx, EffectSs* this, void* segment) {
|
||||
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
|
||||
f32 radius;
|
||||
s32 pad;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue