diff options
| author | Behemoth <Luisscheurenbrand@gmail.com> | 2020-08-22 14:52:00 +0200 |
|---|---|---|
| committer | Behemoth <Luisscheurenbrand@gmail.com> | 2020-08-22 14:53:10 +0200 |
| commit | eaabe77cdcf28d2e5ff0ef0a599cf8ee6b0325dd (patch) | |
| tree | 97ba8dba41529a38f08607f505fbdec45edc464b | |
| parent | 7af023e11f51f4ec9fe6992f1b4341d125e950ff (diff) | |
correct dialog struct
| -rw-r--r-- | include/structures.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/include/structures.h b/include/structures.h index 7878db75..b6d348a9 100644 --- a/include/structures.h +++ b/include/structures.h @@ -23,7 +23,7 @@ typedef struct { } struct_0807D1C4; #define gUnk_02000000 ((struct_02000000*)(0x2000000)) -//extern struct_02000000 gUnk_02000000; +// extern struct_02000000 gUnk_02000000; typedef struct { u8 filler0[0x4]; @@ -57,7 +57,7 @@ typedef struct { extern SaveFile gUnk_02002A40; typedef struct { - u32 frameCount; // regular frame count? does anything reset it? + u32 frameCount; // regular frame count? does anything reset it? u8 field_0x4[0x4]; bool8 transitioningOut; u8 transitionType; // transition when changing areas @@ -123,7 +123,7 @@ typedef struct { u8 field_0x2; u8 field_0x3; u32 field_0x4; - u16 fadeType; // fade in or out, are there others? + u16 fadeType; // fade in or out, are there others? u16 fadeSpeed; // subtracted from duration u16 fadeDuration; u16 field_0xe; @@ -161,8 +161,17 @@ typedef struct { extern struct_02034480 gUnk_02034480; typedef struct { - u32 field_0x0; - u32 field_0x4; + u32 flag : 12; + u32 flagType : 4; + u32 type : 4; + u32 unk : 1; + union { + struct { + u16 a; + u16 b; + } indices; + void (*func)(Entity*); + } data; } Dialog; #endif |
