summaryrefslogtreecommitdiff
path: root/src
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
parent444be435a9ac4da0a8bb5217700cebeaa0c7066c (diff)
downloadManaVerse-5b0636a4bf89b22ec5e18fd41f9c9d122034b7a8.tar.gz
ManaVerse-5b0636a4bf89b22ec5e18fd41f9c9d122034b7a8.tar.bz2
ManaVerse-5b0636a4bf89b22ec5e18fd41f9c9d122034b7a8.tar.xz
ManaVerse-5b0636a4bf89b22ec5e18fd41f9c9d122034b7a8.zip
Move spritereference.h into sprite directory.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
-rw-r--r--src/Makefile.am2
-rw-r--r--src/being/actorsprite.cpp3
-rw-r--r--src/client.cpp3
-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
14 files changed, 27 insertions, 17 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ac9d455ad..616a1fa8f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -739,7 +739,7 @@ SET(SRCS
resources/sprite/spritedef.cpp
enums/resources/spritedirection.h
resources/sprite/spritedisplay.h
- resources/spritereference.h
+ resources/sprite/spritereference.h
resources/subimage.cpp
resources/subimage.h
resources/surfaceimagehelper.cpp
@@ -1376,7 +1376,7 @@ SET(DYE_CMD_SRCS
resources/sprite/spritedef.cpp
resources/sprite/spritedef.h
resources/sprite/spritedisplay.h
- resources/spritereference.h
+ resources/sprite/spritereference.h
utils/files.cpp
utils/files.h
utils/mkdir.cpp
diff --git a/src/Makefile.am b/src/Makefile.am
index bb1435f84..8665aff0e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1171,7 +1171,7 @@ manaplus_SOURCES += main.cpp \
resources/equipmentslots.h \
resources/horseinfo.h \
resources/sprite/spritedisplay.h \
- resources/spritereference.h \
+ resources/sprite/spritereference.h \
resources/textureatlas.h \
resources/updatefile.h \
enums/resources/map/blockmask.h \
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp
index b819ef497..a19cae0a2 100644
--- a/src/being/actorsprite.cpp
+++ b/src/being/actorsprite.cpp
@@ -37,7 +37,8 @@
#include "particle/particle.h"
#include "resources/resourcemanager.h"
-#include "resources/spritereference.h"
+
+#include "resources/sprite/spritereference.h"
#include "utils/checkutils.h"
#include "utils/delete2.h"
diff --git a/src/client.cpp b/src/client.cpp
index c61d9ef2d..4f4f5279a 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -98,7 +98,8 @@
#include "resources/imagehelper.h"
#include "resources/resourcemanager.h"
-#include "resources/spritereference.h"
+
+#include "resources/sprite/spritereference.h"
#include "resources/db/avatardb.h"
#include "resources/db/badgesdb.h"
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