mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-06 22:30:15 +00:00
OnePointDemo OK (#719)
* matches * more matches * progress? * it's time * so close * organize declarations * docs * more fixes * more fixes * fix stage 1 * more fixes * first try * demo ids in decimal * final cleanup * one more thing * fixes * more cleanup * onepointcs * OnePointCutscene Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain>
This commit is contained in:
parent
28cfd82a4f
commit
9b4482314a
233 changed files with 3949 additions and 7571 deletions
|
@ -318,7 +318,7 @@ void EnBili_UpdateFloating(EnBili* this) {
|
|||
f32 baseHeight = CLAMP_MIN(this->actor.floorHeight, playerHeight);
|
||||
|
||||
Math_StepToF(&this->actor.home.pos.y, baseHeight + heightOffset, 1.0f);
|
||||
this->actor.world.pos.y = this->actor.home.pos.y + (sinf(this->timer * (M_PI * 0.0625f)) * 3.0f);
|
||||
this->actor.world.pos.y = this->actor.home.pos.y + (sinf(this->timer * (M_PI / 16)) * 3.0f);
|
||||
|
||||
// Turn around if touching wall
|
||||
if (this->actor.bgCheckFlags & 8) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue