mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-12-23 01:11:44 +01: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* (*pfnSequencePickSentence) ( const char* groupName, int pickMethod, int *picked );
|
||||
int (*pfnGetFileSize) ( char *filename );
|
||||
int (*pfnGetFileSize) ( const char *filename );
|
||||
unsigned int (*pfnGetApproxWavePlayLen) (const char *filepath);
|
||||
int (*pfnIsCareerMatch) ( void );
|
||||
int (*pfnGetLocalizedStringLength) (const char *label);
|
||||
|
@ -4556,15 +4556,7 @@ pfnEngineStub
|
||||
extended iface stubs
|
||||
=============
|
||||
*/
|
||||
static int GAME_EXPORT pfnGetFileSize( char *filename )
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
static unsigned int GAME_EXPORT pfnGetApproxWavePlayLen(const char *filepath)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
static int GAME_EXPORT pfnGetLocalizedStringLength(const char *label)
|
||||
static int GAME_EXPORT pfnGetLocalizedStringLength( const char *label )
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@ -4718,8 +4710,8 @@ static enginefuncs_t gEngfuncs =
|
||||
pfnGetPlayerAuthId,
|
||||
pfnSequenceGet,
|
||||
pfnSequencePickSentence,
|
||||
pfnGetFileSize,
|
||||
pfnGetApproxWavePlayLen,
|
||||
COM_FileSize,
|
||||
Sound_GetApproxWavePlayLen,
|
||||
pfnIsCareerMatch,
|
||||
pfnGetLocalizedStringLength,
|
||||
pfnRegisterTutorMessageShown,
|
||||
|
Loading…
Reference in New Issue
Block a user