mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 07:20:16 +00:00
More actor cleanup Part 1 (#107)
* Fix naming and structs in z_en_item00.c and z_en_a_keep.c * Decompile init vars in z_en_item00.c and z_en_a_keep.c * Create missing .h files for the last few actors * Fix some collider member names in actor structs * Fix old actors not properly using "actionFunc" / "SetupAction" * Remove some local temporary actor structs * Fix some actor header includes to be absolute instead of relative
This commit is contained in:
parent
2b38920d7e
commit
3ca6082084
47 changed files with 625 additions and 582 deletions
|
@ -176,7 +176,7 @@ void ObjComb_Wait(ObjComb* this, GlobalContext* globalCtx) {
|
|||
|
||||
void ObjComb_Update(ObjComb* this, GlobalContext* globalCtx) {
|
||||
this->unk_1B2 += 12000;
|
||||
this->actionFunc(&this->actor, globalCtx);
|
||||
this->actionFunc(this, globalCtx);
|
||||
this->actor.shape.rot.x = Math_Sins(this->unk_1B2) * this->unk_1B0 + this->actor.initPosRot.rot.x;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue