summaryrefslogtreecommitdiff
path: root/include/field_weather.h
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2018-01-18 18:56:44 -0600
committercamthesaxman <cameronghall@cox.net>2018-01-18 18:56:44 -0600
commit6553903150b6ee262bead5d8c7c5b304bd323fb2 (patch)
tree6ebb9187c06db9fc02ce98d7a15988f02fd25860 /include/field_weather.h
parent58dd1c92ac6270d229c6762ca640118e4dd5e3cf (diff)
start labeling field_weather
Diffstat (limited to 'include/field_weather.h')
-rw-r--r--include/field_weather.h35
1 files changed, 22 insertions, 13 deletions
diff --git a/include/field_weather.h b/include/field_weather.h
index 267650a2a..2c56a5a40 100644
--- a/include/field_weather.h
+++ b/include/field_weather.h
@@ -29,11 +29,11 @@ struct Weather
u8 filler4A0[0x6B6-0x4A0];
s8 unknown_6B6;
u8 filler_6B7[0xC0-0xB7];
- s8 unknown_6C0;
- s8 unknown_6C1;
- u8 unknown_6C2;
- u8 unknown_6C3;
- u16 unknown_6C4;
+ s8 gammaIndex;
+ s8 gammaTargetIndex;
+ u8 gammaStepDelay;
+ u8 gammaStepFrameCounter;
+ u16 fadeDestColor;
u8 unknown_6C6;
u8 unknown_6C7;
u8 unknown_6C8;
@@ -128,18 +128,27 @@ void nullsub_38(void);
void sub_807CB10(void);
void sub_807CC24(void);
void sub_807CCAC(void);
-u8 sub_807CDC4(void);
-u8 sub_807CE24(void);
-u8 sub_807CE7C(void);
+u8 RainSnowShadeBlend_807CDC4(void);
+u8 DroughtBlend_807CE24(void);
+u8 Fog1Blend_807CE7C(void);
void nullsub_39(void);
// ASM
-void sub_807CEBC(u8, u8, s8);
-//void sub_807D1BC(u8, u8, u8, u8, u16);
-void sub_807D1BC(u8 a, u8 a2, s8 c, u8 d, u16 e);
-void sub_807D304(s8 a, u8 arg2, u16 c);
-void sub_807D424(u8, u16);
+void BlendSomething_807CEBC(u8, u8, s8);
+//void BlendSomething_807D1BC(u8, u8, u8, u8, u16);
+void BlendSomething_807D1BC(u8 a, u8 a2, s8 c, u8 d, u16 e);
+void BlendSomething_807D304(s8 a, u8 arg2, u16 c);
+void BlendSomething_807D424(u8, u16);
// ...
+
+enum
+{
+ FADE_FROM_BLACK,
+ FADE_TO_BLACK,
+ FADE_FROM_WHITE,
+ FADE_TO_WHITE,
+};
+
void fade_screen(u8, u8);
// ...
void sub_807D78C(u8 tag);