mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-09 00:00:44 +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,10 +4,14 @@
|
|||
#include <ultra64.h>
|
||||
#include <global.h>
|
||||
|
||||
typedef struct {
|
||||
struct ObjWarp2block;
|
||||
|
||||
typedef void (*ObjWarp2blockActionFunc)(struct ObjWarp2block*, GlobalContext*);
|
||||
|
||||
typedef struct ObjWarp2block {
|
||||
/* 0x0000 */ DynaPolyActor dyna;
|
||||
/* 0x0164 */ ActorFunc actionFunc_164;
|
||||
/* 0x0168 */ ActorFunc actionFunc_168;
|
||||
/* 0x0164 */ ObjWarp2blockActionFunc actionFunc_164;
|
||||
/* 0x0168 */ ObjWarp2blockActionFunc actionFunc_168;
|
||||
/* 0x016C */ char unk_16C[0xC];
|
||||
} ObjWarp2block; // size = 0x0178
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue