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
@@ -18,6 +18,8 @@
#include "SoundEmitterSystem/isoundemittersystembase.h"
#include "ifilelist.h"
#include <time.h>
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
@@ -167,7 +169,7 @@ static void AccumulateFileNameAndTimestampIntoChecksum( CRC32_t *crc, char const
return;
}
long ft = filesystem->GetFileTime( filename, "GAME" );
time_t ft = filesystem->GetFileTime( filename, "GAME" );
CRC32_ProcessBuffer( crc, &ft, sizeof( ft ) );
CRC32_ProcessBuffer( crc, filename, Q_strlen( filename ) );
}
+2 -4
View File
@@ -21,12 +21,10 @@ def build(bld):
source = [
'../game/shared/interval.cpp',
'soundemittersystembase.cpp',
'../public/SoundParametersInternal.cpp'
'../public/SoundParametersInternal.cpp',
'../public/tier0/memoverride.cpp'
]
if bld.env.DEST_OS == 'win32':
source += ['../public/tier0/memoverride.cpp']
includes = [
'.',
'../public',