mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 22:41:14 +00:00
gameplay_dangeon_keep (#665)
* xml done * add references in * missed a few * newline * review
This commit is contained in:
parent
61dacd0882
commit
0a1c16d440
46 changed files with 212 additions and 162 deletions
|
@ -62,7 +62,9 @@ void BgPushbox_Destroy(Actor* thisx, GlobalContext* globalCtx) {
|
|||
|
||||
void func_808A8BAC(BgPushbox* this, GlobalContext* globalCtx) {
|
||||
this->dyna.actor.speedXZ += this->dyna.unk_150 * 0.2f;
|
||||
this->dyna.actor.speedXZ = (this->dyna.actor.speedXZ < -1.0f) ? -1.0f : ((this->dyna.actor.speedXZ > 1.0f) ? 1.0f : this->dyna.actor.speedXZ);
|
||||
this->dyna.actor.speedXZ = (this->dyna.actor.speedXZ < -1.0f)
|
||||
? -1.0f
|
||||
: ((this->dyna.actor.speedXZ > 1.0f) ? 1.0f : this->dyna.actor.speedXZ);
|
||||
Math_StepToF(&this->dyna.actor.speedXZ, 0.0f, 0.2f);
|
||||
this->dyna.actor.world.rot.y = this->dyna.unk_158;
|
||||
Actor_MoveForward(&this->dyna.actor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue