summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-24 16:19:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-24 16:19:58 +0300
commit7f45d87f62eeef171d4873e95d1de8dfac2446af (patch)
tree5b05d83fb089257bb333c1525976cc172af8327b /src/resources
parentbd231fc40ca54f7dd2e091c5ab414f4cebb3b05e (diff)
downloadmanaverse-7f45d87f62eeef171d4873e95d1de8dfac2446af.tar.gz
manaverse-7f45d87f62eeef171d4873e95d1de8dfac2446af.tar.bz2
manaverse-7f45d87f62eeef171d4873e95d1de8dfac2446af.tar.xz
manaverse-7f45d87f62eeef171d4873e95d1de8dfac2446af.zip
Fix compilation errors.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/action.h3
-rw-r--r--src/resources/ambientlayer.h2
-rw-r--r--src/resources/animation.h2
-rw-r--r--src/resources/colordb.h2
-rw-r--r--src/resources/dye.h2
-rw-r--r--src/resources/emotedb.h2
-rw-r--r--src/resources/imagewriter.h2
-rw-r--r--src/resources/music.h2
-rw-r--r--src/resources/resourcemanager.h2
-rw-r--r--src/resources/soundeffect.h2
-rw-r--r--src/resources/wallpaper.h2
11 files changed, 22 insertions, 1 deletions
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 <map>
-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 <vector>
#include <string>
+#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 <map>
#include <string>
+#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 <SDL_stdinc.h>
+#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 <list>
#include <map>
+#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 <iosfwd>
+#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 <SDL_mixer.h>
+#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 <map>
#include <set>
+#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 <SDL_mixer.h>
+#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 <string>
+#include "localconsts.h"
+
/**
* Handles organizing and choosing of wallpapers.
*/