summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-29 14:33:08 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-29 14:33:44 +0100
commit79f1fe1083f9514f383e846260a2190ced667cee (patch)
tree11f30a7dcece32793db8006b95083238fcc2eb2f /src/resources
parentaf0dc52db16a0e1a0d11fcba45e21dfbbedfce5c (diff)
downloadmana-79f1fe1083f9514f383e846260a2190ced667cee.tar.gz
mana-79f1fe1083f9514f383e846260a2190ced667cee.tar.bz2
mana-79f1fe1083f9514f383e846260a2190ced667cee.tar.xz
mana-79f1fe1083f9514f383e846260a2190ced667cee.zip
Removed unused includes in various files
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/hairdb.cpp2
-rw-r--r--src/resources/hairdb.h4
-rw-r--r--src/resources/itemdb.cpp4
-rw-r--r--src/resources/theme.cpp1
-rw-r--r--src/resources/userpalette.cpp5
5 files changed, 3 insertions, 13 deletions
diff --git a/src/resources/hairdb.cpp b/src/resources/hairdb.cpp
index 310ba0c4..ff301a23 100644
--- a/src/resources/hairdb.cpp
+++ b/src/resources/hairdb.cpp
@@ -23,8 +23,6 @@
#include "log.h"
-#include <cassert>
-
#define COLOR_WHITE "#ffffff"
diff --git a/src/resources/hairdb.h b/src/resources/hairdb.h
index 80c1bb7b..65cca496 100644
--- a/src/resources/hairdb.h
+++ b/src/resources/hairdb.h
@@ -22,10 +22,10 @@
#ifndef HAIR_MANAGER_H
#define HAIR_MANAGER_H
-#include "iteminfo.h"
-
#include <map>
+#include <set>
#include <string>
+#include <vector>
#include "utils/xml.h"
/**
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp
index 7297041f..cd027763 100644
--- a/src/resources/itemdb.cpp
+++ b/src/resources/itemdb.cpp
@@ -23,10 +23,8 @@
#include "log.h"
-#include "net/net.h"
-
#include "resources/hairdb.h"
-#include "resources/resourcemanager.h"
+#include "resources/iteminfo.h"
#include "utils/dtor.h"
#include "utils/gettext.h"
diff --git a/src/resources/theme.cpp b/src/resources/theme.cpp
index f4ea1902..8c758280 100644
--- a/src/resources/theme.cpp
+++ b/src/resources/theme.cpp
@@ -23,7 +23,6 @@
#include "resources/theme.h"
-#include "client.h"
#include "configuration.h"
#include "log.h"
diff --git a/src/resources/userpalette.cpp b/src/resources/userpalette.cpp
index 4ce9db66..16a19d19 100644
--- a/src/resources/userpalette.cpp
+++ b/src/resources/userpalette.cpp
@@ -23,15 +23,10 @@
#include "resources/userpalette.h"
#include "configuration.h"
-#include "client.h"
-
-#include "gui/gui.h"
#include "utils/gettext.h"
#include "utils/stringutils.h"
-#include <cmath>
-
static const std::string ColorTypeNames[] = {
"ColorBeing",
"ColorPlayer",