From: Andrew C. <ac...@us...> - 2006-05-25 02:44:13
|
Update of /cvsroot/planeshift/planeshift/src/server/bulkobjects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10522/src/server/bulkobjects Modified Files: pscharacter.cpp Log Message: Now using SVN version of CS/CEL Crystal Space: 24364 CEL : 1914 See history for the full details about SVN Fixed to left/right hand issues Fixed effects for api changes Fixed core mesh equipment changes on login. Index: pscharacter.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/bulkobjects/pscharacter.cpp,v retrieving revision 1.396 retrieving revision 1.397 diff -C2 -d -r1.396 -r1.397 *** pscharacter.cpp 23 Apr 2006 07:10:08 -0000 1.396 --- pscharacter.cpp 25 May 2006 02:44:09 -0000 1.397 *************** *** 2947,2959 **** csString part = EscpXML( item->GetPartName() ); csString texture = EscpXML( item->GetTextureName() ); ! if (part.Length() && texture.Length()) // Worn ! { ! equipment.AppendFmt("<equip part=\"%s\" texture=\"%s\" />", part.GetData(), texture.GetData() ); ! } ! else if (slot.Length() && mesh.Length()) // Weilded ! { ! equipment.AppendFmt("<equip slot=\"%s\" mesh=\"%s\" />", slot.GetData(), mesh.GetData() ); ! } } --- 2947,2961 ---- csString part = EscpXML( item->GetPartName() ); csString texture = EscpXML( item->GetTextureName() ); + csString partMesh = EscpXML( item->GetPartMeshName() ); ! //if (part.Length() && texture.Length()) // Worn ! //{ ! // equipment.AppendFmt("<equip part=\"%s\" texture=\"%s\" />", part.GetData(), texture.GetData() ); ! //} ! //else if (slot.Length() && mesh.Length()) // Weilded ! //{ ! equipment.AppendFmt("<equip slot=\"%s\" mesh=\"%s\" part=\"%s\" texture=\"%s\" partMesh=\"%s\" />", ! slot.GetData(), mesh.GetData(), part.GetData(), texture.GetData(), partMesh.GetData() ); ! //} } |