summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/engine.cpp2
-rw-r--r--src/gui/char_select.cpp2
-rw-r--r--src/gui/inventorywindow.cpp2
-rw-r--r--src/gui/skill.cpp7
-rw-r--r--src/gui/skill.h8
-rw-r--r--src/gui/stats.cpp2
-rw-r--r--src/gui/status.cpp2
8 files changed, 24 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a336938..b1d3e8fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -43,6 +43,10 @@
src/resources/resourcemanager.cpp, src/resources/resourcemanager.h,
src/resources/soundeffect.h: Huge header cleanup, removing nearly all
#include's from headers to reduce dependencies and compile time.
+ * src/engine.cpp, src/gui/char_select.cpp, src/gui/inventorywindow.cpp,
+ src/gui/skill.cpp, src/gui/skill.h, src/gui/stats.cpp, src/gui/status.cpp:
+ Another small header cleanup, should also solve compilation problems on
+ windows.
2005-08-13 Eugenio Favalli <elvenprogrammer@gmail.com>
diff --git a/src/engine.cpp b/src/engine.cpp
index 7dd70b07..a14b04f6 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -25,6 +25,8 @@
#include <sstream>
+#include <guichan/widgets/label.hpp>
+
#include "being.h"
#include "configuration.h"
#include "floor_item.h"
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp
index 245d11c7..8ed24bde 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -27,6 +27,8 @@
#include <guichan/sdl/sdlinput.hpp>
+#include <guichan/widgets/label.hpp>
+
#include "button.h"
#include "gui.h"
#include "ok_dialog.h"
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 81b4b7b6..d13fa35d 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -25,6 +25,8 @@
#include <string>
+#include <guichan/widgets/label.hpp>
+
#include "button.h"
#include "item_amount.h"
#include "itemcontainer.h"
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp
index b10ecda8..ebacf761 100644
--- a/src/gui/skill.cpp
+++ b/src/gui/skill.cpp
@@ -22,10 +22,15 @@
*/
#include "skill.h"
+
+#include <guichan/widgets/label.hpp>
+
+#include "button.h"
#include "listbox.h"
#include "scrollarea.h"
-#include "button.h"
+
#include "../playerinfo.h"
+
#include "../net/network.h"
char *skill_db[] = {
diff --git a/src/gui/skill.h b/src/gui/skill.h
index ffbea16f..e71af12a 100644
--- a/src/gui/skill.h
+++ b/src/gui/skill.h
@@ -26,13 +26,13 @@
#include <vector>
-#include <guichan/widgets/button.hpp>
-#include <guichan/widgets/label.hpp>
-#include <guichan/widgets/listbox.hpp>
-#include <guichan/widgets/scrollarea.hpp>
+#include <guichan/listmodel.hpp>
+#include <guichan/actionlistener.hpp>
#include "window.h"
+#include "../guichanfwd.h"
+
struct SKILL {
short id; /**< Index into "skill_db" array */
short lv, sp;
diff --git a/src/gui/stats.cpp b/src/gui/stats.cpp
index 3948d25e..c5afe82d 100644
--- a/src/gui/stats.cpp
+++ b/src/gui/stats.cpp
@@ -25,6 +25,8 @@
#include <sstream>
+#include <guichan/widgets/label.hpp>
+
#include "button.h"
#include "../playerinfo.h"
diff --git a/src/gui/status.cpp b/src/gui/status.cpp
index 67ca4458..3c12fd42 100644
--- a/src/gui/status.cpp
+++ b/src/gui/status.cpp
@@ -23,6 +23,8 @@
#include "status.h"
+#include <guichan/widgets/label.hpp>
+
#include "button.h"
#include "equipmentwindow.h"
#include "inventorywindow.h"