summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-19 22:50:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-19 22:50:16 +0300
commitc65cb0d97fbaa37f531d6fb47ce9d798b001b637 (patch)
treecce1030add4a837913b9e730a5550a67d03d236e /src/resources/db
parent3d236906de18c846aa052f1d4cef1b0686a43854 (diff)
downloadplus-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.gz
plus-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.bz2
plus-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.xz
plus-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.zip
fix code style.
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/emotedb.h5
-rw-r--r--src/resources/db/itemdb.cpp3
-rw-r--r--src/resources/db/itemdb.h7
3 files changed, 8 insertions, 7 deletions
diff --git a/src/resources/db/emotedb.h b/src/resources/db/emotedb.h
index 699ea7732..cc769801b 100644
--- a/src/resources/db/emotedb.h
+++ b/src/resources/db/emotedb.h
@@ -22,15 +22,10 @@
#ifndef RESOURCES_DB_EMOTEDB_H
#define RESOURCES_DB_EMOTEDB_H
-#include "utils/stringvector.h"
-
-#include <list>
#include <map>
#include "localconsts.h"
-class AnimatedSprite;
-
struct EmoteInfo;
struct EmoteSprite;
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index f20db0c76..4987fb5ae 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -29,8 +29,11 @@
#include "resources/beingcommon.h"
#include "resources/iteminfo.h"
+#include "resources/spritedef.h"
#include "resources/spritereference.h"
+#include "resources/db/itemdbstat.h"
+
#include "utils/delete2.h"
#include "utils/dtor.h"
#include "utils/gettext.h"
diff --git a/src/resources/db/itemdb.h b/src/resources/db/itemdb.h
index 5328ecc59..5491e3ad4 100644
--- a/src/resources/db/itemdb.h
+++ b/src/resources/db/itemdb.h
@@ -25,14 +25,17 @@
#include "utils/stringvector.h"
-#include "resources/db/itemdbstat.h"
-
#include <map>
#include "localconsts.h"
class ItemInfo;
+namespace ItemDB
+{
+ struct Stat;
+}
+
/**
* Item information database.
*/