1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-10 08:50:23 +00:00

More actor cleanup Part 3 (#118)

* Add custom types for actor specific functions (like actions)

* Add a forward struct declaration for all other actors
This commit is contained in:
Roman971 2020-05-06 00:53:15 +02:00 committed by GitHub
parent f114df8929
commit 1425678d8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
477 changed files with 1817 additions and 792 deletions

View file

@ -30,11 +30,11 @@ void func_8097D29C(DemoGo* this, GlobalContext* globalCtx);
UNK_PTR D_8097D440[] = { 0x0600CE80, 0x0600D280, 0x0600D680 };
ActorFunc D_8097D44C[] = {
DemoGoActionFunc D_8097D44C[] = {
func_8097CFDC, func_8097CFFC, func_8097D01C, func_8097D058, func_8097D088, func_8097D0D0, func_8097D130,
};
ActorFunc D_8097D468[] = {
DemoGoDrawFunc D_8097D468[] = {
func_8097D290,
func_8097D29C,
};

View file

@ -4,7 +4,12 @@
#include <ultra64.h>
#include <global.h>
typedef struct {
struct DemoGo;
typedef void (*DemoGoActionFunc)(struct DemoGo*, GlobalContext*);
typedef void (*DemoGoDrawFunc)(struct DemoGo*, GlobalContext*);
typedef struct DemoGo {
/* 0x0000 */ Actor actor;
/* 0x014C */ SkelAnime skelAnime;
/* 0x0190 */ s16 unk_190;