diff --git a/Quake/view.c b/Quake/view.c index d4fabde1..24a6f50e 100644 --- a/Quake/view.c +++ b/Quake/view.c @@ -824,16 +824,10 @@ void V_CalcRefdef (void) view->frame = cl.stats[STAT_WEAPONFRAME]; view->colormap = vid.colormap; -//zackin5 -- disable viewkick in vr - bool vrDisableKick = false; - - if (vr_enabled.value && !vr_viewkick.value) - vrDisableKick = true; - //johnfitz -- v_gunkick - if (v_gunkick.value == 1 && !vrDisableKick) //original quake kick + if (v_gunkick.value == 1 && !(vr_enabled.value && !vr_viewkick.value)) //original quake kick VectorAdd (r_refdef.viewangles, cl.punchangle, r_refdef.viewangles); - if (v_gunkick.value == 2 && !vrDisableKick) //lerped kick + if (v_gunkick.value == 2 && !(vr_enabled.value && !vr_viewkick.value)) //lerped kick { for (i=0; i<3; i++) if (punch[i] != v_punchangles[0][i]) diff --git a/Windows/VisualStudio/quakespasm.vcxproj b/Windows/VisualStudio/quakespasm.vcxproj index 1d7ff705..6fbd575e 100644 --- a/Windows/VisualStudio/quakespasm.vcxproj +++ b/Windows/VisualStudio/quakespasm.vcxproj @@ -1,351 +1,356 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {C0F747A3-D796-4EC0-BF2A-53722CAA3B6A} - quakespasm - Win32Proj - - - - Application - v140 - NotSet - true - - - Application - v140 - NotSet - - - Application - v140 - NotSet - true - - - Application - v140 - NotSet - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>14.0.23107.0 - - - $(SolutionDir)Build-$(ProjectName)\x86\$(Configuration)\ - Build-$(ProjectName)\x86\$(Configuration)\ - true - - - $(SolutionDir)Build-$(ProjectName)\x86\$(Configuration)\ - Build-$(ProjectName)\x86\$(Configuration)\ - false - - - $(SolutionDir)Build-$(ProjectName)\$(Platform)\$(Configuration)\ - Build-$(ProjectName)\$(Platform)\$(Configuration)\ - true - - - $(SolutionDir)Build-$(ProjectName)\$(Platform)\$(Configuration)\ - Build-$(ProjectName)\$(Platform)\$(Configuration)\ - false - - - - Disabled - ..\SDL\include;..\codecs\include;..\misc\include;..\..\Quake;..\..\..\OculusSDK\LibOVRKernel\Src;..\..\..\OculusSDK\LibOVR\Include;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;USE_CODEC_MP3;USE_CODEC_VORBIS;USE_CODEC_WAVE;USE_CODEC_FLAC;USE_CODEC_OPUS;USE_CODEC_MIKMOD;USE_CODEC_UMX;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - - Level3 - EditAndContinue - CompileAsC - - - libovr.lib;libvorbisfile.lib;libvorbis.lib;libopusfile.lib;libopus.lib;libFLAC.lib;libogg.lib;libmad.lib;libmikmod.lib;wsock32.lib;opengl32.lib;winmm.lib;SDL.lib;SDLmain.lib;%(AdditionalDependencies) - ..\codecs\x86;..\SDL\lib;..\..\..\OculusSDK\LibOVR\Lib\Windows\Win32\Release\VS2015;%(AdditionalLibraryDirectories) - msvcrt.lib;%(IgnoreSpecificDefaultLibraries) - true - Windows - MachineX86 - - + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {C0F747A3-D796-4EC0-BF2A-53722CAA3B6A} + quakespasm + Win32Proj + + + + Application + v140 + NotSet + true + + + Application + v140 + NotSet + + + Application + v140 + NotSet + true + + + Application + v140 + NotSet + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>14.0.23107.0 + + + $(SolutionDir)Build-$(ProjectName)\x86\$(Configuration)\ + Build-$(ProjectName)\x86\$(Configuration)\ + true + + + $(SolutionDir)Build-$(ProjectName)\x86\$(Configuration)\ + Build-$(ProjectName)\x86\$(Configuration)\ + false + + + $(SolutionDir)Build-$(ProjectName)\$(Platform)\$(Configuration)\ + Build-$(ProjectName)\$(Platform)\$(Configuration)\ + true + + + $(SolutionDir)Build-$(ProjectName)\$(Platform)\$(Configuration)\ + Build-$(ProjectName)\$(Platform)\$(Configuration)\ + false + + + + Disabled + ..\SDL\include;..\codecs\include;..\misc\include;..\..\Quake;..\..\..\openvr\lib\$(platform);..\..\..\openvr\headers\;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;USE_CODEC_MP3;USE_CODEC_VORBIS;USE_CODEC_WAVE;USE_CODEC_FLAC;USE_CODEC_OPUS;USE_CODEC_MIKMOD;USE_CODEC_UMX;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level3 + EditAndContinue + CompileAsC + + + openvr_api.lib;libvorbisfile.lib;libvorbis.lib;libopusfile.lib;libopus.lib;libFLAC.lib;libogg.lib;libmad.lib;libmikmod.lib;wsock32.lib;opengl32.lib;winmm.lib;SDL.lib;SDLmain.lib;%(AdditionalDependencies) + ..\codecs\x86;..\SDL\lib;..\..\..\openvr\lib\$(platform);%(AdditionalLibraryDirectories) + msvcrt.lib;%(IgnoreSpecificDefaultLibraries) + true + Windows + MachineX86 + + copy "$(SolutionDir)\..\codecs\x86\*.dll" "$(TargetDir)" -copy "$(SolutionDir)\..\SDL\lib\*.dll" "$(TargetDir)" - - - - - MaxSpeed - true - ..\SDL\include;..\codecs\include;..\misc\include;..\..\Quake;..\..\..\OculusSDK\LibOVRKernel\Src;..\..\..\OculusSDK\LibOVR\Include;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;USE_CODEC_MP3;USE_CODEC_VORBIS;USE_CODEC_WAVE;USE_CODEC_FLAC;USE_CODEC_OPUS;USE_CODEC_MIKMOD;USE_CODEC_UMX;%(PreprocessorDefinitions) - MultiThreadedDLL - true - - Level3 - ProgramDatabase - CompileAsC - - - libovr.lib;libvorbisfile.lib;libvorbis.lib;libopusfile.lib;libopus.lib;libFLAC.lib;libogg.lib;libmad.lib;libmikmod.lib;wsock32.lib;opengl32.lib;winmm.lib;SDL.lib;SDLmain.lib;%(AdditionalDependencies) - ..\codecs\x86;..\SDL\lib;..\..\..\OculusSDK\LibOVR\Lib\Windows\Win32\Release\VS2015;%(AdditionalLibraryDirectories) - true - Windows - true - true - MachineX86 - - +copy "$(SolutionDir)\..\SDL\lib\*.dll" "$(TargetDir)" + + + + + MaxSpeed + true + ..\SDL\include;..\codecs\include;..\misc\include;..\..\Quake;..\..\..\openvr\lib\$(platform);..\..\..\openvr\headers\;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;USE_CODEC_MP3;USE_CODEC_VORBIS;USE_CODEC_WAVE;USE_CODEC_FLAC;USE_CODEC_OPUS;USE_CODEC_MIKMOD;USE_CODEC_UMX;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + Level3 + ProgramDatabase + CompileAsC + + + openvr_api.lib;libvorbisfile.lib;libvorbis.lib;libopusfile.lib;libopus.lib;libFLAC.lib;libogg.lib;libmad.lib;libmikmod.lib;wsock32.lib;opengl32.lib;winmm.lib;SDL.lib;SDLmain.lib;%(AdditionalDependencies) + ..\codecs\x86;..\SDL\lib;..\..\..\openvr\lib\$(platform);%(AdditionalLibraryDirectories) + true + Windows + true + true + MachineX86 + + copy "$(SolutionDir)\..\codecs\x86\*.dll" "$(TargetDir)" -copy "$(SolutionDir)\..\SDL\lib\*.dll" "$(TargetDir)" - - - - - X64 - - - Disabled - ..\SDL\include;..\codecs\include;..\misc\include;..\..\Quake;..\..\..\OculusSDK\LibOVRKernel\Src;..\..\..\OculusSDK\LibOVR\Include;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USE_WINSOCK2;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;USE_CODEC_MP3;USE_CODEC_VORBIS;USE_CODEC_WAVE;USE_CODEC_FLAC;USE_CODEC_OPUS;USE_CODEC_MIKMOD;USE_CODEC_UMX;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - - Level3 - ProgramDatabase - CompileAsC - - - libovr.lib;libvorbisfile.lib;libvorbis.lib;libopusfile.lib;libopus.lib;libFLAC.lib;libogg.lib;libmad.lib;libmikmod.lib;ws2_32.lib;opengl32.lib;winmm.lib;SDL.lib;SDLmain.lib;%(AdditionalDependencies) - ..\codecs\x64;..\SDL\lib64;..\..\..\OculusSDK\LibOVR\Lib\Windows\x64\Release\VS2015;%(AdditionalLibraryDirectories) - msvcrt.lib;%(IgnoreSpecificDefaultLibraries) - true - Windows - MachineX64 - - +copy "$(SolutionDir)\..\SDL\lib\*.dll" "$(TargetDir)" + + + + + X64 + + + Disabled + ..\SDL\include;..\codecs\include;..\misc\include;..\..\Quake;..\..\..\OculusSDK\LibOVRKernel\Src;..\..\..\OculusSDK\LibOVR\Include;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USE_WINSOCK2;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;USE_CODEC_MP3;USE_CODEC_VORBIS;USE_CODEC_WAVE;USE_CODEC_FLAC;USE_CODEC_OPUS;USE_CODEC_MIKMOD;USE_CODEC_UMX;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + Level3 + ProgramDatabase + CompileAsC + + + libovr.lib;libvorbisfile.lib;libvorbis.lib;libopusfile.lib;libopus.lib;libFLAC.lib;libogg.lib;libmad.lib;libmikmod.lib;ws2_32.lib;opengl32.lib;winmm.lib;SDL.lib;SDLmain.lib;%(AdditionalDependencies) + ..\codecs\x64;..\SDL\lib64;..\..\..\OculusSDK\LibOVR\Lib\Windows\x64\Release\VS2015;%(AdditionalLibraryDirectories) + msvcrt.lib;%(IgnoreSpecificDefaultLibraries) + true + Windows + MachineX64 + + copy "$(SolutionDir)\..\codecs\x64\*.dll" "$(TargetDir)" -copy "$(SolutionDir)\..\SDL\lib64\*.dll" "$(TargetDir)" - - - - - X64 - - - MaxSpeed - true - ..\SDL\include;..\codecs\include;..\misc\include;..\..\Quake;..\..\..\OculusSDK\LibOVRKernel\Src;..\..\..\OculusSDK\LibOVR\Include;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USE_WINSOCK2;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;USE_CODEC_MP3;USE_CODEC_VORBIS;USE_CODEC_WAVE;USE_CODEC_FLAC;USE_CODEC_OPUS;USE_CODEC_MIKMOD;USE_CODEC_UMX;%(PreprocessorDefinitions) - MultiThreadedDLL - true - - Level3 - ProgramDatabase - CompileAsC - - - libovr.lib;libvorbisfile.lib;libvorbis.lib;libopusfile.lib;libopus.lib;libFLAC.lib;libogg.lib;libmad.lib;libmikmod.lib;ws2_32.lib;opengl32.lib;winmm.lib;SDL.lib;SDLmain.lib;%(AdditionalDependencies) - ..\codecs\x64;..\SDL\lib64;..\..\..\OculusSDK\LibOVR\Lib\Windows\x64\Release\VS2015;%(AdditionalLibraryDirectories) - true - Windows - true - true - MachineX64 - - +copy "$(SolutionDir)\..\SDL\lib64\*.dll" "$(TargetDir)" + + + + + X64 + + + MaxSpeed + true + ..\SDL\include;..\codecs\include;..\misc\include;..\..\Quake;..\..\..\OculusSDK\LibOVRKernel\Src;..\..\..\OculusSDK\LibOVR\Include;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USE_WINSOCK2;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;USE_CODEC_MP3;USE_CODEC_VORBIS;USE_CODEC_WAVE;USE_CODEC_FLAC;USE_CODEC_OPUS;USE_CODEC_MIKMOD;USE_CODEC_UMX;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + Level3 + ProgramDatabase + CompileAsC + + + libovr.lib;libvorbisfile.lib;libvorbis.lib;libopusfile.lib;libopus.lib;libFLAC.lib;libogg.lib;libmad.lib;libmikmod.lib;ws2_32.lib;opengl32.lib;winmm.lib;SDL.lib;SDLmain.lib;%(AdditionalDependencies) + ..\codecs\x64;..\SDL\lib64;..\..\..\OculusSDK\LibOVR\Lib\Windows\x64\Release\VS2015;%(AdditionalLibraryDirectories) + true + Windows + true + true + MachineX64 + + copy "$(SolutionDir)\..\codecs\x64\*.dll" "$(TargetDir)" -copy "$(SolutionDir)\..\SDL\lib64\*.dll" "$(TargetDir)" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +copy "$(SolutionDir)\..\SDL\lib64\*.dll" "$(TargetDir)" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CompileAsCpp + CompileAsCpp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Windows/VisualStudio/quakespasm.vcxproj.filters b/Windows/VisualStudio/quakespasm.vcxproj.filters index 8f1ec531..2abae66a 100644 --- a/Windows/VisualStudio/quakespasm.vcxproj.filters +++ b/Windows/VisualStudio/quakespasm.vcxproj.filters @@ -1,449 +1,455 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + Resource Files + + \ No newline at end of file