summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--The Mana World.dev62
-rw-r--r--src/game.cpp1
-rw-r--r--src/gui/inventorywindow.cpp2
-rw-r--r--src/net/protocol.cpp4
-rw-r--r--src/playerinfo.h5
-rw-r--r--src/resources/itemmanager.cpp8
7 files changed, 70 insertions, 15 deletions
diff --git a/ChangeLog b/ChangeLog
index b1d3e8fa..eb5537a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -52,6 +52,9 @@
* src/gui/status.h, src/gui/status.cpp: Reformatted status window layout to
avoid overlapping and lowered saturation of bars' colors.
+ * The Mana World.dev, src/game.cpp, src/playerinfo.h, src/net/protocol.cpp,
+ src/resources/itemmanager.cpp, src/gui/inventorywindow.cpp: Updated dev-cpp
+ project file, removed unnecessary header, fixed some include paths.
2005-08-12 Eugenio Favalli <elvenprogrammer@gmail.com>
diff --git a/The Mana World.dev b/The Mana World.dev
index 00ff4e92..f573ff8f 100644
--- a/The Mana World.dev
+++ b/The Mana World.dev
@@ -1,7 +1,7 @@
[Project]
FileName=The Mana World.dev
Name=tmw
-UnitCount=153
+UnitCount=159
Type=0
Ver=1
ObjFiles=
@@ -1587,3 +1587,63 @@ Priority=1000
OverrideBuildCmd=0
BuildCmd=
+[Unit154]
+FileName=src\configlistener.cpp
+CompileCpp=1
+Folder=tmw
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit155]
+FileName=src\configlistener.h
+CompileCpp=1
+Folder=tmw
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit156]
+FileName=src\graphic\imagerect.h
+CompileCpp=1
+Folder=graphic
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit157]
+FileName=src\guichanfwd.h
+CompileCpp=1
+Folder=tmw
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit158]
+FileName=src\playerinfo.h
+CompileCpp=1
+Folder=tmw
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit159]
+FileName=src\serverinfo.h
+CompileCpp=1
+Folder=tmw
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
diff --git a/src/game.cpp b/src/game.cpp
index e70d4dee..4b3d78a1 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -56,6 +56,7 @@
#include "gui/requesttrade.h"
#include "gui/sell.h"
#include "gui/setup.h"
+#include "gui/skill.h"
#include "gui/stats.h"
#include "gui/status.h"
#include "gui/trade.h"
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index d13fa35d..4ad4ca66 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -37,7 +37,7 @@
#include "../item.h"
#include "../playerinfo.h"
-#include "resources/iteminfo.h"
+#include "../resources/iteminfo.h"
InventoryWindow::InventoryWindow():
Window("Inventory")
diff --git a/src/net/protocol.cpp b/src/net/protocol.cpp
index e30e9d4e..ce27b7ea 100644
--- a/src/net/protocol.cpp
+++ b/src/net/protocol.cpp
@@ -23,9 +23,7 @@
#include "protocol.h"
-#ifdef WIN32
-#include <windows.h>
-#else
+#ifndef WIN32
#include "win2linux.h"
#endif
diff --git a/src/playerinfo.h b/src/playerinfo.h
index 1e769404..29109fb6 100644
--- a/src/playerinfo.h
+++ b/src/playerinfo.h
@@ -25,7 +25,6 @@
#define _TMW_PLAYERINFO_H
#include <vector>
-#include "gui/skill.h"
struct PLAYER_INFO {
int id;
@@ -39,10 +38,6 @@ struct PLAYER_INFO {
char STRUp, AGIUp, VITUp, INTUp, DEXUp, LUKUp;
int totalWeight, maxWeight;
short weapon;
- // skill list declaration
- std::vector<SKILL> m_Skill; // array of N_SKILLS skills
- // gets the requested skills level from char_info
- int GetSkill(int n_ID, int n_XP=2, int n_base = false); // implemented in the body (main.cpp)
};
extern PLAYER_INFO *char_info;
diff --git a/src/resources/itemmanager.cpp b/src/resources/itemmanager.cpp
index ef2d573b..6593516f 100644
--- a/src/resources/itemmanager.cpp
+++ b/src/resources/itemmanager.cpp
@@ -20,17 +20,15 @@
*
* $Id$
*/
-
-#include "itemmanager.h"
-
+
#include <libxml/tree.h>
+#include "iteminfo.h"
+#include "itemmanager.h"
#include "resourcemanager.h"
#include "../log.h"
-#include "resources/iteminfo.h"
-
// MSVC libxml2 at the moment doesn't work right when using MinGW, missing this
// function at link time.
#ifdef WIN32