From dbb14ed124eb233c96129380e108372ff3cda3e1 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Sun, 2 Oct 2016 04:08:38 +0500 Subject: [PATCH] Update CMakeLists.txt. --- cl_dll/CMakeLists.txt | 2 ++ cl_dll/in_camera.cpp | 2 +- dlls/CMakeLists.txt | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cl_dll/CMakeLists.txt b/cl_dll/CMakeLists.txt index 7fffb29b..814a9550 100644 --- a/cl_dll/CMakeLists.txt +++ b/cl_dll/CMakeLists.txt @@ -29,6 +29,8 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-write-strings -DLINUX -D_LINUX -Dstricm set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}") set (CLDLL_SOURCES + ../dlls/visitors/pipe.cpp + ../dlls/visitors/sniper.cpp ../dlls/crossbow.cpp ../dlls/crowbar.cpp ../dlls/egon.cpp diff --git a/cl_dll/in_camera.cpp b/cl_dll/in_camera.cpp index b8835fde..ed36f52d 100644 --- a/cl_dll/in_camera.cpp +++ b/cl_dll/in_camera.cpp @@ -400,7 +400,7 @@ void DLLEXPORT CAM_Think( void ) if( cam_deathcam_enabled ) { // Store new values. - camAngles[PITCH} = 90; + camAngles[PITCH] = 90; camAngles[YAW] = cam_deathcam_yaw; camAngles[ROLL] = 0; diff --git a/dlls/CMakeLists.txt b/dlls/CMakeLists.txt index cc0063b4..a621d2f2 100644 --- a/dlls/CMakeLists.txt +++ b/dlls/CMakeLists.txt @@ -129,6 +129,11 @@ set (SVDLL_SOURCES ../pm_shared/pm_debug.c ../pm_shared/pm_math.c ../pm_shared/pm_shared.c + visitors/flashlight.cpp + visitors/kevlar.cpp + visitors/massn.cpp + visitors/pipe.cpp + visitors/sniper.cpp ) include_directories (. wpn_shared ../common ../engine ../pm_shared ../game_shared ../public)