summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-11 19:10:19 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-11 19:10:19 +0300
commitee1fc0b63cb7f27df85c43474497b805df6e31f5 (patch)
treed233f17e1bfd751b6939646a24f1253ae8d14796 /src/actormanager.cpp
parenta80f4ac5c1c3ef4d3ac5f026591b16074d0bf451 (diff)
downloadmanaverse-ee1fc0b63cb7f27df85c43474497b805df6e31f5.tar.gz
manaverse-ee1fc0b63cb7f27df85c43474497b805df6e31f5.tar.bz2
manaverse-ee1fc0b63cb7f27df85c43474497b805df6e31f5.tar.xz
manaverse-ee1fc0b63cb7f27df85c43474497b805df6e31f5.zip
Remove default parameters from ChatTab::chatLog.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp36
1 files changed, 28 insertions, 8 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index c4079f776..4c9b1460c 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -1596,8 +1596,13 @@ void ActorManager::printBeingsToChat(const std::string &header) const
return;
debugChatTab->chatLog("---------------------------------------",
- ChatMsgType::BY_SERVER);
- debugChatTab->chatLog(header, ChatMsgType::BY_SERVER);
+ ChatMsgType::BY_SERVER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
+ debugChatTab->chatLog(header,
+ ChatMsgType::BY_SERVER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
for_actors
{
// disabled for performance
@@ -1611,7 +1616,10 @@ void ActorManager::printBeingsToChat(const std::string &header) const
debugChatTab->chatLog(strprintf("%s (%d,%d) %d",
being->getName().c_str(), being->getTileX(), being->getTileY(),
- toInt(being->getSubType(), int)), ChatMsgType::BY_SERVER);
+ toInt(being->getSubType(), int)),
+ ChatMsgType::BY_SERVER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
if (mActorsIdMap.find(being->getId()) == mActorsIdMap.end())
{
debugChatTab->chatLog("missing in id map: %s",
@@ -1619,7 +1627,9 @@ void ActorManager::printBeingsToChat(const std::string &header) const
}
}
debugChatTab->chatLog("---------------------------------------",
- ChatMsgType::BY_SERVER);
+ ChatMsgType::BY_SERVER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
FOR_EACH (ActorSpritesMapConstIterator, itr, mActorsIdMap)
{
const ActorSprite *const actor = (*itr).second;
@@ -1654,8 +1664,13 @@ void ActorManager::printBeingsToChat(const STD_VECTOR<Being*> &beings,
return;
debugChatTab->chatLog("---------------------------------------",
- ChatMsgType::BY_SERVER);
- debugChatTab->chatLog(header, ChatMsgType::BY_SERVER);
+ ChatMsgType::BY_SERVER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
+ debugChatTab->chatLog(header,
+ ChatMsgType::BY_SERVER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
FOR_EACH (STD_VECTOR<Being*>::const_iterator, i, beings)
{
@@ -1666,10 +1681,15 @@ void ActorManager::printBeingsToChat(const STD_VECTOR<Being*> &beings,
debugChatTab->chatLog(strprintf("%s (%d,%d) %d",
being->getName().c_str(), being->getTileX(), being->getTileY(),
- toInt(being->getSubType(), int)), ChatMsgType::BY_SERVER);
+ toInt(being->getSubType(), int)),
+ ChatMsgType::BY_SERVER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
}
debugChatTab->chatLog("---------------------------------------",
- ChatMsgType::BY_SERVER);
+ ChatMsgType::BY_SERVER,
+ IgnoreRecord_false,
+ TryRemoveColors_true);
}
void ActorManager::getPlayerNames(StringVect &names,