From f6d20e19613e87c8ceeb2f5a4173759a90f660d3 Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin Date: Sun, 2 Aug 2020 20:31:25 +0500 Subject: [PATCH] wscript: update. --- cl_dll/wscript | 11 ++++++++++- dlls/wscript | 4 +++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/cl_dll/wscript b/cl_dll/wscript index b7bf76e9..0ff4655b 100644 --- a/cl_dll/wscript +++ b/cl_dll/wscript @@ -23,6 +23,9 @@ def build(bld): source += bld.path.ant_glob([ 'hl/*.cpp' ]) + source += bld.path.ant_glob([ + 'blackops/nightvision.cpp' + ]) source += bld.path.parent.ant_glob([ 'dlls/crossbow.cpp', 'dlls/crowbar.cpp', @@ -97,7 +100,13 @@ def build(bld): '../utils/false_vgui/include' ] - defines = ['CLIENT_DLL'] + defines = [ + 'CLIENT_DLL', + 'CROWBAR_IDLE_ANIM', + 'CROWBAR_FIX_RAPID_CROWBAR', + 'GAUSS_OVERCHARGE_FIX' + ] + if bld.env.GOLDSRC: defines += ['GOLDSOURCE_SUPPORT'] diff --git a/dlls/wscript b/dlls/wscript index 5f17aefc..f9e95850 100644 --- a/dlls/wscript +++ b/dlls/wscript @@ -25,7 +25,9 @@ def build(bld): source = bld.path.parent.ant_glob([ 'pm_shared/*.c', ]) - + source += bld.path.ant_glob([ + 'blackops/hudtoggle.cpp' + ]) source += [ 'agrunt.cpp', 'airtank.cpp',