mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 15:41:24 +02:00
better logging of unit movement header and footer info
This commit is contained in:
@@ -3536,13 +3536,13 @@ void Unit::logSynchData(string file,int line,string source) {
|
|||||||
lastFile = file;
|
lastFile = file;
|
||||||
lastSource = source;
|
lastSource = source;
|
||||||
|
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"----------------------------------- START [%d] ------------------------------------------------\n",getFrameCount());
|
SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"----------------------------------- START [FRAME %d UNIT: %d - %s] ------------------------------------------------\n",getFrameCount(),this->id,this->getType()->getName().c_str());
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"[%s::%d]\n",extractFileFromDirectoryPath(file).c_str(),line);
|
SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"[%s::%d]\n",extractFileFromDirectoryPath(file).c_str(),line);
|
||||||
if(source != "") {
|
if(source != "") {
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"%s ",source.c_str());
|
SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"%s ",source.c_str());
|
||||||
}
|
}
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"%s\n",szBuf);
|
SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"%s\n",szBuf);
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"------------------------------------ END [%d] -------------------------------------------------\n",getFrameCount());
|
SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"------------------------------------ END [[FRAME %d UNIT: %d - %s] ------------------------------------------------\n",getFrameCount(),this->id,this->getType()->getName().c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user