summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-25 22:18:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-25 22:18:26 +0300
commit853757df15383c2e9cc33023dc04a256c458e671 (patch)
treef12cf49d6ddc17b6b4fc96d066359872b108f144 /src/net/ea
parent8e57e80d73a58077615924d50ac206d19efddae6 (diff)
downloadManaVerse-853757df15383c2e9cc33023dc04a256c458e671.tar.gz
ManaVerse-853757df15383c2e9cc33023dc04a256c458e671.tar.bz2
ManaVerse-853757df15383c2e9cc33023dc04a256c458e671.tar.xz
ManaVerse-853757df15383c2e9cc33023dc04a256c458e671.zip
fix some code style by cpplint.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/network.cpp2
-rw-r--r--src/net/ea/npchandler.cpp3
-rw-r--r--src/net/ea/playerhandler.cpp1
-rw-r--r--src/net/ea/tradehandler.cpp2
4 files changed, 0 insertions, 8 deletions
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp
index 6c24954b7..9f1bdabe0 100644
--- a/src/net/ea/network.cpp
+++ b/src/net/ea/network.cpp
@@ -233,8 +233,6 @@ void Network::receive()
while (mState == CONNECTED)
{
- // TODO Try to get this to block all the time while still being able
- // to escape the loop
const int numReady = TcpNet::checkSockets(
set, (static_cast<uint32_t>(500)));
switch (numReady)
diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp
index 51e006779..93bc990f5 100644
--- a/src/net/ea/npchandler.cpp
+++ b/src/net/ea/npchandler.cpp
@@ -39,17 +39,14 @@ void NpcHandler::sendLetter(const int npcId A_UNUSED,
const std::string &recipient A_UNUSED,
const std::string &text A_UNUSED) const
{
- // TODO
}
void NpcHandler::startShopping(const int beingId A_UNUSED) const
{
- // TODO
}
void NpcHandler::endShopping(const int beingId A_UNUSED) const
{
- // TODO
}
void NpcHandler::clearDialogs()
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index e7b6c69b2..3c8627f4b 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -48,7 +48,6 @@ extern int weightNoticeTime;
// everything beyond will reset the port hard.
static const int MAP_TELEPORT_SCROLL_DISTANCE = 8;
-// TODO Move somewhere else
namespace
{
/**
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index aa6952b65..91bd4de69 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -70,7 +70,6 @@ TradeHandler::TradeHandler()
void TradeHandler::removeItem(const int slotNum A_UNUSED,
const int amount A_UNUSED) const
{
- // TODO
}
void TradeHandler::processTradeRequest(Net::MessageIn &msg)
@@ -185,7 +184,6 @@ void TradeHandler::processTradeItemAdd(Net::MessageIn &msg)
const int refine = msg.readInt8(); // refine
msg.skip(8); // card (4 shorts)
- // TODO: handle also identified, etc
if (tradeWindow)
{
if (type == 0)