From 2b85979b17195cd31b35737b4bc0e5947d7c2711 Mon Sep 17 00:00:00 2001 From: echon Date: Sun, 6 Sep 2009 17:04:31 +0000 Subject: [PATCH] Compile as C code, not C++ (vcproj setting) Include dinput8 libs if SUPPORTDIRECTX is defined Default to defining SUPPORTDIRECTX on windows builds, otherwise you get crackly sound git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9167 d7cf8633-e32d-0410-b094-e92efae38249 --- darkplaces-dedicated.vcproj | 3 +++ darkplaces-sdl.vcproj | 3 +++ darkplaces.vcproj | 9 ++++++--- vid_wgl.c | 12 +++++++++--- 4 files changed, 21 insertions(+), 6 deletions(-) diff --git a/darkplaces-dedicated.vcproj b/darkplaces-dedicated.vcproj index c77dcc47..6f479b65 100755 --- a/darkplaces-dedicated.vcproj +++ b/darkplaces-dedicated.vcproj @@ -60,6 +60,7 @@ PrecompiledHeaderFile="" WarningLevel="3" SuppressStartupBanner="true" + CompileAs="1" /> -- 2.39.2