mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
fix windows build scripts, add windows opus support
This commit is contained in:
@@ -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 ) );
|
||||
}
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user