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:
|
Returns:
|
||||||
---------------------------------------------------------------------- */
|
---------------------------------------------------------------------- */
|
||||||
int psfx=3;
|
int psfx=3;
|
||||||
|
int pkill=0;
|
||||||
#include "sound\speech.h"
|
#include "sound\speech.h"
|
||||||
int mvol=10;
|
int mvol=10;
|
||||||
int svol=255;
|
int svol=255;
|
||||||
|
@ -163,13 +164,12 @@ void CPaulScene::think()
|
||||||
if(sfxId!=-1)
|
if(sfxId!=-1)
|
||||||
{
|
{
|
||||||
CSoundMediator::playSfx(sfxId);
|
CSoundMediator::playSfx(sfxId);
|
||||||
// PAUL_DBGMSG("---- sfx %d",sfxId);
|
|
||||||
//CSoundMediator::playSpeech(speechId);
|
}
|
||||||
// CXAStream::Stop();
|
if(pad&PAD_START)
|
||||||
// CXAStream::PlaySpeech(speechId,true);
|
{
|
||||||
// PAUL_DBGMSG("----- playing speech %d",speechId);
|
CSoundMediator::stopSfx((xmPlayingId)pkill);
|
||||||
}
|
}
|
||||||
// CXAStream::SetVolume(32700,32700);
|
|
||||||
|
|
||||||
|
|
||||||
pad=PadGetHeld(0);
|
pad=PadGetHeld(0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue