1
0
Fork 0
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:
Roman971 2020-05-01 20:26:16 +02:00 committed by GitHub
parent 2b38920d7e
commit 3ca6082084
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
47 changed files with 625 additions and 582 deletions

View file

@ -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) {

View file

@ -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;