engine: voice support

This commit is contained in:
Velaron
2022-08-18 04:46:11 +03:00
committed by Alibek Omarov
parent 9d4fe707bb
commit 2b9e050f57
20 changed files with 664 additions and 11 deletions
+4 -2
View File
@@ -35,7 +35,7 @@ def options(opt):
grp.add_option('--enable-engine-fuzz', action = 'store_true', dest = 'ENGINE_FUZZ', default = False,
help = 'add LLVM libFuzzer [default: %default]' )
opt.load('sdl2')
opt.load('sdl2 opus')
def configure(conf):
# check for dedicated server build
@@ -65,7 +65,7 @@ def configure(conf):
else:
conf.load('sdl2')
if not conf.env.HAVE_SDL2:
conf.fatal('SDL2 not availiable! If you want to build dedicated server, specify --dedicated')
conf.fatal('SDL2 not available! If you want to build dedicated server, specify --dedicated')
conf.define('XASH_SDL', 2)
if conf.env.DEST_OS == 'haiku':
@@ -165,6 +165,8 @@ def build(bld):
'client/*.c',
'client/vgui/*.c',
'client/avi/*.c'])
libs.append('OPUS')
includes = ['common', 'server', 'client', 'client/vgui', 'tests', '.', '../public', '../common', '../filesystem', '../pm_shared' ]