summaryrefslogtreecommitdiff
path: root/include/structures.h
diff options
context:
space:
mode:
authornotyouraveragehooman <65437533+notyouraveragehooman@users.noreply.github.com>2020-08-23 17:33:44 -0700
committerGitHub <noreply@github.com>2020-08-23 17:33:44 -0700
commitaa0faef704cf7e616ebcf7e1972545a335f31239 (patch)
tree47474c2548c6e7ae5e36701b3d87b77e3bcb56d8 /include/structures.h
parent8ab5503804436ee7e3ef202f596cd0fe5626a2a9 (diff)
parentcc4e8f9e451bc10bbc3362d77f888d38d0723334 (diff)
Merge pull request #70 from HookedBehemoth:townMinish
decompile town minish
Diffstat (limited to 'include/structures.h')
-rw-r--r--include/structures.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/include/structures.h b/include/structures.h
index 01456a44..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;
@@ -160,4 +160,18 @@ typedef struct {
} struct_02034480;
extern struct_02034480 gUnk_02034480;
+typedef struct {
+ 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