mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-17 14:07:48 +00:00
1
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
// $Workfile: $
|
||||
// $Date: $
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
// $Log: $
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//=============================================================================//
|
||||
|
||||
#ifndef VOX_H
|
||||
#define VOX_H
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct sfxcache_t;
|
||||
struct channel_t;
|
||||
|
||||
class CUtlSymbol;
|
||||
|
||||
extern void VOX_Init( void );
|
||||
extern void VOX_Shutdown( void );
|
||||
extern void VOX_ReadSentenceFile( const char *psentenceFileName );
|
||||
extern int VOX_SentenceCount( void );
|
||||
extern void VOX_LoadSound( channel_t *pchan, const char *psz );
|
||||
// UNDONE: Improve the interface of this call, it returns sentence data AND the sentence index
|
||||
extern char *VOX_LookupString( const char *pSentenceName, int *psentencenum, bool *pbEmitCaption = NULL, CUtlSymbol *pCaptionSymbol = NULL, float * pflDuration = NULL );
|
||||
extern void VOX_PrecacheSentenceGroup( class IEngineSound *pSoundSystem, const char *pGroupName, const char *pPathOverride = NULL );
|
||||
extern const char *VOX_SentenceNameFromIndex( int sentencenum );
|
||||
extern float VOX_SentenceLength( int sentence_num );
|
||||
extern const char *VOX_GroupNameFromIndex( int groupIndex );
|
||||
extern int VOX_GroupIndexFromName( const char *pGroupName );
|
||||
extern int VOX_GroupPick( int isentenceg, char *szfound, int strLen );
|
||||
extern int VOX_GroupPickSequential( int isentenceg, char *szfound, int szfoundLen, int ipick, int freset );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // VOX_H
|
||||
Reference in New Issue
Block a user