mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 06:52:03 +00:00
Enable more IDO warnings and apply fixes (#1264)
* Update asm-processor and fix includes with EARLY * Enable more IDO warnings and disable unwanted warning 516 * Fix most new and remaining warnings * Improve skelanime comment * Improve asmproc pragma comment Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Add suggested comment for a wrong prototype * Update asm-processor with the latest fix Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
This commit is contained in:
parent
4cb1c3345f
commit
feadb0d9ee
30 changed files with 269 additions and 148 deletions
|
@ -160,7 +160,8 @@ void EnTp_Init(Actor* thisx, PlayState* play2) {
|
|||
next = (EnTp*)Actor_Spawn(&play->actorCtx, play, ACTOR_EN_TP, this->actor.world.pos.x,
|
||||
this->actor.world.pos.y, this->actor.world.pos.z, 0, 0, 0, 0 * i);
|
||||
|
||||
if (0 * i) {} // Very fake, but needed to get the s registers right
|
||||
if ((0 * i) != 0) {} // Very fake, but needed to get the s registers right
|
||||
|
||||
if (next != NULL) {
|
||||
now->actor.child = &next->actor;
|
||||
next->actor.parent = &now->actor;
|
||||
|
@ -176,7 +177,8 @@ void EnTp_Init(Actor* thisx, PlayState* play2) {
|
|||
next->timer = next->unk_15C = i * -5;
|
||||
next->horizontalVariation = 6.0f - (i * 0.75f);
|
||||
now = next;
|
||||
if (0 * i) {}
|
||||
|
||||
if ((0 * i) != 0) {}
|
||||
}
|
||||
}
|
||||
} else if (this->actor.params == TAILPASARAN_TAIL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue