fix windows build scripts, add windows opus support

This commit is contained in:
HappyDOGE
2022-07-28 14:27:56 +03:00
parent 90cd6e0e15
commit 3faf6a69ac
149 changed files with 396 additions and 170 deletions
+3 -2
View File
@@ -17,6 +17,7 @@
#include "snd_dev_wave.h"
#include "tier2/tier2.h"
#include <time.h>
//-----------------------------------------------------------------------------
// External interfaces
@@ -65,7 +66,7 @@ private:
{
char filename[ 512 ];
CAudioSource *source;
long filetime;
time_t filetime;
};
IAudioDevice *m_pAudioDevice;
@@ -168,7 +169,7 @@ CAudioSource *CSoundSystem::FindOrAddSound( const char *filename )
Assert( s );
if ( !stricmp( s->filename, filename ) )
{
long filetime = g_pFullFileSystem->GetFileTime( filename );
time_t filetime = g_pFullFileSystem->GetFileTime( filename );
if ( filetime != s->filetime )
{
Msg( "Reloading sound %s\n", filename );