summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-20 18:18:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-20 18:18:10 +0300
commit5b0636a4bf89b22ec5e18fd41f9c9d122034b7a8 (patch)
treee2e5c1146dc13cb5b0e363ae3674106b369db6ed /src/resources
parent444be435a9ac4da0a8bb5217700cebeaa0c7066c (diff)
downloadmanaplus-5b0636a4bf89b22ec5e18fd41f9c9d122034b7a8.tar.gz
manaplus-5b0636a4bf89b22ec5e18fd41f9c9d122034b7a8.tar.bz2
manaplus-5b0636a4bf89b22ec5e18fd41f9c9d122034b7a8.tar.xz
manaplus-5b0636a4bf89b22ec5e18fd41f9c9d122034b7a8.zip
Move spritereference.h into sprite directory.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/beingcommon.cpp3
-rw-r--r--src/resources/beinginfo.cpp3
-rw-r--r--src/resources/db/avatardb.cpp3
-rw-r--r--src/resources/db/itemdb.cpp3
-rw-r--r--src/resources/db/npcdb.cpp3
-rw-r--r--src/resources/db/petdb.cpp3
-rw-r--r--src/resources/db/skillunitdb.cpp3
-rw-r--r--src/resources/horseinfo.h2
-rw-r--r--src/resources/sprite/spritedef.cpp3
-rw-r--r--src/resources/sprite/spritereference.h (renamed from src/resources/spritereference.h)6
10 files changed, 20 insertions, 12 deletions
diff --git a/src/resources/beingcommon.cpp b/src/resources/beingcommon.cpp
index 3025e658c..fcd51362b 100644
--- a/src/resources/beingcommon.cpp
+++ b/src/resources/beingcommon.cpp
@@ -28,7 +28,8 @@
#include "utils/files.h"
#include "resources/beinginfo.h"
-#include "resources/spritereference.h"
+
+#include "resources/sprite/spritereference.h"
#include <algorithm>
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp
index 7bb5685ad..9d0820bf5 100644
--- a/src/resources/beinginfo.cpp
+++ b/src/resources/beinginfo.cpp
@@ -30,7 +30,8 @@
#include "enums/resources/map/blockmask.h"
#include "resources/attack.h"
-#include "resources/spritereference.h"
+
+#include "resources/sprite/spritereference.h"
#include "resources/db/colordb.h"
diff --git a/src/resources/db/avatardb.cpp b/src/resources/db/avatardb.cpp
index 358cfea48..302697a80 100644
--- a/src/resources/db/avatardb.cpp
+++ b/src/resources/db/avatardb.cpp
@@ -26,7 +26,8 @@
#include "resources/beingcommon.h"
#include "resources/beinginfo.h"
-#include "resources/spritereference.h"
+
+#include "resources/sprite/spritereference.h"
#include "utils/dtor.h"
#include "utils/gettext.h"
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index 5429698f1..7de8347fb 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -32,7 +32,8 @@
#include "resources/beingcommon.h"
#include "resources/iteminfo.h"
#include "resources/itemtypemapdata.h"
-#include "resources/spritereference.h"
+
+#include "resources/sprite/spritereference.h"
#include "resources/db/itemdbstat.h"
diff --git a/src/resources/db/npcdb.cpp b/src/resources/db/npcdb.cpp
index 1d2cf4899..057d9bc2c 100644
--- a/src/resources/db/npcdb.cpp
+++ b/src/resources/db/npcdb.cpp
@@ -27,7 +27,8 @@
#include "resources/beingcommon.h"
#include "resources/beinginfo.h"
-#include "resources/spritereference.h"
+
+#include "resources/sprite/spritereference.h"
#include "utils/dtor.h"
#include "utils/gettext.h"
diff --git a/src/resources/db/petdb.cpp b/src/resources/db/petdb.cpp
index f219a6889..ee5a398a9 100644
--- a/src/resources/db/petdb.cpp
+++ b/src/resources/db/petdb.cpp
@@ -27,7 +27,8 @@
#include "resources/beingcommon.h"
#include "resources/beinginfo.h"
-#include "resources/spritereference.h"
+
+#include "resources/sprite/spritereference.h"
#include "utils/gettext.h"
#include "utils/dtor.h"
diff --git a/src/resources/db/skillunitdb.cpp b/src/resources/db/skillunitdb.cpp
index a92748f45..ffd693b7b 100644
--- a/src/resources/db/skillunitdb.cpp
+++ b/src/resources/db/skillunitdb.cpp
@@ -27,7 +27,8 @@
#include "resources/beingcommon.h"
#include "resources/beinginfo.h"
-#include "resources/spritereference.h"
+
+#include "resources/sprite/spritereference.h"
#include "utils/gettext.h"
#include "utils/dtor.h"
diff --git a/src/resources/horseinfo.h b/src/resources/horseinfo.h
index 11cca4c8f..00eb96b28 100644
--- a/src/resources/horseinfo.h
+++ b/src/resources/horseinfo.h
@@ -22,7 +22,7 @@
#ifndef RESOURCES_HORSEINFO_H
#define RESOURCES_HORSEINFO_H
-#include "resources/spritereference.h"
+#include "resources/sprite/spritereference.h"
#include "localconsts.h"
diff --git a/src/resources/sprite/spritedef.cpp b/src/resources/sprite/spritedef.cpp
index 453da9f28..dda4a8378 100644
--- a/src/resources/sprite/spritedef.cpp
+++ b/src/resources/sprite/spritedef.cpp
@@ -35,7 +35,8 @@
#include "resources/dye.h"
#include "resources/imageset.h"
#include "resources/resourcemanager.h"
-#include "resources/spritereference.h"
+
+#include "resources/sprite/spritereference.h"
#include "debug.h"
diff --git a/src/resources/spritereference.h b/src/resources/sprite/spritereference.h
index a68b0d792..734bcf673 100644
--- a/src/resources/spritereference.h
+++ b/src/resources/sprite/spritereference.h
@@ -20,8 +20,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef RESOURCES_SPRITEREFERENCE_H
-#define RESOURCES_SPRITEREFERENCE_H
+#ifndef RESOURCES_SPRITE_SPRITEREFERENCE_H
+#define RESOURCES_SPRITE_SPRITEREFERENCE_H
#include "utils/stringvector.h"
@@ -50,4 +50,4 @@ struct SpriteReference final
typedef std::vector<SpriteReference*>::const_iterator SpriteRefs;
-#endif // RESOURCES_SPRITEREFERENCE_H
+#endif // RESOURCES_SPRITE_SPRITEREFERENCE_H