mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 06:52:03 +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
|
@ -185,7 +185,7 @@ void EnJs_Update(Actor* thisx, PlayState* play) {
|
|||
}
|
||||
this->actionFunc(this, play);
|
||||
if (this->unk_284 & 1) {
|
||||
func_80038290(play, &this->actor, &this->unk_278, &this->unk_27E, this->actor.focus.pos);
|
||||
Actor_TrackPlayer(play, &this->actor, &this->unk_278, &this->unk_27E, this->actor.focus.pos);
|
||||
} else {
|
||||
Math_SmoothStepToS(&this->unk_278.x, 0, 6, 0x1838, 0x64);
|
||||
Math_SmoothStepToS(&this->unk_278.y, 0, 6, 0x1838, 0x64);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue