From: Anders R. <ma...@us...> - 2005-12-16 15:44:48
|
Update of /cvsroot/planeshift/planeshift/src/npcclient In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29706/src/npcclient Modified Files: npcclient.cpp Log Message: - Created Message Factory, used by LOG_MESSAGES. - Fixed alignment in entlist for new entity ActionLocations. Index: npcclient.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/npcclient/npcclient.cpp,v retrieving revision 1.83 retrieving revision 1.84 diff -C2 -d -r1.83 -r1.84 *** npcclient.cpp 12 Dec 2005 17:04:14 -0000 1.83 --- npcclient.cpp 16 Dec 2005 15:44:38 -0000 1.84 *************** *** 966,970 **** if(onlyCharacters) { ! CPrintf(CON_CMDOUTPUT, "%-9s %-5s %-10s %-20s\n","Player ID", "EID","Type","Name"); for (size_t i=0; i < objects.Length(); i++) { --- 966,970 ---- if(onlyCharacters) { ! CPrintf(CON_CMDOUTPUT, "%-9s %-5s %-15s %-20s\n","Player ID", "EID","Type","Name"); for (size_t i=0; i < objects.Length(); i++) { *************** *** 973,977 **** continue; ! CPrintf(CON_CMDOUTPUT, "%9d %5d %-10s %-20s\n", actor->GetPlayerID(), actor->GetEntity()->GetID(), --- 973,977 ---- continue; ! CPrintf(CON_CMDOUTPUT, "%9d %5d %-15s %-20s\n", actor->GetPlayerID(), actor->GetEntity()->GetID(), *************** *** 982,986 **** } ! CPrintf(CON_CMDOUTPUT, "%-5s %-10s %-20s Position\n","EID","Type","Name"); for (size_t i=0; i < objects.Length(); i++) { --- 982,986 ---- } ! CPrintf(CON_CMDOUTPUT, "%-5s %-15s %-20s Position\n","EID","Type","Name"); for (size_t i=0; i < objects.Length(); i++) { *************** *** 994,998 **** (sector) ? sector->QueryObject()->GetName():"(null)"; ! CPrintf(CON_CMDOUTPUT, "%5d %-10s %-20s (%9.3f,%9.3f,%9.3f, %s)\n", ent->GetID(), obj->GetObjectType(), --- 994,998 ---- (sector) ? sector->QueryObject()->GetName():"(null)"; ! CPrintf(CON_CMDOUTPUT, "%5d %-15s %-20s (%9.3f,%9.3f,%9.3f, %s)\n", ent->GetID(), obj->GetObjectType(), |