From 7f45d87f62eeef171d4873e95d1de8dfac2446af Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 24 Sep 2012 16:19:58 +0300 Subject: Fix compilation errors. --- src/resources/action.h | 3 ++- src/resources/ambientlayer.h | 2 ++ src/resources/animation.h | 2 ++ src/resources/colordb.h | 2 ++ src/resources/dye.h | 2 ++ src/resources/emotedb.h | 2 ++ src/resources/imagewriter.h | 2 ++ src/resources/music.h | 2 ++ src/resources/resourcemanager.h | 2 ++ src/resources/soundeffect.h | 2 ++ src/resources/wallpaper.h | 2 ++ 11 files changed, 22 insertions(+), 1 deletion(-) (limited to 'src/resources') diff --git a/src/resources/action.h b/src/resources/action.h index 0ad4ceaa1..dbb572ef3 100644 --- a/src/resources/action.h +++ b/src/resources/action.h @@ -25,8 +25,9 @@ #include -class Animation; +#include "localconsts.h" +class Animation; /** * An action consists of several animations, one for each direction. diff --git a/src/resources/ambientlayer.h b/src/resources/ambientlayer.h index a4890b24e..09767a472 100644 --- a/src/resources/ambientlayer.h +++ b/src/resources/ambientlayer.h @@ -22,6 +22,8 @@ #ifndef RESOURCES_AMBIENTOVERLAY_H #define RESOURCES_AMBIENTOVERLAY_H +#include "localconsts.h" + class Graphics; class Image; diff --git a/src/resources/animation.h b/src/resources/animation.h index ad4b1b187..55db8b717 100644 --- a/src/resources/animation.h +++ b/src/resources/animation.h @@ -26,6 +26,8 @@ #include #include +#include "localconsts.h" + class Image; /** diff --git a/src/resources/colordb.h b/src/resources/colordb.h index 1aa955d68..0ac7662ae 100644 --- a/src/resources/colordb.h +++ b/src/resources/colordb.h @@ -25,6 +25,8 @@ #include #include +#include "localconsts.h" + /** * Color information database. */ diff --git a/src/resources/dye.h b/src/resources/dye.h index c519d6aec..1655ce051 100644 --- a/src/resources/dye.h +++ b/src/resources/dye.h @@ -28,6 +28,8 @@ #include +#include "localconsts.h" + const int dyePalateSize = 9; const int sPaleteIndex = 7; const int aPaleteIndex = 8; diff --git a/src/resources/emotedb.h b/src/resources/emotedb.h index 1c210263a..bb4fbc4f5 100644 --- a/src/resources/emotedb.h +++ b/src/resources/emotedb.h @@ -27,6 +27,8 @@ #include #include +#include "localconsts.h" + class AnimatedSprite; struct EmoteSprite final diff --git a/src/resources/imagewriter.h b/src/resources/imagewriter.h index a95a53900..8603fa119 100644 --- a/src/resources/imagewriter.h +++ b/src/resources/imagewriter.h @@ -22,6 +22,8 @@ #include +#include "localconsts.h" + struct SDL_Surface; class ImageWriter final diff --git a/src/resources/music.h b/src/resources/music.h index 7e75ceaeb..e002f6b2f 100644 --- a/src/resources/music.h +++ b/src/resources/music.h @@ -27,6 +27,8 @@ #include +#include "localconsts.h" + /** * Defines a class for loading and storing music. */ diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index 7d6d38416..7ed510ac4 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -32,6 +32,8 @@ #include #include +#include "localconsts.h" + class AnimationDelayLoad; class Image; class ImageSet; diff --git a/src/resources/soundeffect.h b/src/resources/soundeffect.h index 203e3a8f8..6900669c9 100644 --- a/src/resources/soundeffect.h +++ b/src/resources/soundeffect.h @@ -27,6 +27,8 @@ #include +#include "localconsts.h" + /** * Defines a class for loading and storing sound effects. */ diff --git a/src/resources/wallpaper.h b/src/resources/wallpaper.h index 37168e093..b488595db 100644 --- a/src/resources/wallpaper.h +++ b/src/resources/wallpaper.h @@ -25,6 +25,8 @@ #include +#include "localconsts.h" + /** * Handles organizing and choosing of wallpapers. */ -- cgit v1.2.3-70-g09d2