summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-16 00:33:49 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-16 00:33:49 +0300
commit40febfccbf3dd499bd857ce07a839808061432c5 (patch)
treea29703043a9ff74329ea8b4b28d0e4f6a0e2643c /src
parentea556923196e3cae6613e39f44387d68b6c9eded (diff)
downloadmv-40febfccbf3dd499bd857ce07a839808061432c5.tar.gz
mv-40febfccbf3dd499bd857ce07a839808061432c5.tar.bz2
mv-40febfccbf3dd499bd857ce07a839808061432c5.tar.xz
mv-40febfccbf3dd499bd857ce07a839808061432c5.zip
remove unused includes from particles and some other files.
Diffstat (limited to 'src')
-rw-r--r--src/auctionmanager.cpp5
-rw-r--r--src/avatar.cpp4
-rw-r--r--src/chatlogger.cpp1
-rw-r--r--src/particle/animationparticle.cpp2
-rw-r--r--src/particle/imageparticle.cpp2
-rw-r--r--src/particle/particle.cpp6
-rw-r--r--src/particle/particle.h1
-rw-r--r--src/particle/rotationalparticle.cpp2
-rw-r--r--src/text.h2
9 files changed, 1 insertions, 24 deletions
diff --git a/src/auctionmanager.cpp b/src/auctionmanager.cpp
index c083c9252..0fd3441d5 100644
--- a/src/auctionmanager.cpp
+++ b/src/auctionmanager.cpp
@@ -20,17 +20,12 @@
#include "auctionmanager.h"
-#include "actorspritemanager.h"
#include "client.h"
#include "configuration.h"
-#include "being/localplayer.h"
-
#include "net/chathandler.h"
#include "net/net.h"
-#include "utils/gettext.h"
-
#include "debug.h"
bool AuctionManager::mEnableAuctionBot = false;
diff --git a/src/avatar.cpp b/src/avatar.cpp
index 41de4b3b7..f05e715ad 100644
--- a/src/avatar.cpp
+++ b/src/avatar.cpp
@@ -22,9 +22,7 @@
#include "avatar.h"
-#include "being/localplayer.h"
-
-#include <sstream>
+#include "being/being.h"
#include "debug.h"
diff --git a/src/chatlogger.cpp b/src/chatlogger.cpp
index 778b0c31e..2f3bc457b 100644
--- a/src/chatlogger.cpp
+++ b/src/chatlogger.cpp
@@ -32,7 +32,6 @@
#include <Carbon/Carbon.h>
#endif
-#include "logger.h"
#include "configuration.h"
#include "utils/mkdir.h"
#include "utils/physfstools.h"
diff --git a/src/particle/animationparticle.cpp b/src/particle/animationparticle.cpp
index bc88e5d95..bfa1d6c7f 100644
--- a/src/particle/animationparticle.cpp
+++ b/src/particle/animationparticle.cpp
@@ -24,8 +24,6 @@
#include "simpleanimation.h"
-#include "render/graphics.h"
-
#include "debug.h"
AnimationParticle::AnimationParticle(Map *const map,
diff --git a/src/particle/imageparticle.cpp b/src/particle/imageparticle.cpp
index b8fd5bc94..cd2f8d48b 100644
--- a/src/particle/imageparticle.cpp
+++ b/src/particle/imageparticle.cpp
@@ -22,8 +22,6 @@
#include "particle/imageparticle.h"
-#include "logger.h"
-
#include "render/graphics.h"
#include "resources/image.h"
diff --git a/src/particle/particle.cpp b/src/particle/particle.cpp
index fa07fb235..70c9a367c 100644
--- a/src/particle/particle.cpp
+++ b/src/particle/particle.cpp
@@ -25,7 +25,6 @@
#include "configuration.h"
#include "resources/dye.h"
#include "logger.h"
-#include "map.h"
#include "particle/animationparticle.h"
#include "particle/particleemitter.h"
@@ -34,14 +33,9 @@
#include "resources/resourcemanager.h"
-#include "gui/sdlfont.h"
-
#include "utils/dtor.h"
#include "utils/mathutils.h"
-#include <guichan/color.hpp>
-
-#include <algorithm>
#include <cmath>
#include "debug.h"
diff --git a/src/particle/particle.h b/src/particle/particle.h
index 116dd875a..4a95edd68 100644
--- a/src/particle/particle.h
+++ b/src/particle/particle.h
@@ -33,7 +33,6 @@
class Map;
class Particle;
class ParticleEmitter;
-class SDLFont;
namespace gcn
{
diff --git a/src/particle/rotationalparticle.cpp b/src/particle/rotationalparticle.cpp
index b72a94b3e..a6588acba 100644
--- a/src/particle/rotationalparticle.cpp
+++ b/src/particle/rotationalparticle.cpp
@@ -24,8 +24,6 @@
#include "simpleanimation.h"
-#include "render/graphics.h"
-
#include <math.h>
#include "debug.h"
diff --git a/src/text.h b/src/text.h
index e515b3dc5..4efc63163 100644
--- a/src/text.h
+++ b/src/text.h
@@ -30,8 +30,6 @@
#include "localconsts.h"
-class TextManager;
-
class Text
{
friend class TextManager;