mirror of
https://github.com/shawns-valve/halflife.git
synced 2024-11-25 13:41:35 +00:00
a800ff8246
fixes ValveSoftware/halflife#1338 Changes: - added project files for Visual C++ 2010 Express - resolved function calls that would otherwise be ambiguous now - solved ARRAYSIZE macro and HSPRITE type collisions with Windows.h and winsock.h includes by guarding the includes TODO: We should think about if we actually should instead link to a .h that defines / redirects the required macros, so that platform differences would be limited to a few .cpp files (meaning not including windows.h in a huge number of files as it is now), see the issue above for details.
218 lines
No EOL
12 KiB
XML
218 lines
No EOL
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="..\..\common\parsemsg.cpp" />
|
|
<ClCompile Include="..\..\game_shared\vgui_checkbutton2.cpp" />
|
|
<ClCompile Include="..\..\game_shared\vgui_grid.cpp" />
|
|
<ClCompile Include="..\..\game_shared\vgui_helpers.cpp" />
|
|
<ClCompile Include="..\..\game_shared\vgui_listbox.cpp" />
|
|
<ClCompile Include="..\..\game_shared\vgui_loadtga.cpp" />
|
|
<ClCompile Include="..\..\game_shared\vgui_scrollbar2.cpp" />
|
|
<ClCompile Include="..\..\game_shared\vgui_slider2.cpp" />
|
|
<ClCompile Include="..\..\game_shared\voice_banmgr.cpp" />
|
|
<ClCompile Include="..\..\public\interface.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\ammo.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\ammohistory.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\ammo_secondary.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\battery.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\cdll_int.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\com_weapons.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\death.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\demo.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\entity.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\events.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\ev_common.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\ev_hldm.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\flashlight.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\GameStudioModelRenderer.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\geiger.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\health.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\hl\hl_baseentity.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\hl\hl_events.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\hl\hl_objects.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\hl\hl_weapons.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\hud.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\hud_msg.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\hud_redraw.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\hud_servers.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\hud_update.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\input.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\inputw32.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\in_camera.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\menu.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\message.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\Ricochet_JumpPads.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\saytext.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\statusbar.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\status_icons.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\StudioModelRenderer.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\studio_util.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\text_message.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\train.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\tri.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\util.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\vgui_ConsolePanel.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\vgui_ControlConfigPanel.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\vgui_CustomObjects.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\vgui_discobjects.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\vgui_int.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\vgui_MOTDWindow.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\vgui_SchemeManager.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\vgui_ScorePanel.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\vgui_ServerBrowser.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\vgui_TeamFortressViewport.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\view.cpp" />
|
|
<ClCompile Include="..\..\ricochet\cl_dll\voice_status.cpp" />
|
|
<ClCompile Include="..\..\ricochet\dlls\wpn_shared\disc_weapon_disc.cpp" />
|
|
<ClCompile Include="..\..\ricochet\pm_shared\pm_debug.c" />
|
|
<ClCompile Include="..\..\ricochet\pm_shared\pm_math.c" />
|
|
<ClCompile Include="..\..\ricochet\pm_shared\pm_shared.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="..\..\common\parsemsg.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\ammo.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\ammohistory.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\camera.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\cl_dll.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\cl_util.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\com_weapons.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\demo.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\eventscripts.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\ev_hldm.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\GameStudioModelRenderer.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\health.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\hud.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\hud_iface.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\hud_servers.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\hud_servers_priv.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\in_defs.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\kbutton.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\Ricochet_BSPFile.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\Ricochet_JumpPads.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\StudioModelRenderer.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\studio_util.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\util_vector.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\vgui_ConsolePanel.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\vgui_ControlConfigPanel.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\vgui_discobjects.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\vgui_int.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\vgui_SchemeManager.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\vgui_ScorePanel.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\vgui_ServerBrowser.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\vgui_TeamFortressViewport.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\view.h" />
|
|
<ClInclude Include="..\..\ricochet\cl_dll\wrect.h" />
|
|
<ClInclude Include="..\..\ricochet\pm_shared\pm_debug.h" />
|
|
<ClInclude Include="..\..\ricochet\pm_shared\pm_defs.h" />
|
|
<ClInclude Include="..\..\ricochet\pm_shared\pm_info.h" />
|
|
<ClInclude Include="..\..\ricochet\pm_shared\pm_materials.h" />
|
|
<ClInclude Include="..\..\ricochet\pm_shared\pm_movevars.h" />
|
|
<ClInclude Include="..\..\ricochet\pm_shared\pm_shared.h" />
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{EA7DE935-F997-4EA8-9135-E2FE5E5D2C1B}</ProjectGuid>
|
|
<Keyword>Win32Proj</Keyword>
|
|
<RootNamespace>ricochet_cdll</RootNamespace>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<CharacterSet>NotSet</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<CharacterSet>NotSet</CharacterSet>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</ImportGroup>
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<LinkIncremental>true</LinkIncremental>
|
|
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
|
|
<TargetName>client</TargetName>
|
|
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<LinkIncremental>false</LinkIncremental>
|
|
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
|
|
<TargetName>client</TargetName>
|
|
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<ClCompile>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<Optimization>Disabled</Optimization>
|
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;CLIENT_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
<AdditionalIncludeDirectories>..\..\ricochet;..\..\ricochet\dlls;..\..\ricochet\cl_dll;..\..\game_shared;..\..\engine;..\..\public;..\..\common;..\..\ricochet\pm_shared;..\..\utils\vgui\include;..\..\external;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Windows</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<AdditionalDependencies>..\..\utils\vgui\lib\win32_vc6\vgui.lib;wsock32.lib;..\..\lib\public\sdl2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<BaseAddress>
|
|
</BaseAddress>
|
|
</Link>
|
|
<PostBuildEvent>
|
|
<Command>call ..\..\filecopy.bat $(TargetPath) ..\..\..\game\mod\cl_dlls\$(TargetName).dll
|
|
call ..\..\filecopy.bat $(TargetDir)\$(TargetName).pdb ..\..\..\game\mod\cl_dlls\$(TargetName).pdb</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Message>Performing Post-Build Event</Message>
|
|
</PostBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;CLIENT_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<AdditionalIncludeDirectories>..\..\ricochet;..\..\ricochet\dlls;..\..\ricochet\cl_dll;..\..\game_shared;..\..\engine;..\..\public;..\..\common;..\..\ricochet\pm_shared;..\..\utils\vgui\include;..\..\external;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Windows</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<AdditionalDependencies>..\..\utils\vgui\lib\win32_vc6\vgui.lib;wsock32.lib;..\..\lib\public\sdl2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<BaseAddress>
|
|
</BaseAddress>
|
|
</Link>
|
|
<PostBuildEvent>
|
|
<Command>call ..\..\filecopy.bat $(TargetPath) ..\..\..\game\mod\cl_dlls\$(TargetName).dll
|
|
call ..\..\filecopy.bat $(TargetDir)\$(TargetName).pdb ..\..\..\game\mod\cl_dlls\$(TargetName).pdb</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Message>Performing Post-Build Event</Message>
|
|
</PostBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project> |