Add weather.h

This commit is contained in:
SatoMew
2019-05-17 15:34:34 +01:00
parent cfc43d1111
commit 333d2f37a8
4 changed files with 22 additions and 19 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
#include "constants/maps.h"
@#include "constants/secret_bases.h"
#include "constants/vars.h"
@#include "constants/weather.h"
#include "constants/weather.h"
@#include "constants/trainer_hill.h"
.include "asm/macros.inc"
.include "constants/constants.inc"
+1 -2
View File
@@ -1,11 +1,10 @@
#include "constants/layouts.h"
@#include "constants/map_types.h"
#include "constants/maps.h"
@#include "constants/weather.h"
#include "constants/region_map.h"
#include "constants/songs.h"
#include "constants/items.h"
@#include "constants/weather.h"
#include "constants/weather.h"
.include "asm/macros.inc"
.include "constants/constants.inc"
-16
View File
@@ -40,20 +40,4 @@
#define MAP_TYPE_8 8
#define MAP_TYPE_9 9
#define WEATHER_NONE 0
#define WEATHER_SUNNY_CLOUDS 1 // unused
#define WEATHER_SUNNY 2
#define WEATHER_RAIN 3 // unused
#define WEATHER_SNOW 4 // unused
#define WEATHER_RAIN_THUNDERSTORM 5 // unused
#define WEATHER_FOG_HORIZONTAL 6
#define WEATHER_VOLCANIC_ASH 7 // unused
#define WEATHER_SANDSTORM 8 // unused
#define WEATHER_FOG_DIAGONAL 9 // unused
#define WEATHER_UNDERWATER 10 // unused
#define WEATHER_CLOUDY 11
#define WEATHER_DROUGHT 12 // unused and broken in overworld
#define WEATHER_DOWNPOUR 13 // unused
#define WEATHER_UNDERWATER_BUBBLES 14 // unused
#endif // GUARD_CONSTANTS_MAPS_H
+20
View File
@@ -0,0 +1,20 @@
#ifndef GUARD_CONSTANTS_WEATHER_H
#define GUARD_CONSTANTS_WEATHER_H
#define WEATHER_NONE 0
#define WEATHER_SUNNY_CLOUDS 1 // unused
#define WEATHER_SUNNY 2
#define WEATHER_RAIN 3 // unused
#define WEATHER_SNOW 4 // unused
#define WEATHER_RAIN_THUNDERSTORM 5 // unused
#define WEATHER_FOG_HORIZONTAL 6
#define WEATHER_VOLCANIC_ASH 7 // unused
#define WEATHER_SANDSTORM 8 // unused
#define WEATHER_FOG_DIAGONAL 9 // unused
#define WEATHER_UNDERWATER 10 // unused
#define WEATHER_CLOUDY 11
#define WEATHER_DROUGHT 12 // unused and broken in overworld
#define WEATHER_DOWNPOUR 13 // unused
#define WEATHER_UNDERWATER_BUBBLES 14 // unused
#endif // GUARD_CONSTANTS_WEATHER_H