summaryrefslogtreecommitdiff
path: root/include/field_weather.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-03-16 21:43:49 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-03-16 21:43:49 -0400
commit7610a2dfc25a811e2918998523dd3e9b36263750 (patch)
tree59a14371e5ccf67404af6917cdc52e498d804265 /include/field_weather.h
parent21e4406ab99098b6c3e42e8cfd033b41c8c225d1 (diff)
Port field_weather_effects from emerald
Diffstat (limited to 'include/field_weather.h')
-rw-r--r--include/field_weather.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/field_weather.h b/include/field_weather.h
index b4006b3ad..3dc17b072 100644
--- a/include/field_weather.h
+++ b/include/field_weather.h
@@ -137,5 +137,28 @@ void PreservePaletteInWeather(u8 palIdx);
void SetNextWeather(u8 weather);
void SetCurrentAndNextWeather(u8 weather);
+void Weather_SetBlendCoeffs(u8 eva, u8 evb);
+void Weather_SetTargetBlendCoeffs(u8 eva, u8 evb, int delay);
+bool8 Weather_UpdateBlend(void);
+void LoadCustomWeatherSpritePalette(const u16 *palette);
+void ResetDroughtWeatherPaletteLoading(void);
+bool8 LoadDroughtWeatherPalettes(void);
+void sub_807AC60(void);
+void sub_807AC98(void);
+void SetRainStrengthFromSoundEffect(u16 soundEffect);
+void sub_807A790(s8 gammaIndex);
+void sub_807A7C4(u8 gammaIndex, u8 gammaTargetIndex, u8 gammaStepDelay);
+
+extern const u16 gCloudsWeatherPalette[];
+extern const u16 gSandstormWeatherPalette[];
+extern const u8 gWeatherFogDiagonalTiles[];
+extern const u8 gWeatherFogHorizontalTiles[];
+extern const u8 gWeatherCloudTiles[];
+extern const u8 gWeatherSnow1Tiles[];
+extern const u8 gWeatherSnow2Tiles[];
+extern const u8 gWeatherBubbleTiles[];
+extern const u8 gWeatherAshTiles[];
+extern const u8 gWeatherRainTiles[];
+extern const u8 gWeatherSandstormTiles[];
#endif // GUARD_WEATHER_H