[Gcblue-commits] gcb_wx/src/common tcSound.cpp,1.29,1.30
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-04-06 02:19:57
|
Update of /cvsroot/gcblue/gcb_wx/src/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30667/src/common Modified Files: tcSound.cpp Log Message: Added join game button for multiplayer, started carrier and airfield multiplayer support Index: tcSound.cpp =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/src/common/tcSound.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** tcSound.cpp 29 Mar 2005 00:12:25 -0000 1.29 --- tcSound.cpp 6 Apr 2005 02:19:48 -0000 1.30 *************** *** 70,76 **** // Create a sample, load a .wav file. ! openalpp::Sample* sample = new openalpp::Sample(filePath); ! return sample; } --- 70,85 ---- // Create a sample, load a .wav file. ! try ! { ! openalpp::Sample* sample = new openalpp::Sample(filePath); ! return sample; ! } ! catch (openalpp::FileError e) ! { ! fprintf(stderr, "tcSound::LoadSample - %s\n", e.what()); ! return 0; ! } ! } |