From: Keith F. <ven...@us...> - 2002-07-30 05:57:45
|
Update of /cvsroot/planeshift/planeshift/src/client/gui In directory usw-pr-cvs1:/tmp/cvs-serv10239 Modified Files: psgwchat.cpp Log Message: Changed system message to include a "type" int at the beginning. This allows sfx to be triggered by messages, and will also allow msgtype filtering for each player when we have a gui for it. Index: psgwchat.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/gui/psgwchat.cpp,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** psgwchat.cpp 5 May 2002 13:04:40 -0000 1.34 --- psgwchat.cpp 30 Jul 2002 05:57:42 -0000 1.35 *************** *** 42,45 **** --- 42,46 ---- #include "psgwchat.h" #include "iclient/psengine.h" + #include "iclient/isoundmngr.h" #include "chatclient.h" #include "net/cmdhandler.h" *************** *** 65,69 **** reporter->AddReporterListener(scfReporterListener); ! chatConnection = new psChatClient(psengine->GetMsgHandler(),cmdhandler,obj ); chatConnection->RegisterChatWindow(this); psengine->DecRef(); --- 66,73 ---- reporter->AddReporterListener(scfReporterListener); ! iSoundManager *sm = CS_QUERY_REGISTRY(obj, iSoundManager); ! chatConnection = new psChatClient(psengine->GetMsgHandler(),cmdhandler,obj,sm ); ! sm->DecRef(); ! chatConnection->RegisterChatWindow(this); psengine->DecRef(); |