[Gcblue-commits] gcb_wx/src/common tcSound.cpp,1.33,1.34 tcStream.cpp,1.11,1.12
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-07-26 00:37:20
|
Update of /cvsroot/gcblue/gcb_wx/src/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13788/src/common Modified Files: tcSound.cpp tcStream.cpp Log Message: Added mission goal status to "Mission" channel (hit F7), added sub periscope and mast ops to multiplayer, changed torpedo behavior to resume s-search if track lost early, made afterburner smoke thin a little more uniformly Index: tcSound.cpp =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/src/common/tcSound.cpp,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** tcSound.cpp 20 Jul 2005 16:24:54 -0000 1.33 --- tcSound.cpp 26 Jul 2005 00:37:03 -0000 1.34 *************** *** 87,91 **** bool tcSound::Init() { ! InitOpenAL(); effectMap["Explosion"] = LoadSample("Explosion.wav"); --- 87,101 ---- bool tcSound::Init() { ! try ! { ! InitOpenAL(); ! } ! catch (openalpp::InitError e) ! { ! e.what(); ! wxMessageBox(e.what(), ! "Error", wxICON_ERROR); ! throw e; ! } effectMap["Explosion"] = LoadSample("Explosion.wav"); Index: tcStream.cpp =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/src/common/tcStream.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** tcStream.cpp 22 Jun 2005 01:22:07 -0000 1.11 --- tcStream.cpp 26 Jul 2005 00:37:03 -0000 1.12 *************** *** 289,293 **** if (len >= 2048) { ! std::cerr << "tcStream::operator>>(std::string& val) - length overflow\n"; } else --- 289,294 ---- if (len >= 2048) { ! fprintf(stderr, "tcStream::operator>>(std::string& val) - length overflow (%d)\n", ! len); } else |