mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +00:00
Document Hud Mode (#1323)
* begin interface alpha docs * more progress/docs * First draft of docs done * cleanup * Consistency * Display -> Mode * Remaining display -> mode * Better docs * Small touchups * Small Update * Apply discord discussion * small fix * More discussions * PR Suggestions * Roman PR Suggestions * better comments * PR Suggestions * another suggestion * discord discussions * cleanup comments * more discord/pr suggestions
This commit is contained in:
parent
9bdf6ded2f
commit
9c35716fe2
28 changed files with 387 additions and 324 deletions
|
@ -165,8 +165,10 @@ void ObjLift_Shake(ObjLift* this, PlayState* play) {
|
|||
ObjLift_SetupFall(this);
|
||||
} else {
|
||||
this->shakeOrientation.x += 10000;
|
||||
this->dyna.actor.world.rot.x = (s16)(Math_SinS(this->shakeOrientation.x) * 300.0f) + this->dyna.actor.home.rot.x;
|
||||
this->dyna.actor.world.rot.z = (s16)(Math_CosS(this->shakeOrientation.x) * 300.0f) + this->dyna.actor.home.rot.z;
|
||||
this->dyna.actor.world.rot.x =
|
||||
(s16)(Math_SinS(this->shakeOrientation.x) * 300.0f) + this->dyna.actor.home.rot.x;
|
||||
this->dyna.actor.world.rot.z =
|
||||
(s16)(Math_CosS(this->shakeOrientation.x) * 300.0f) + this->dyna.actor.home.rot.z;
|
||||
this->dyna.actor.shape.rot.x = this->dyna.actor.world.rot.x;
|
||||
this->dyna.actor.shape.rot.z = this->dyna.actor.world.rot.z;
|
||||
this->shakeOrientation.y += 18000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue