diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2025-05-25 19:10:03 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-25 19:10:03 -0700 |
| commit | 13d92a413bf8ca267d865e34cf74b608d2c0ed48 (patch) | |
| tree | c4736858a50df1126dde568b8117aefeb5495f9e /src | |
| parent | c99e2328ef952b7a443ac58a59950b8d637f7b16 (diff) | |
Misc Fixes (#1809)
* EnAn MsgScriptCallback
* Version check
* Write .extracted-assets.json to outputDir
* Fix m2ctx
* Fix boot_functions.csv
Diffstat (limited to 'src')
| -rw-r--r-- | src/overlays/actors/ovl_En_An/z_en_an.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/overlays/actors/ovl_En_An/z_en_an.h b/src/overlays/actors/ovl_En_An/z_en_an.h index 9273523b0..2ce8064e0 100644 --- a/src/overlays/actors/ovl_En_An/z_en_an.h +++ b/src/overlays/actors/ovl_En_An/z_en_an.h @@ -2,13 +2,15 @@ #define Z_EN_AN_H #include "global.h" + +#include "z64msgevent.h" + #include "assets/objects/object_an1/object_an1.h" struct EnAn; typedef void (*EnAnActionFunc)(struct EnAn*, PlayState*); typedef void (*EnAnDialogueFunc)(struct EnAn*, PlayState*); -typedef s32 (*MsgEventFunc)(Actor*, PlayState*); #define ENAN_8000 0x8000 @@ -87,7 +89,7 @@ typedef struct EnAn { /* 0x392 */ s16 mouthTexIndex; /* 0x394 */ s16 msgEventState; /* 0x396 */ s16 dialogueFuncState; - /* 0x398 */ MsgEventFunc msgScriptCallback; + /* 0x398 */ MsgScriptCallback msgScriptCallback; /* 0x39C */ s32 animIndex; // EnAnAnimation enum /* 0x3A0 */ UNK_TYPE1 unk_3A0[0x8]; /* 0x3A8 */ u32 trayTexScrollTimer1; // TwoTexScroll |
