From ee1fc0b63cb7f27df85c43474497b805df6e31f5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 11 Dec 2017 19:10:19 +0300 Subject: Remove default parameters from ChatTab::chatLog. --- src/actormanager.cpp | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) (limited to 'src/actormanager.cpp') 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 &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::const_iterator, i, beings) { @@ -1666,10 +1681,15 @@ void ActorManager::printBeingsToChat(const STD_VECTOR &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, -- cgit v1.2.3-60-g2f50