mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 07:20:16 +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:
parent
f114df8929
commit
1425678d8a
477 changed files with 1817 additions and 792 deletions
|
@ -4,9 +4,13 @@
|
|||
#include <ultra64.h>
|
||||
#include <global.h>
|
||||
|
||||
typedef struct {
|
||||
struct EnSi;
|
||||
|
||||
typedef void (*EnSiActionFunc)(struct EnSi*, GlobalContext*);
|
||||
|
||||
typedef struct EnSi {
|
||||
/* 0x0000 */ Actor actor;
|
||||
/* 0x014C */ ActorFunc actionFunc;
|
||||
/* 0x014C */ EnSiActionFunc actionFunc;
|
||||
/* 0x0150 */ char unk_150[0x50];
|
||||
} EnSi; // size = 0x01A0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue