summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-29 19:05:52 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-29 20:53:56 +0300
commit864e023e0faeca5aa662023a54af7e4f9797fafa (patch)
treeae76f85900e16e2c15d82b661077a265ecdd2276 /src/net
parent4c4d59b85e3b89812cede60dea8cf0d0185695ae (diff)
downloadplus-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.gz
plus-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.bz2
plus-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.xz
plus-864e023e0faeca5aa662023a54af7e4f9797fafa.zip
Move foreach macroses into separate file.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/beingrecv.cpp2
-rw-r--r--src/net/ea/inventoryrecv.cpp1
-rw-r--r--src/net/eathena/beingrecv.cpp1
-rw-r--r--src/net/eathena/buyingstorehandler.cpp2
-rw-r--r--src/net/eathena/cashshophandler.cpp2
-rw-r--r--src/net/eathena/inventoryhandler.cpp2
-rw-r--r--src/net/eathena/inventoryrecv.cpp1
-rw-r--r--src/net/eathena/loginrecv.cpp1
-rw-r--r--src/net/eathena/markethandler.cpp2
-rw-r--r--src/net/eathena/network.cpp1
-rw-r--r--src/net/eathena/npchandler.cpp2
-rw-r--r--src/net/eathena/partyrecv.cpp1
-rw-r--r--src/net/eathena/vendinghandler.cpp2
-rw-r--r--src/net/ipc.cpp1
-rw-r--r--src/net/tmwa/partyrecv.cpp2
15 files changed, 23 insertions, 0 deletions
diff --git a/src/net/ea/beingrecv.cpp b/src/net/ea/beingrecv.cpp
index b6e848bc5..fcb3871f8 100644
--- a/src/net/ea/beingrecv.cpp
+++ b/src/net/ea/beingrecv.cpp
@@ -40,6 +40,8 @@
#include "gui/windows/socialwindow.h"
+#include "utils/foreach.h"
+
#include "resources/map/map.h"
#include "net/messagein.h"
diff --git a/src/net/ea/inventoryrecv.cpp b/src/net/ea/inventoryrecv.cpp
index 0ccde29d4..3e8c239e9 100644
--- a/src/net/ea/inventoryrecv.cpp
+++ b/src/net/ea/inventoryrecv.cpp
@@ -38,6 +38,7 @@
#include "net/ea/equipbackend.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "listeners/arrowslistener.h"
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index d906ce835..d99fa241e 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -62,6 +62,7 @@
#include "resources/map/map.h"
#include "utils/checkutils.h"
+#include "utils/foreach.h"
#include "utils/timer.h"
#include "debug.h"
diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp
index 32ec084c9..d342be0b8 100644
--- a/src/net/eathena/buyingstorehandler.cpp
+++ b/src/net/eathena/buyingstorehandler.cpp
@@ -28,6 +28,8 @@
#include "net/eathena/messageout.h"
#include "net/eathena/protocolout.h"
+#include "utils/foreach.h"
+
#include "resources/item/shopitem.h"
#include "debug.h"
diff --git a/src/net/eathena/cashshophandler.cpp b/src/net/eathena/cashshophandler.cpp
index 40af5324e..105a45141 100644
--- a/src/net/eathena/cashshophandler.cpp
+++ b/src/net/eathena/cashshophandler.cpp
@@ -24,6 +24,8 @@
#include "net/eathena/messageout.h"
#include "net/eathena/protocolout.h"
+#include "utils/foreach.h"
+
#include "resources/item/shopitem.h"
#include "debug.h"
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 7044b1611..74b0777e0 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -31,6 +31,8 @@
#include "net/eathena/messageout.h"
#include "net/eathena/protocolout.h"
+#include "utils/foreach.h"
+
#include "resources/item/item.h"
#include "debug.h"
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp
index 7b6368dad..0b411d4ba 100644
--- a/src/net/eathena/inventoryrecv.cpp
+++ b/src/net/eathena/inventoryrecv.cpp
@@ -55,6 +55,7 @@
#include "resources/iteminfo.h"
#include "utils/gettext.h"
+#include "utils/foreach.h"
#include "utils/stringutils.h"
#include "debug.h"
diff --git a/src/net/eathena/loginrecv.cpp b/src/net/eathena/loginrecv.cpp
index 13818c9cf..38ee44e28 100644
--- a/src/net/eathena/loginrecv.cpp
+++ b/src/net/eathena/loginrecv.cpp
@@ -40,6 +40,7 @@
#include "net/eathena/updateprotocol.h"
#include "utils/gettext.h"
+#include "utils/foreach.h"
#include "debug.h"
diff --git a/src/net/eathena/markethandler.cpp b/src/net/eathena/markethandler.cpp
index a9a884ad3..bcba57e81 100644
--- a/src/net/eathena/markethandler.cpp
+++ b/src/net/eathena/markethandler.cpp
@@ -24,6 +24,8 @@
#include "net/eathena/messageout.h"
#include "net/eathena/protocolout.h"
+#include "utils/foreach.h"
+
#include "resources/item/shopitem.h"
#include "debug.h"
diff --git a/src/net/eathena/network.cpp b/src/net/eathena/network.cpp
index 8b3504e4e..4c6194fdd 100644
--- a/src/net/eathena/network.cpp
+++ b/src/net/eathena/network.cpp
@@ -80,6 +80,7 @@
#include "resources/db/networkdb.h"
#include "utils/checkutils.h"
+#include "utils/foreach.h"
#include "debug.h"
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp
index 38a54a6fd..4e8d179f0 100644
--- a/src/net/eathena/npchandler.cpp
+++ b/src/net/eathena/npchandler.cpp
@@ -39,6 +39,8 @@
#include "net/eathena/protocolout.h"
+#include "utils/foreach.h"
+
#include "resources/item/shopitem.h"
#include "debug.h"
diff --git a/src/net/eathena/partyrecv.cpp b/src/net/eathena/partyrecv.cpp
index e820a0eac..2f6482ac1 100644
--- a/src/net/eathena/partyrecv.cpp
+++ b/src/net/eathena/partyrecv.cpp
@@ -38,6 +38,7 @@
#include "net/ea/partyrecv.h"
#include "utils/checkutils.h"
+#include "utils/foreach.h"
#include "debug.h"
diff --git a/src/net/eathena/vendinghandler.cpp b/src/net/eathena/vendinghandler.cpp
index b95b162b4..728e8fb7e 100644
--- a/src/net/eathena/vendinghandler.cpp
+++ b/src/net/eathena/vendinghandler.cpp
@@ -29,6 +29,8 @@
#include "net/eathena/protocolout.h"
#include "net/eathena/vendingrecv.h"
+#include "utils/foreach.h"
+
#include "resources/item/shopitem.h"
#include "debug.h"
diff --git a/src/net/ipc.cpp b/src/net/ipc.cpp
index 19eace240..d7ffa1ae9 100644
--- a/src/net/ipc.cpp
+++ b/src/net/ipc.cpp
@@ -27,6 +27,7 @@
#endif // DYECMD
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "utils/sdlhelper.h"
#include "utils/stringutils.h"
diff --git a/src/net/tmwa/partyrecv.cpp b/src/net/tmwa/partyrecv.cpp
index 78c012652..819b891d3 100644
--- a/src/net/tmwa/partyrecv.cpp
+++ b/src/net/tmwa/partyrecv.cpp
@@ -38,6 +38,8 @@
#include "net/ea/partyrecv.h"
+#include "utils/foreach.h"
+
#include "debug.h"
namespace TmwAthena