diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-18 20:58:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-18 20:58:02 +0300 |
commit | 3897d9afdfe615f29fc4dd0d7c0b5564f585c524 (patch) | |
tree | 94680626fa15133eec0d909e2e038836a7e1ab12 | |
parent | a3e458c6c5d1fc7cda0afcab74ff95f7a63b728a (diff) | |
download | manaverse-3897d9afdfe615f29fc4dd0d7c0b5564f585c524.tar.gz manaverse-3897d9afdfe615f29fc4dd0d7c0b5564f585c524.tar.bz2 manaverse-3897d9afdfe615f29fc4dd0d7c0b5564f585c524.tar.xz manaverse-3897d9afdfe615f29fc4dd0d7c0b5564f585c524.zip |
Remove extra includes.
-rw-r--r-- | src/being/being.h | 2 | ||||
-rw-r--r-- | src/game.cpp | 2 | ||||
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 1 | ||||
-rw-r--r-- | src/net/eathena/playerhandler.cpp | 3 | ||||
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 3 | ||||
-rw-r--r-- | src/resources/db/itemdb.cpp | 1 | ||||
-rw-r--r-- | src/resources/iteminfo.cpp | 2 | ||||
-rw-r--r-- | src/resources/iteminfo.h | 7 |
8 files changed, 15 insertions, 6 deletions
diff --git a/src/being/being.h b/src/being/being.h index b6015486f..0ca1ce780 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -36,7 +36,6 @@ #include "resources/beinginfo.h" #include "resources/beingslot.h" -#include "resources/missileinfo.h" #include "being/actorsprite.h" @@ -67,6 +66,7 @@ class Text; struct ChatObject; struct HorseInfo; +struct MissileInfo; struct SkillInfo; struct ParticleInfo; diff --git a/src/game.cpp b/src/game.cpp index 08f123bce..7a66c0b19 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -35,6 +35,7 @@ #include "being/localplayer.h" #include "being/playerinfo.h" +#include "const/itemshortcut.h" #include "const/spells.h" #include "const/gui/chat.h" @@ -56,7 +57,6 @@ #include "gui/shortcut/dropshortcut.h" #include "gui/shortcut/emoteshortcut.h" -#include "gui/shortcut/itemshortcut.h" #include "gui/popups/popupmenu.h" diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 9ad23888b..18d2fd236 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -78,6 +78,7 @@ #include "resources/chatobject.h" #include "resources/groupinfo.h" #include "resources/iteminfo.h" +#include "resources/itemmenuitem.h" #include "resources/db/groupdb.h" #include "resources/db/npcdb.h" diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 2f5744dec..606b85529 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -35,9 +35,10 @@ #include "gui/windows/skilldialog.h" #include "gui/windows/statuswindow.h" +#include "net/ea/inventoryhandler.h" + #include "net/eathena/messageout.h" #include "net/eathena/protocolout.h" -#include "net/eathena/inventoryhandler.h" #include "net/eathena/sp.h" #include "resources/db/unitsdb.h" diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp index e1d55d47d..02102a78b 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -35,7 +35,8 @@ #include "gui/windows/skilldialog.h" #include "gui/windows/statuswindow.h" -#include "net/tmwa/inventoryhandler.h" +#include "net/ea/inventoryhandler.h" + #include "net/tmwa/messageout.h" #include "net/tmwa/protocolout.h" #include "net/tmwa/sp.h" diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp index f54f5075b..041dda9be 100644 --- a/src/resources/db/itemdb.cpp +++ b/src/resources/db/itemdb.cpp @@ -31,6 +31,7 @@ #include "fs/virtfs/tools.h" #include "resources/iteminfo.h" +#include "resources/itemmenuitem.h" #include "resources/itemtypemapdata.h" #include "resources/db/itemfielddb.h" diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp index 118ce5d71..2997a48ad 100644 --- a/src/resources/iteminfo.cpp +++ b/src/resources/iteminfo.cpp @@ -28,6 +28,8 @@ #include "enums/resources/spritedirection.h" +#include "resources/itemmenuitem.h" + #include "resources/db/colordb.h" #include "resources/db/itemdb.h" diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index 414fa45b8..28b9d9049 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -28,10 +28,9 @@ #include "enums/resources/item/itemdbtype.h" #include "enums/simpletypes/beingtypeid.h" +#include "enums/simpletypes/itemcolor.h" #include "resources/cursors.h" -#include "resources/itemcolordata.h" -#include "resources/itemmenuitem.h" #include "resources/missileinfo.h" #include "resources/soundinfo.h" @@ -40,6 +39,10 @@ #include "utils/cast.h" #include "utils/intmap.h" +class ItemColorData; + +struct ItemMenuItem; + // sprite, <itemfrom, itemto> typedef std::map<int, IntMap> SpriteToItemMap; typedef SpriteToItemMap::const_iterator SpriteToItemMapCIter; |