This commit is contained in:
Charles 2001-07-13 19:38:13 +00:00
parent b1e2868f5b
commit 438ac6c5aa
21 changed files with 27 additions and 10 deletions

View file

@ -15,8 +15,24 @@
#include "triggers\tspeech.h"
#endif
#ifndef __SOUND_SOUND_H__
#include "sound\sound.h"
#endif
int CSpeechTrigger::m_speechRef[9] =
{
SPEECH_151,
SPEECH_152,
SPEECH_153,
SPEECH_154,
SPEECH_155,
SPEECH_156,
SPEECH_157,
SPEECH_158,
SPEECH_159,
};
/*----------------------------------------------------------------------
Function:
Purpose:
@ -29,6 +45,7 @@ void CSpeechTrigger::collidedWith(CThing *_thisThing)
{
case TYPE_PLAYER:
{
CSoundMediator::playSpeech( m_speechRef[m_data] );
setToShutdown();
break;