mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 15:01:17 +00:00
Doc Actor Rotation Functions (last 4 funcs in actor.c) (#1249)
* Cleanup functions * Rename functions * functions comments * fix apostrophes * Renames TurnTo -> Track, other review comments
This commit is contained in:
parent
451b24f79b
commit
b2752a6a2e
23 changed files with 97 additions and 73 deletions
|
@ -243,7 +243,7 @@ void EnDs_Update(Actor* thisx, PlayState* play) {
|
|||
this->actionFunc(this, play);
|
||||
|
||||
if (this->unk_1E8 & 1) {
|
||||
func_80038290(play, &this->actor, &this->unk_1D8, &this->unk_1DE, this->actor.focus.pos);
|
||||
Actor_TrackPlayer(play, &this->actor, &this->unk_1D8, &this->unk_1DE, this->actor.focus.pos);
|
||||
} else {
|
||||
Math_SmoothStepToS(&this->unk_1D8.x, 0, 6, 0x1838, 100);
|
||||
Math_SmoothStepToS(&this->unk_1D8.y, 0, 6, 0x1838, 100);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue