This commit is contained in:
parent
9572446309
commit
76f10e2299
1 changed files with 6 additions and 6 deletions
|
@ -129,6 +129,7 @@ void CPaulScene::render()
|
|||
Returns:
|
||||
---------------------------------------------------------------------- */
|
||||
int psfx=3;
|
||||
int pkill=0;
|
||||
#include "sound\speech.h"
|
||||
int mvol=10;
|
||||
int svol=255;
|
||||
|
@ -163,13 +164,12 @@ void CPaulScene::think()
|
|||
if(sfxId!=-1)
|
||||
{
|
||||
CSoundMediator::playSfx(sfxId);
|
||||
// PAUL_DBGMSG("---- sfx %d",sfxId);
|
||||
//CSoundMediator::playSpeech(speechId);
|
||||
// CXAStream::Stop();
|
||||
// CXAStream::PlaySpeech(speechId,true);
|
||||
// PAUL_DBGMSG("----- playing speech %d",speechId);
|
||||
|
||||
}
|
||||
if(pad&PAD_START)
|
||||
{
|
||||
CSoundMediator::stopSfx((xmPlayingId)pkill);
|
||||
}
|
||||
// CXAStream::SetVolume(32700,32700);
|
||||
|
||||
|
||||
pad=PadGetHeld(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue