mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-14 11:54:39 +00:00
Decompile some more of z_player_lib (#137)
* Progress on z_player_lib, Named fields in Player struct * More functions decompiled * Matched another function * A few more functions * Ran formatter * Rename some variables and add comments where appropriate, change types of unknowns * Create PlayerActionFunc type * Fix uncaught syntax error and issues from effects merge * Rename invincible to invincibilityTimer, refactor long comments in Player struct * Properly rename all occurences of invincibilityTimer
This commit is contained in:
parent
b8b334f90a
commit
5df0e9b6f8
13 changed files with 567 additions and 67 deletions
|
@ -8,7 +8,7 @@ void func_800432A0(CollisionContext* colCtx, u32 floorPolySource, Actor* actor)
|
|||
s16 v1 = colCtx->dyna.actorMeshArr[floorPolySource].rot2.y - colCtx->dyna.actorMeshArr[floorPolySource].rot1.y;
|
||||
|
||||
if (actor->id == 0) {
|
||||
((Player*)actor)->unk_83C += v1;
|
||||
((Player*)actor)->currentYaw += v1;
|
||||
}
|
||||
|
||||
actor->shape.rot.y += v1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue