1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-22 15:01:17 +00:00

Name movement related functions in z_actor (#1476)

* rename functions

* dragorns name suggestions

* Revert "dragorns name suggestions"

This reverts commit dd4626ce5e.

* lets try that again

* reword comment

* comments

* projectile speed

* arg name

* more comments

* minVelY comment

* merge master and format
This commit is contained in:
fig02 2022-12-30 13:55:14 -05:00 committed by GitHub
parent 41e80b951b
commit e37b993483
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
191 changed files with 349 additions and 324 deletions

View file

@ -381,7 +381,7 @@ void EnNy_Update(Actor* thisx, PlayState* play) {
temp_f22 = (24.0f * temp_f20) + 12.0f;
this->actor.shape.rot.x += (s16)(this->unk_1E8 * 1000.0f);
func_80ABD3B8(this, temp_f22 + 10.0f, temp_f22 - 10.0f);
Actor_MoveForward(&this->actor);
Actor_MoveXZGravity(&this->actor);
Math_StepToF(&this->unk_1E4, this->unk_1E8, 0.1f);
this->actionFunc(this, play);
this->actor.prevPos.y -= temp_f22;
@ -512,7 +512,7 @@ void EnNy_UpdateUnused(Actor* thisx, PlayState* play2) {
CollisionCheck_SetAC(play, &play->colChkCtx, &this->collider.base);
CollisionCheck_SetOC(play, &play->colChkCtx, &this->collider.base);
Actor_MoveForward(&this->actor);
Actor_MoveXZGravity(&this->actor);
Math_StepToF(&this->unk_1E4, this->unk_1E8, 0.1f);
}
static Vec3f sFireOffsets[] = {