mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-30 16:54:29 +00:00
server: implement GetFileSize and GetApproxWavePlayLen from HLSDK 2.4
This commit is contained in:
parent
aea9e8efa2
commit
42f47f51b5
@ -264,7 +264,7 @@ typedef struct enginefuncs_s
|
|||||||
|
|
||||||
void* (*pfnSequenceGet) ( const char* fileName, const char* entryName );
|
void* (*pfnSequenceGet) ( const char* fileName, const char* entryName );
|
||||||
void* (*pfnSequencePickSentence) ( const char* groupName, int pickMethod, int *picked );
|
void* (*pfnSequencePickSentence) ( const char* groupName, int pickMethod, int *picked );
|
||||||
int (*pfnGetFileSize) ( char *filename );
|
int (*pfnGetFileSize) ( const char *filename );
|
||||||
unsigned int (*pfnGetApproxWavePlayLen) (const char *filepath);
|
unsigned int (*pfnGetApproxWavePlayLen) (const char *filepath);
|
||||||
int (*pfnIsCareerMatch) ( void );
|
int (*pfnIsCareerMatch) ( void );
|
||||||
int (*pfnGetLocalizedStringLength) (const char *label);
|
int (*pfnGetLocalizedStringLength) (const char *label);
|
||||||
|
@ -4556,15 +4556,7 @@ pfnEngineStub
|
|||||||
extended iface stubs
|
extended iface stubs
|
||||||
=============
|
=============
|
||||||
*/
|
*/
|
||||||
static int GAME_EXPORT pfnGetFileSize( char *filename )
|
static int GAME_EXPORT pfnGetLocalizedStringLength( const char *label )
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
static unsigned int GAME_EXPORT pfnGetApproxWavePlayLen(const char *filepath)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
static int GAME_EXPORT pfnGetLocalizedStringLength(const char *label)
|
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -4718,8 +4710,8 @@ static enginefuncs_t gEngfuncs =
|
|||||||
pfnGetPlayerAuthId,
|
pfnGetPlayerAuthId,
|
||||||
pfnSequenceGet,
|
pfnSequenceGet,
|
||||||
pfnSequencePickSentence,
|
pfnSequencePickSentence,
|
||||||
pfnGetFileSize,
|
COM_FileSize,
|
||||||
pfnGetApproxWavePlayLen,
|
Sound_GetApproxWavePlayLen,
|
||||||
pfnIsCareerMatch,
|
pfnIsCareerMatch,
|
||||||
pfnGetLocalizedStringLength,
|
pfnGetLocalizedStringLength,
|
||||||
pfnRegisterTutorMessageShown,
|
pfnRegisterTutorMessageShown,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user