summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-12 02:29:07 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-12 15:33:36 +0300
commit11a49b50fb6c2ff20f62f39d8606f54770b6a295 (patch)
treeb53db1081ea5741cc9fe5c3a6dd426fffad803cc /src/gui/windows
parent2884c80ba3c986eb44c61ec5f973a6c8c6fd2207 (diff)
downloadmanaverse-11a49b50fb6c2ff20f62f39d8606f54770b6a295.tar.gz
manaverse-11a49b50fb6c2ff20f62f39d8606f54770b6a295.tar.bz2
manaverse-11a49b50fb6c2ff20f62f39d8606f54770b6a295.tar.xz
manaverse-11a49b50fb6c2ff20f62f39d8606f54770b6a295.zip
Fix code style
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/botcheckerwindow.h6
-rw-r--r--src/gui/windows/debugwindow.cpp2
-rw-r--r--src/gui/windows/inventorywindow.h1
-rw-r--r--src/gui/windows/killstats.cpp2
-rw-r--r--src/gui/windows/minimap.cpp3
-rw-r--r--src/gui/windows/ministatuswindow.cpp1
-rw-r--r--src/gui/windows/ministatuswindow.h4
-rw-r--r--src/gui/windows/questswindow.cpp2
-rw-r--r--src/gui/windows/quitdialog.cpp2
-rw-r--r--src/gui/windows/socialwindow.cpp2
10 files changed, 19 insertions, 6 deletions
diff --git a/src/gui/windows/botcheckerwindow.h b/src/gui/windows/botcheckerwindow.h
index 0c86b13b0..d4587665f 100644
--- a/src/gui/windows/botcheckerwindow.h
+++ b/src/gui/windows/botcheckerwindow.h
@@ -20,8 +20,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef GUI_BOTCHECKERWINDOW_H
-#define GUI_BOTCHECKERWINDOW_H
+#ifndef GUI_WINDOWS_BOTCHECKERWINDOW_H
+#define GUI_WINDOWS_BOTCHECKERWINDOW_H
#include "listeners/configlistener.h"
@@ -91,4 +91,4 @@ class BotCheckerWindow final : public Window,
extern BotCheckerWindow *botCheckerWindow;
-#endif // GUI_BOTCHECKERWINDOW_H
+#endif // GUI_WINDOWS_BOTCHECKERWINDOW_H
diff --git a/src/gui/windows/debugwindow.cpp b/src/gui/windows/debugwindow.cpp
index 438103f0a..c29abf090 100644
--- a/src/gui/windows/debugwindow.cpp
+++ b/src/gui/windows/debugwindow.cpp
@@ -40,6 +40,8 @@
#include "resources/imagehelper.h"
+#include "resources/map/map.h"
+
#include "net/packetcounters.h"
#include "utils/delete2.h"
diff --git a/src/gui/windows/inventorywindow.h b/src/gui/windows/inventorywindow.h
index 538d9a47d..84cbcd4bb 100644
--- a/src/gui/windows/inventorywindow.h
+++ b/src/gui/windows/inventorywindow.h
@@ -29,6 +29,7 @@
#include "listeners/actionlistener.h"
#include "listeners/attributelistener.h"
+#include "listeners/inventorylistener.h"
#include "listeners/keylistener.h"
#include "listeners/selectionlistener.h"
diff --git a/src/gui/windows/killstats.cpp b/src/gui/windows/killstats.cpp
index e9dd50d5d..0145d551f 100644
--- a/src/gui/windows/killstats.cpp
+++ b/src/gui/windows/killstats.cpp
@@ -34,6 +34,8 @@
#include "being/localplayer.h"
#include "being/playerinfo.h"
+#include "resources/map/map.h"
+
#include "utils/gettext.h"
#include "debug.h"
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp
index 81d52387b..ffaba0c2f 100644
--- a/src/gui/windows/minimap.cpp
+++ b/src/gui/windows/minimap.cpp
@@ -39,6 +39,9 @@
#include "resources/imagehelper.h"
#include "resources/resourcemanager.h"
+#include "resources/map/map.h"
+#include "resources/map/metatile.h"
+
#include "utils/delete2.h"
#include "utils/gettext.h"
#include "utils/sdlcheckutils.h"
diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp
index 1a8f463e5..d54954e78 100644
--- a/src/gui/windows/ministatuswindow.cpp
+++ b/src/gui/windows/ministatuswindow.cpp
@@ -24,6 +24,7 @@
#include "animatedsprite.h"
#include "configuration.h"
+#include "inventory.h"
#include "being/attributes.h"
#include "being/localplayer.h"
diff --git a/src/gui/windows/ministatuswindow.h b/src/gui/windows/ministatuswindow.h
index 7c16bb132..add4ea6b6 100644
--- a/src/gui/windows/ministatuswindow.h
+++ b/src/gui/windows/ministatuswindow.h
@@ -23,10 +23,9 @@
#ifndef GUI_WINDOWS_MINISTATUSWINDOW_H
#define GUI_WINDOWS_MINISTATUSWINDOW_H
-#include "inventory.h"
-
#include "listeners/arrowslistener.h"
#include "listeners/attributelistener.h"
+#include "listeners/inventorylistener.h"
#include "listeners/statlistener.h"
#include "listeners/updatestatuslistener.h"
@@ -36,6 +35,7 @@
class AnimatedSprite;
class Graphics;
+class Inventory;
class ProgressBar;
class StatusPopup;
class TextPopup;
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index b57ed9bd7..fdaccc2d9 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -46,6 +46,8 @@
#include "resources/beingcommon.h"
+#include "resources/map/map.h"
+
#include "debug.h"
enum QuestType
diff --git a/src/gui/windows/quitdialog.cpp b/src/gui/windows/quitdialog.cpp
index a1add2711..bc93bb2ae 100644
--- a/src/gui/windows/quitdialog.cpp
+++ b/src/gui/windows/quitdialog.cpp
@@ -42,6 +42,8 @@
#include "net/gamehandler.h"
#include "net/net.h"
+#include "resources/map/map.h"
+
#include "utils/gettext.h"
#include "utils/process.h"
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp
index 1cfc313b5..dbba86562 100644
--- a/src/gui/windows/socialwindow.cpp
+++ b/src/gui/windows/socialwindow.cpp
@@ -27,8 +27,8 @@
#include "guildmanager.h"
#include "party.h"
+#include "resources/map/map.h"
#include "resources/map/mapitem.h"
-#include "resources/map/maplayer.h"
#include "resources/map/speciallayer.h"
#include "being/localplayer.h"