Skip to content

Commit 1c131b3

Browse files
committed
[GEN][ZH] Remove trailing LF from SHATTER_DEBUG_SAY, DBGMSG, DOUBLE_DEBUG, PERF_LOG, CRCGEN_LOG, STATECHANGED_LOG, PING_LOG, BONEPOS_LOG strings with script (#1232)
1 parent 344839f commit 1c131b3

File tree

24 files changed

+144
-144
lines changed

24 files changed

+144
-144
lines changed

Core/Libraries/Source/WWVegas/WW3D2/shattersystem.cpp

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -976,9 +976,9 @@ void ShatterSystem::Shatter_Mesh(MeshClass * mesh,const Vector3 & point,const Ve
976976
MeshMtlParamsClass mtl_params(model);
977977

978978

979-
SHATTER_DEBUG_SAY(("****************************************************\n"));
980-
SHATTER_DEBUG_SAY((" Clipping model: %s\n",model->Get_Name()));
981-
SHATTER_DEBUG_SAY(("****************************************************\n"));
979+
SHATTER_DEBUG_SAY(("****************************************************"));
980+
SHATTER_DEBUG_SAY((" Clipping model: %s",model->Get_Name()));
981+
SHATTER_DEBUG_SAY(("****************************************************"));
982982

983983
/*
984984
** Pass each polygon of the source model through the BSP clipper
@@ -988,39 +988,39 @@ void ShatterSystem::Shatter_Mesh(MeshClass * mesh,const Vector3 & point,const Ve
988988
/*
989989
** Set up a PolygonClass for polygon 'i' in the mesh
990990
*/
991-
SHATTER_DEBUG_SAY(("Passing polygon %d to clipper.\n",ipoly));
991+
SHATTER_DEBUG_SAY(("Passing polygon %d to clipper.",ipoly));
992992
PolygonClass polygon;
993993
for (ivert=0; ivert<3; ivert++) {
994994

995995
int vert_index = polys[ipoly][ivert];
996996
polygon.Verts[ivert].PassCount = mtl_params.PassCount;
997997
polygon.Verts[ivert].Position = verts[vert_index];
998998
polygon.Verts[ivert].Normal = src_vnorms[vert_index];
999-
SHATTER_DEBUG_SAY(("position: %f %f %f\n",verts[vert_index].X,verts[vert_index].Y,verts[vert_index].Z));
1000-
SHATTER_DEBUG_SAY(("normal: %f %f %f\n",src_vnorms[vert_index].X,src_vnorms[vert_index].Y,src_vnorms[vert_index].Z));
999+
SHATTER_DEBUG_SAY(("position: %f %f %f",verts[vert_index].X,verts[vert_index].Y,verts[vert_index].Z));
1000+
SHATTER_DEBUG_SAY(("normal: %f %f %f",src_vnorms[vert_index].X,src_vnorms[vert_index].Y,src_vnorms[vert_index].Z));
10011001

10021002
for (ipass=0; ipass<MeshMatDescClass::MAX_PASSES; ipass++) {
10031003
if (mtl_params.DCG[ipass] != NULL) {
10041004
polygon.Verts[ivert].DCG[ipass] = mtl_params.DCG[ipass][vert_index];
1005-
SHATTER_DEBUG_SAY(("DCG: pass: %d : %f %f %f\n",ipass,mtl_params.DCG[ipass][vert_index].X,mtl_params.DCG[ipass][vert_index].Y,mtl_params.DCG[ipass][vert_index].Z));
1005+
SHATTER_DEBUG_SAY(("DCG: pass: %d : %f %f %f",ipass,mtl_params.DCG[ipass][vert_index].X,mtl_params.DCG[ipass][vert_index].Y,mtl_params.DCG[ipass][vert_index].Z));
10061006
}
10071007

10081008
if (mtl_params.DIG[ipass] != NULL) {
10091009
polygon.Verts[ivert].DIG[ipass] = mtl_params.DIG[ipass][vert_index];
1010-
SHATTER_DEBUG_SAY(("DIG: pass: %d : %f %f %f\n",ipass,mtl_params.DIG[ipass][vert_index].X,mtl_params.DIG[ipass][vert_index].Y,mtl_params.DIG[ipass][vert_index].Z));
1010+
SHATTER_DEBUG_SAY(("DIG: pass: %d : %f %f %f",ipass,mtl_params.DIG[ipass][vert_index].X,mtl_params.DIG[ipass][vert_index].Y,mtl_params.DIG[ipass][vert_index].Z));
10111011
}
10121012

10131013
for (istage=0; istage<MeshMatDescClass::MAX_TEX_STAGES; istage++) {
10141014
if (mtl_params.UV[ipass][istage] != NULL) {
10151015
polygon.Verts[ivert].TexCoord[ipass][istage] = mtl_params.UV[ipass][istage][vert_index];
1016-
SHATTER_DEBUG_SAY(("UV pass: %d stage: %d: %f %f\n",ipass,istage,mtl_params.UV[ipass][istage][vert_index].X,mtl_params.UV[ipass][istage][vert_index].Y));
1016+
SHATTER_DEBUG_SAY(("UV pass: %d stage: %d: %f %f",ipass,istage,mtl_params.UV[ipass][istage][vert_index].X,mtl_params.UV[ipass][istage][vert_index].Y));
10171017
}
10181018
}
10191019

10201020
/* if (mtl_params.UVIndexArray[ipass] != NULL) {
10211021
int uv_index = mtl_params.UVIndexArray[ipass][ipoly][ivert];
10221022
polygon.Verts[ivert].TexCoord[ipass][0] = mtl_params.UV[ipass][0][uv_index];
1023-
SHATTER_DEBUG_SAY(("Per-Face UV pass: %d: %f %f\n",ipass,polygon.Verts[ivert].TexCoord[ipass][0].X,polygon.Verts[ivert].TexCoord[ipass][0].Y));
1023+
SHATTER_DEBUG_SAY(("Per-Face UV pass: %d: %f %f",ipass,polygon.Verts[ivert].TexCoord[ipass][0].X,polygon.Verts[ivert].TexCoord[ipass][0].Y));
10241024
}
10251025
*/ }
10261026
}
@@ -1119,10 +1119,10 @@ void ShatterSystem::Process_Clip_Pools
11191119
pcount += poly_vert_count-2;
11201120
}
11211121

1122-
SHATTER_DEBUG_SAY(("****************************************************\n"));
1123-
SHATTER_DEBUG_SAY((" Reassembling fragment %d of model: %s\n",ipool,model->Get_Name()));
1124-
SHATTER_DEBUG_SAY((" polycount = %d vertexcount = %d\n",pcount,vcount));
1125-
SHATTER_DEBUG_SAY(("****************************************************\n"));
1122+
SHATTER_DEBUG_SAY(("****************************************************"));
1123+
SHATTER_DEBUG_SAY((" Reassembling fragment %d of model: %s",ipool,model->Get_Name()));
1124+
SHATTER_DEBUG_SAY((" polycount = %d vertexcount = %d",pcount,vcount));
1125+
SHATTER_DEBUG_SAY(("****************************************************"));
11261126

11271127
/*
11281128
** Create the new mesh, install materials
@@ -1173,7 +1173,7 @@ void ShatterSystem::Process_Clip_Pools
11731173
PolygonClass & poly = ClipPools[ipool][ipoly];
11741174

11751175
new_mesh->Begin_Tri_Fan();
1176-
SHATTER_DEBUG_SAY(("Begin Tri Fan\n"));
1176+
SHATTER_DEBUG_SAY(("Begin Tri Fan"));
11771177

11781178
for(ivert=0; ivert<poly.Get_Vertex_Count(); ivert++) {
11791179

@@ -1183,9 +1183,9 @@ void ShatterSystem::Process_Clip_Pools
11831183
Matrix3D::Transform_Vector(Mshatter_to_mesh,vert.Position,&pos);
11841184
norm = vert.Normal;
11851185

1186-
SHATTER_DEBUG_SAY(("Begin Vertex:\n"));
1186+
SHATTER_DEBUG_SAY(("Begin Vertex:"));
11871187
new_mesh->Begin_Vertex();
1188-
SHATTER_DEBUG_SAY(("postion: %f %f %f\n",pos.X,pos.Y,pos.Z));
1188+
SHATTER_DEBUG_SAY(("postion: %f %f %f",pos.X,pos.Y,pos.Z));
11891189
new_mesh->Location_Inline(pos);
11901190
new_mesh->Normal(norm);
11911191

@@ -1198,7 +1198,7 @@ void ShatterSystem::Process_Clip_Pools
11981198
** copy the color out of the vertex into the new mesh.
11991199
*/
12001200
if (mtl_params.DCG[ipass] != NULL) {
1201-
SHATTER_DEBUG_SAY(("DCG: pass:%d: %f %f %f\n",ipass,vert.DCG[ipass].X,vert.DCG[ipass].Y,vert.DCG[ipass].Z));
1201+
SHATTER_DEBUG_SAY(("DCG: pass:%d: %f %f %f",ipass,vert.DCG[ipass].X,vert.DCG[ipass].Y,vert.DCG[ipass].Z));
12021202
/* OLD CODE
12031203
new_mesh->DCG(Vector3(vert.DCG[ipass].X,vert.DCG[ipass].Y,vert.DCG[ipass].Z),ipass);
12041204
new_mesh->Alpha(vert.DCG[ipass].W,ipass);
@@ -1208,7 +1208,7 @@ void ShatterSystem::Process_Clip_Pools
12081208

12091209
// HY- Multiplying DIG with DCG as in meshmdlio
12101210
if (mtl_params.DIG[ipass] != NULL) {
1211-
SHATTER_DEBUG_SAY(("DIG: pass:%d: %f %f %f\n",ipass,vert.DIG[ipass].X,vert.DIG[ipass].Y,vert.DIG[ipass].Z));
1211+
SHATTER_DEBUG_SAY(("DIG: pass:%d: %f %f %f",ipass,vert.DIG[ipass].X,vert.DIG[ipass].Y,vert.DIG[ipass].Z));
12121212
Vector4 mc=DX8Wrapper::Convert_Color(mycolor);
12131213
Vector4 dc=DX8Wrapper::Convert_Color(vert.DIG[ipass]);
12141214
mc=Vector4(mc.X*dc.X,mc.Y*dc.Y,mc.Z*dc.Z,mc.W);
@@ -1224,7 +1224,7 @@ void ShatterSystem::Process_Clip_Pools
12241224
// #pragma MESSAGE("HY- Naty, will dynamesh support multiple stages of UV?")
12251225
for (istage=0; istage<MeshMatDescClass::MAX_TEX_STAGES; istage++) {
12261226
if (mtl_params.UV[ipass][istage] != NULL) {
1227-
SHATTER_DEBUG_SAY(("UV: pass:%d stage: %d: %f %f\n",ipass,istage,vert.TexCoord[ipass][istage].X,vert.TexCoord[ipass][istage].Y));
1227+
SHATTER_DEBUG_SAY(("UV: pass:%d stage: %d: %f %f",ipass,istage,vert.TexCoord[ipass][istage].X,vert.TexCoord[ipass][istage].Y));
12281228
new_mesh->UV(vert.TexCoord[ipass][istage],istage);
12291229
}
12301230
}

Core/Tools/mangler/wnet/tcp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ sint32 TCP::TimedRead(uint8 *msg,uint32 len,int seconds,sint32 whichFD)
559559
retval=Read(msg+bytes_read,len-bytes_read,whichFD);
560560
if (retval==0) // they closed
561561
{
562-
DBGMSG("Remote close!\n");
562+
DBGMSG("Remote close!");
563563
return(bytes_read);
564564
}
565565
else if (retval>0)

Core/Tools/matchbot/generals.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ double GeneralsMatcher::computeMatchFitness(const std::string& i1, const General
506506
//DBGMSG("Match fitness: "<<matchFitness);
507507

508508
/*
509-
DBGMSG(i1->first << " vs " << i2->first << " has fitness " << matchFitness << "\n"
509+
DBGMSG(i1->first << " vs " << i2->first << " has fitness " << matchFitness << ""
510510
"\tpointPercent: " << pointPercent << "\n"
511511
"\tpingDelta: " << pingDelta << "\n"
512512
"\twidened: " << u1->widened << u2->widened << "\n"
@@ -742,7 +742,7 @@ void GeneralsMatcher::checkMatchesInUserMap(UserMap& userMap, int ladderID, int
742742
if (bestUser && numPlayers == 2)
743743
{
744744
// we had a match. send the info.
745-
DBGMSG("Matching " << i1->first << " with " << bestName << ":\n"
745+
DBGMSG("Matching " << i1->first << " with " << bestName << ":"
746746
"\tmatch fitness: " << bestMatchFitness << "\n"
747747
"\tpoint percentage: " << (1-bestUser->points/(double)u1->points)*100 << "\n"
748748
"\tpoints: " << u1->points << ", " << u2->points << "\n"

Core/Tools/matchbot/wnet/tcp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ sint32 TCP::TimedRead(uint8 *msg,uint32 len,int seconds,sint32 whichFD)
559559
retval=Read(msg+bytes_read,len-bytes_read,whichFD);
560560
if (retval==0) // they closed
561561
{
562-
DBGMSG("Remote close!\n");
562+
DBGMSG("Remote close!");
563563
return(bytes_read);
564564
}
565565
else if (retval>0)

Generals/Code/GameEngine/Source/Common/System/StackDump.cpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -544,16 +544,16 @@ void DumpExceptionInfo( unsigned int u, EXCEPTION_POINTERS* e_info )
544544

545545
if ( e_info->ExceptionRecord->ExceptionCode == EXCEPTION_ACCESS_VIOLATION )
546546
{
547-
DOUBLE_DEBUG (("Exception is access violation\n"));
547+
DOUBLE_DEBUG (("Exception is access violation"));
548548
access_read_write = e_info->ExceptionRecord->ExceptionInformation[0]; // 0=read, 1=write
549549
access_address = e_info->ExceptionRecord->ExceptionInformation[1];
550550
}
551551
else
552552
{
553-
DOUBLE_DEBUG (("Exception code is %x\n", e_info->ExceptionRecord->ExceptionCode));
553+
DOUBLE_DEBUG (("Exception code is %x", e_info->ExceptionRecord->ExceptionCode));
554554
}
555555
Int *winMainAddr = (Int *)WinMain;
556-
DOUBLE_DEBUG(("WinMain at %x\n", winMainAddr));
556+
DOUBLE_DEBUG(("WinMain at %x", winMainAddr));
557557
/*
558558
** Match the exception type with the error string and print it out
559559
*/
@@ -566,42 +566,42 @@ void DumpExceptionInfo( unsigned int u, EXCEPTION_POINTERS* e_info )
566566
break;
567567
}
568568
}
569-
DOUBLE_DEBUG( ("%s\n", _code_txt[i]));
569+
DOUBLE_DEBUG( ("%s", _code_txt[i]));
570570
/** For access violations, print out the violation address and if it was read or write.
571571
*/
572572
if ( e_info->ExceptionRecord->ExceptionCode == EXCEPTION_ACCESS_VIOLATION )
573573
{
574574
if ( access_read_write )
575575
{
576-
DOUBLE_DEBUG( ("Access address:%08X was written to.\n", access_address));
576+
DOUBLE_DEBUG( ("Access address:%08X was written to.", access_address));
577577
}
578578
else
579579
{
580-
DOUBLE_DEBUG( ("Access address:%08X was read from.\n", access_address));
580+
DOUBLE_DEBUG( ("Access address:%08X was read from.", access_address));
581581
}
582582
}
583583

584-
DOUBLE_DEBUG (("\nStack Dump:\n"));
584+
DOUBLE_DEBUG (("\nStack Dump:"));
585585
StackDumpFromContext(context->Eip, context->Esp, context->Ebp, NULL);
586586

587-
DOUBLE_DEBUG (("\nDetails:\n"));
587+
DOUBLE_DEBUG (("\nDetails:"));
588588

589-
DOUBLE_DEBUG (("Register dump...\n"));
589+
DOUBLE_DEBUG (("Register dump..."));
590590

591591
/*
592592
** Dump the registers.
593593
*/
594-
DOUBLE_DEBUG ( ( "Eip:%08X\tEsp:%08X\tEbp:%08X\n", context->Eip, context->Esp, context->Ebp));
595-
DOUBLE_DEBUG ( ( "Eax:%08X\tEbx:%08X\tEcx:%08X\n", context->Eax, context->Ebx, context->Ecx));
596-
DOUBLE_DEBUG ( ( "Edx:%08X\tEsi:%08X\tEdi:%08X\n", context->Edx, context->Esi, context->Edi));
597-
DOUBLE_DEBUG ( ( "EFlags:%08X \n", context->EFlags));
598-
DOUBLE_DEBUG ( ( "CS:%04x SS:%04x DS:%04x ES:%04x FS:%04x GS:%04x\n", context->SegCs, context->SegSs, context->SegDs, context->SegEs, context->SegFs, context->SegGs));
594+
DOUBLE_DEBUG ( ( "Eip:%08X\tEsp:%08X\tEbp:%08X", context->Eip, context->Esp, context->Ebp));
595+
DOUBLE_DEBUG ( ( "Eax:%08X\tEbx:%08X\tEcx:%08X", context->Eax, context->Ebx, context->Ecx));
596+
DOUBLE_DEBUG ( ( "Edx:%08X\tEsi:%08X\tEdi:%08X", context->Edx, context->Esi, context->Edi));
597+
DOUBLE_DEBUG ( ( "EFlags:%08X ", context->EFlags));
598+
DOUBLE_DEBUG ( ( "CS:%04x SS:%04x DS:%04x ES:%04x FS:%04x GS:%04x", context->SegCs, context->SegSs, context->SegDs, context->SegEs, context->SegFs, context->SegGs));
599599

600600
/*
601601
** Dump the bytes at EIP. This will make it easier to match the crash address with later versions of the game.
602602
*/
603603
char scrap[512];
604-
DOUBLE_DEBUG ( ("EIP bytes dump...\n"));
604+
DOUBLE_DEBUG ( ("EIP bytes dump..."));
605605
wsprintf (scrap, "\nBytes at CS:EIP (%08X) : ", context->Eip);
606606

607607
unsigned char *eip_ptr = (unsigned char *) (context->Eip);

Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/WOLLobbyMenu.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,13 +1276,13 @@ void WOLLobbyMenuUpdate( WindowLayout * layout, void *userData)
12761276
#ifdef PERF_TEST
12771277
// check performance
12781278
end = timeGetTime();
1279-
PERF_LOG(("Frame time was %d ms\n", end-start));
1279+
PERF_LOG(("Frame time was %d ms", end-start));
12801280
std::list<Int>::const_iterator it;
12811281
for (it = responses.begin(); it != responses.end(); ++it)
12821282
{
1283-
PERF_LOG((" %s\n", getMessageString(*it)));
1283+
PERF_LOG((" %s", getMessageString(*it)));
12841284
}
1285-
PERF_LOG(("\n"));
1285+
PERF_LOG((""));
12861286
#endif // PERF_TEST
12871287

12881288
#if 0

Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/WOLQuickMatchMenu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,12 +1384,12 @@ void WOLQuickMatchMenuUpdate( WindowLayout * layout, void *userData)
13841384
UnicodeString munkee;
13851385
munkee.format(L"inQM:%d %d ms, %d messages", s_inQM, frameTime, responses.size());
13861386
TheGameSpyInfo->addText(munkee, GameSpyColor[GSCOLOR_DEFAULT], quickmatchTextWindow);
1387-
PERF_LOG(("%ls\n", munkee.str()));
1387+
PERF_LOG(("%ls", munkee.str()));
13881388

13891389
std::list<Int>::const_iterator it;
13901390
for (it = responses.begin(); it != responses.end(); ++it)
13911391
{
1392-
PERF_LOG((" %s\n", getMessageString(*it)));
1392+
PERF_LOG((" %s", getMessageString(*it)));
13931393
}
13941394
}
13951395
#endif // PERF_TEST

Generals/Code/GameEngine/Source/GameLogic/AI/AI.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ void TAiData::crc( Xfer *xfer )
979979
xfer->xferReal( &m_maxRecruitDistance );
980980
xfer->xferReal( &m_repulsedDistance );
981981
xfer->xferBool( &m_enableRepulsors );
982-
CRCGEN_LOG(("CRC after AI TAiData for frame %d is 0x%8.8X\n", TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
982+
CRCGEN_LOG(("CRC after AI TAiData for frame %d is 0x%8.8X", TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
983983

984984
} // end crc
985985

@@ -1005,7 +1005,7 @@ void AI::crc( Xfer *xfer )
10051005
{
10061006

10071007
xfer->xferSnapshot( m_pathfinder );
1008-
CRCGEN_LOG(("CRC after AI pathfinder for frame %d is 0x%8.8X\n", TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
1008+
CRCGEN_LOG(("CRC after AI pathfinder for frame %d is 0x%8.8X", TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
10091009

10101010
AsciiString marker;
10111011
TAiData *aiData = m_aiData;

Generals/Code/GameEngine/Source/GameLogic/AI/AIGroup.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3234,22 +3234,22 @@ void AIGroup::crc( Xfer *xfer )
32343234
if (*it)
32353235
id = (*it)->getID();
32363236
xfer->xferUser(&id, sizeof(ObjectID));
3237-
CRCGEN_LOG(("CRC after AI AIGroup m_memberList for frame %d is 0x%8.8X\n", TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
3237+
CRCGEN_LOG(("CRC after AI AIGroup m_memberList for frame %d is 0x%8.8X", TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
32383238
}
32393239

32403240
xfer->xferUnsignedInt( &m_memberListSize );
3241-
CRCGEN_LOG(("CRC after AI AIGroup m_memberListSize for frame %d is 0x%8.8X\n", TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
3241+
CRCGEN_LOG(("CRC after AI AIGroup m_memberListSize for frame %d is 0x%8.8X", TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
32423242

32433243
id = INVALID_ID; // Used to be leader id, unused now. jba.
32443244
xfer->xferObjectID( &id );
3245-
CRCGEN_LOG(("CRC after AI AIGroup m_leader for frame %d is 0x%8.8X\n", TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
3245+
CRCGEN_LOG(("CRC after AI AIGroup m_leader for frame %d is 0x%8.8X", TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
32463246
xfer->xferReal( &m_speed );
3247-
CRCGEN_LOG(("CRC after AI AIGroup m_speed for frame %d is 0x%8.8X\n", TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
3247+
CRCGEN_LOG(("CRC after AI AIGroup m_speed for frame %d is 0x%8.8X", TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
32483248
xfer->xferBool( &m_dirty );
3249-
CRCGEN_LOG(("CRC after AI AIGroup m_dirty for frame %d is 0x%8.8X\n", TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
3249+
CRCGEN_LOG(("CRC after AI AIGroup m_dirty for frame %d is 0x%8.8X", TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
32503250

32513251
xfer->xferUnsignedInt( &m_id );
3252-
CRCGEN_LOG(("CRC after AI AIGroup m_id (%d) for frame %d is 0x%8.8X\n", m_id, TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
3252+
CRCGEN_LOG(("CRC after AI AIGroup m_id (%d) for frame %d is 0x%8.8X", m_id, TheGameLogic->getFrame(), ((XferCRC *)xfer)->getCRC()));
32533253

32543254
} // end crc
32553255

Generals/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4727,13 +4727,13 @@ AIGroup *AIUpdateInterface::getGroup(void)
47274727
// ------------------------------------------------------------------------------------------------
47284728
void AIUpdateInterface::crc( Xfer *x )
47294729
{
4730-
CRCGEN_LOG(("AIUpdateInterface::crc() begin - %8.8X\n", ((XferCRC *)x)->getCRC()));
4730+
CRCGEN_LOG(("AIUpdateInterface::crc() begin - %8.8X", ((XferCRC *)x)->getCRC()));
47314731
// extend base class
47324732
UpdateModule::crc( x );
47334733

47344734
xfer(x);
47354735

4736-
CRCGEN_LOG(("AIUpdateInterface::crc() end - %8.8X\n", ((XferCRC *)x)->getCRC()));
4736+
CRCGEN_LOG(("AIUpdateInterface::crc() end - %8.8X", ((XferCRC *)x)->getCRC()));
47374737

47384738
} // end crc
47394739

0 commit comments

Comments
 (0)