mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 15:30:14 +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
|
@ -28,7 +28,7 @@ const ActorInit En_OE2_InitVars = {
|
|||
};
|
||||
|
||||
void EnOE2_SetupAction(EnOE2* this, ActorFunc actionFunc) {
|
||||
this->updateFunc = actionFunc;
|
||||
this->actionFunc = actionFunc;
|
||||
}
|
||||
|
||||
void EnOE2_Init(EnOE2* this, GlobalContext* globalCtx) {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
typedef struct {
|
||||
/* 0x0000 */ Actor actor;
|
||||
/* 0x014C */ char unk_14C[0x44];
|
||||
/* 0x0190 */ ActorFunc updateFunc;
|
||||
/* 0x0190 */ ActorFunc actionFunc;
|
||||
} EnOE2; // size = 0x0194
|
||||
|
||||
extern const ActorInit En_OE2_InitVars;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue