intCHudMusic::MsgFunc_Music(constchar*pszName,intiSize,void*pbuf){BEGIN_READ(pbuf,iSize);intiCmd=READ_BYTE();switch(iCmd){caseMUSIC_STOP_COMBAT:// stop combat music{gEngfuncs.Con_Printf("Stopping combat music\n");m_MP3.StopCombat();break;}caseMUSIC_STOP:// stop combat and area music{gEngfuncs.Con_Printf("Stopping music\n");m_MP3.StopMusic(true);break;}default:// area, combat, or system music{char*musicFile=READ_STRING();//gEngfuncs.Con_Printf(musicFile);m_MP3.TransitionMusic(musicFile,iCmd);//sound engine handles the including of dir now.break;}}return1;}