mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 03:56:10 +08:00
29 lines
828 B
C
29 lines
828 B
C
![]() |
//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//===========================================================================//
|
||
|
|
||
|
#ifndef PHONEMECONVERTER_H
|
||
|
#define PHONEMECONVERTER_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
const char *ConvertPhoneme( int code );
|
||
|
int TextToPhoneme( const char *text );
|
||
|
float WeightForPhonemeCode( int code );
|
||
|
float WeightForPhoneme( char *text );
|
||
|
|
||
|
int NumPhonemes();
|
||
|
int TextToPhonemeIndex( const char *text );
|
||
|
const char *NameForPhonemeByIndex( int index );
|
||
|
int CodeForPhonemeByIndex( int index );
|
||
|
const char *DescForPhonemeByIndex( int index );
|
||
|
bool IsStandardPhoneme( int index );
|
||
|
unsigned char CodeToByteCode( int code );
|
||
|
int ByteCodeToCode( unsigned char byteCode );
|
||
|
|
||
|
#endif // PHONEMECONVERTER_H
|