mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-27 06:07:56 +03:00
Added missing parameters to function in new response code
This commit is contained in:
parent
08727cc322
commit
32bbb0c231
@ -851,7 +851,11 @@ bool CAI_Expresser::SpeakDispatchResponse( AIConcept_t concept, AI_Response *res
|
||||
if ( !result->ShouldntUseScene() )
|
||||
{
|
||||
// This generates a fake CChoreoScene wrapping the sound.txt name
|
||||
#ifdef MAPBASE
|
||||
spoke = SpeakAutoGeneratedScene( response, delay, result, filter );
|
||||
#else
|
||||
spoke = SpeakAutoGeneratedScene( response, delay );
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1300,9 +1304,17 @@ bool CAI_Expresser::SpeakRawScene( const char *pszScene, float delay, AI_Respons
|
||||
}
|
||||
|
||||
// This will create a fake .vcd/CChoreoScene to wrap the sound to be played
|
||||
#ifdef MAPBASE
|
||||
bool CAI_Expresser::SpeakAutoGeneratedScene( char const *soundname, float delay, AI_Response *response, IRecipientFilter *filter )
|
||||
#else
|
||||
bool CAI_Expresser::SpeakAutoGeneratedScene( char const *soundname, float delay )
|
||||
#endif
|
||||
{
|
||||
#ifdef MAPBASE
|
||||
float speakTime = GetOuter()->PlayAutoGeneratedSoundScene( soundname, delay, response, filter );
|
||||
#else
|
||||
float speakTime = GetOuter()->PlayAutoGeneratedSoundScene( soundname );
|
||||
#endif
|
||||
if ( speakTime > 0 )
|
||||
{
|
||||
SpeechMsg( GetOuter(), "SpeakAutoGeneratedScene( %s, %f) %f\n", soundname, delay, speakTime );
|
||||
|
@ -249,7 +249,11 @@ protected:
|
||||
|
||||
bool SpeakRawScene( const char *pszScene, float delay, AI_Response *response, IRecipientFilter *filter = NULL );
|
||||
// This will create a fake .vcd/CChoreoScene to wrap the sound to be played
|
||||
#ifdef MAPBASE
|
||||
bool SpeakAutoGeneratedScene( char const *soundname, float delay, AI_Response *response = NULL, IRecipientFilter *filter = NULL );
|
||||
#else
|
||||
bool SpeakAutoGeneratedScene( char const *soundname, float delay );
|
||||
#endif
|
||||
|
||||
void DumpHistories();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user