[Gcblue-commits] gcb_wx/src/network tcMessage.cpp,1.5,1.6 tcUpdateMessageHandler.cpp,1.10,1.11
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2004-05-24 00:14:59
|
Update of /cvsroot/gcblue/gcb_wx/src/network In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26112/src/network Modified Files: tcMessage.cpp tcUpdateMessageHandler.cpp Log Message: Multiplayer changes Index: tcUpdateMessageHandler.cpp =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/src/network/tcUpdateMessageHandler.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** tcUpdateMessageHandler.cpp 17 May 2004 00:38:53 -0000 1.10 --- tcUpdateMessageHandler.cpp 24 May 2004 00:14:46 -0000 1.11 *************** *** 335,339 **** tcGameObject* obj = simState->GetObject(id); ! // update obj if it exists, otherwise create object if (obj) { --- 335,339 ---- tcGameObject* obj = simState->GetObject(id); ! // update obj and add ack if it exists, otherwise skip if (obj) { Index: tcMessage.cpp =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/src/network/tcMessage.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** tcMessage.cpp 14 May 2004 23:37:08 -0000 1.5 --- tcMessage.cpp 24 May 2004 00:14:46 -0000 1.6 *************** *** 86,89 **** --- 86,90 ---- { std::cerr << "Error - Attempted to send oversized message, truncating." << std::endl; + wxMessageBox("Error - Attempted to send oversized message, truncating."); messageSize = tcMessage::MESSAGE_SIZE; } |