Browse Source

Visual C++ 2010 Express support for utils

Among other problems also fixes ValveSoftware/halflife#1391
master
Dominik Tugend 8 years ago
parent
commit
a96f882f9d
44 changed files with 3115 additions and 13 deletions
  1. +2
    -1
      .gitattributes
  2. +2
    -2
      common/qfont.h
  3. +4
    -4
      projects/readme.txt
  4. +96
    -0
      projects/vs2010/bspinfo.vcxproj
  5. +57
    -0
      projects/vs2010/bspinfo.vcxproj.filters
  6. +98
    -0
      projects/vs2010/light.vcxproj
  7. +63
    -0
      projects/vs2010/light.vcxproj.filters
  8. +108
    -0
      projects/vs2010/makefont.vcxproj
  9. +51
    -0
      projects/vs2010/makefont.vcxproj.filters
  10. +90
    -0
      projects/vs2010/makels.vcxproj
  11. +28
    -0
      projects/vs2010/makels.vcxproj.filters
  12. +100
    -0
      projects/vs2010/mdlviewer.vcxproj
  13. +60
    -0
      projects/vs2010/mdlviewer.vcxproj.filters
  14. +92
    -0
      projects/vs2010/mkmovie.vcxproj
  15. +42
    -0
      projects/vs2010/mkmovie.vcxproj.filters
  16. +99
    -0
      projects/vs2010/procinfo.vcxproj
  17. +39
    -0
      projects/vs2010/procinfo.vcxproj.filters
  18. +111
    -0
      projects/vs2010/qbsp2.vcxproj
  19. +99
    -0
      projects/vs2010/qbsp2.vcxproj.filters
  20. +110
    -0
      projects/vs2010/qcsg.vcxproj
  21. +96
    -0
      projects/vs2010/qcsg.vcxproj.filters
  22. +100
    -0
      projects/vs2010/qlumpy.vcxproj
  23. +72
    -0
      projects/vs2010/qlumpy.vcxproj.filters
  24. +106
    -0
      projects/vs2010/qrad.vcxproj
  25. +90
    -0
      projects/vs2010/qrad.vcxproj.filters
  26. +132
    -0
      projects/vs2010/readme.txt
  27. +112
    -0
      projects/vs2010/serverctrl.vcxproj
  28. +76
    -0
      projects/vs2010/serverctrl.vcxproj.filters
  29. +115
    -0
      projects/vs2010/smdlexp.vcxproj
  30. +55
    -0
      projects/vs2010/smdlexp.vcxproj.filters
  31. +97
    -0
      projects/vs2010/sprgen.vcxproj
  32. +63
    -0
      projects/vs2010/sprgen.vcxproj.filters
  33. +104
    -0
      projects/vs2010/studiomdl.vcxproj
  34. +84
    -0
      projects/vs2010/studiomdl.vcxproj.filters
  35. +116
    -0
      projects/vs2010/utils.sln
  36. +105
    -0
      projects/vs2010/vis.vcxproj
  37. +90
    -0
      projects/vs2010/vis.vcxproj.filters
  38. +91
    -0
      projects/vs2010/xwad.vcxproj
  39. +49
    -0
      projects/vs2010/xwad.vcxproj.filters
  40. +1
    -0
      utils/mdlviewer/mdlviewer.cpp
  41. +2
    -1
      utils/mdlviewer/studio_render.cpp
  42. +6
    -3
      utils/mdlviewer/studio_utils.cpp
  43. +0
    -2
      utils/qbsp2/bsp5.h
  44. +2
    -0
      utils/qrad/qrad.h

+ 2
- 1
.gitattributes View File

@@ -1,5 +1,6 @@
# Force CRLF for Windows files:
*.dsp text eol=crlf
*.dsw text eol=crlf
*.sln text eol=crlf
*.vcxproj text eol=crlf
*.vcxproj.filters text eol=crlf
*.sln text eol=crlf

+ 2
- 2
common/qfont.h View File

@@ -21,7 +21,7 @@
// Font stuff

#define NUM_GLYPHS 256
#include "basetypes.h"
// does not exist: // #include "basetypes.h"

typedef struct
{
@@ -35,7 +35,7 @@ typedef struct qfont_s
int rowcount;
int rowheight;
charinfo fontinfo[ NUM_GLYPHS ];
byte data[4];
unsigned char data[4];
} qfont_t;

#endif // qfont.h

+ 4
- 4
projects/readme.txt View File

@@ -2,13 +2,13 @@ Directory Contents
==================

vs2010
Contains .vcxproj for building valve, dmc and ricochet dlls with
Visual C++ 2010 Express
Contains Visual C++ 2010 Express project and solution files.
Please read readme.txt included in that folder for further instructions.

Other notes
===========

MSVC++ 6.0 .dsp files can be found in the appropiate folders.
MSVC++ 6.0 .dsp files can be found in the appropriate folders.

Linux Makefiles can be found in ../linux/

+ 96
- 0
projects/vs2010/bspinfo.vcxproj View File

@@ -0,0 +1,96 @@
<?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>
<PropertyGroup Label="Globals">
<ProjectGuid>{B1227C36-C02C-4914-9675-C6D243D8B36E}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>bspinfo</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</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>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</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;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\utils\bspinfo\bspinfo.c" />
<ClCompile Include="..\..\utils\common\bspfile.c" />
<ClCompile Include="..\..\utils\common\cmdlib.c" />
<ClCompile Include="..\..\utils\common\scriplib.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\common\bspfile.h" />
<ClInclude Include="..\..\utils\common\cmdlib.h" />
<ClInclude Include="..\..\utils\common\scriplib.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

+ 57
- 0
projects/vs2010/bspinfo.vcxproj.filters View File

@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\utils">
<UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\bspinfo">
<UniqueIdentifier>{63245e01-3884-4650-b2a4-90c672eb89e9}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils">
<UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\common">
<UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\common">
<UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\utils\bspinfo\bspinfo.c">
<Filter>Source Files\utils\bspinfo</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\scriplib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\bspfile.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\cmdlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\common\bspfile.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\scriplib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\cmdlib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
</ItemGroup>
</Project>

+ 98
- 0
projects/vs2010/light.vcxproj View File

@@ -0,0 +1,98 @@
<?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="..\..\utils\common\bspfile.c" />
<ClCompile Include="..\..\utils\common\cmdlib.c" />
<ClCompile Include="..\..\utils\common\mathlib.c" />
<ClCompile Include="..\..\utils\common\scriplib.c" />
<ClCompile Include="..\..\utils\common\threads.c" />
<ClCompile Include="..\..\utils\light\light.c" />
<ClCompile Include="..\..\utils\light\ltface.c" />
<ClCompile Include="..\..\utils\light\trace.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\light\light.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{1D9A402B-C7AB-4DAA-AD3F-42195F283E64}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>bspinfo</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</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>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</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;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

+ 63
- 0
projects/vs2010/light.vcxproj.filters View File

@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\utils">
<UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils">
<UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\common">
<UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\light">
<UniqueIdentifier>{63245e01-3884-4650-b2a4-90c672eb89e9}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\light">
<UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\utils\common\threads.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\bspfile.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\cmdlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\mathlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\scriplib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\light\trace.c">
<Filter>Source Files\utils\light</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\light\light.c">
<Filter>Source Files\utils\light</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\light\ltface.c">
<Filter>Source Files\utils\light</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\light\light.h">
<Filter>Header Files\utils\light</Filter>
</ClInclude>
</ItemGroup>
</Project>

+ 108
- 0
projects/vs2010/makefont.vcxproj View File

@@ -0,0 +1,108 @@
<?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="..\..\utils\common\cmdlib.c" />
<ClCompile Include="..\..\utils\common\wadlib.c" />
<ClCompile Include="..\..\utils\makefont\makefont.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\common\cmdlib.h" />
<ClInclude Include="..\..\utils\common\wadlib.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{C47ACACA-7DA4-4741-A287-9215309949E7}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>bspinfo</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</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>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../common;../../utils/common</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>xcopy $(TargetPath) ..\..\..\valve /r /i</Command>
</PostBuildEvent>
<PostBuildEvent>
<Message>Copyint to valve\ </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;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../common;../../utils/common</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>xcopy $(TargetPath) ..\..\..\valve /r /i</Command>
</PostBuildEvent>
<PostBuildEvent>
<Message>Copyint to valve\ </Message>
</PostBuildEvent>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

+ 51
- 0
projects/vs2010/makefont.vcxproj.filters View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\utils">
<UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils">
<UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\common">
<UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\common">
<UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\makefont">
<UniqueIdentifier>{673592e5-697a-4bb6-b06b-8104dcc2c470}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\utils\common\wadlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\cmdlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\makefont\makefont.cpp">
<Filter>Source Files\utils\makefont</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\common\wadlib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\cmdlib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
</ItemGroup>
</Project>

+ 90
- 0
projects/vs2010/makels.vcxproj View File

@@ -0,0 +1,90 @@
<?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="..\..\utils\makels\makels.cpp" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{8D9315B8-D428-411B-A60F-6AFD3CE0A687}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>bspinfo</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</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>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>
</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</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;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>
</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

+ 28
- 0
projects/vs2010/makels.vcxproj.filters View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\utils">
<UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\makels">
<UniqueIdentifier>{63245e01-3884-4650-b2a4-90c672eb89e9}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\utils\makels\makels.cpp">
<Filter>Source Files\utils\makels</Filter>
</ClCompile>
</ItemGroup>
</Project>

+ 100
- 0
projects/vs2010/mdlviewer.vcxproj View File

@@ -0,0 +1,100 @@
<?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="..\..\utils\common\mathlib.c" />
<ClCompile Include="..\..\utils\mdlviewer\mdlviewer.cpp" />
<ClCompile Include="..\..\utils\mdlviewer\studio_render.cpp" />
<ClCompile Include="..\..\utils\mdlviewer\studio_utils.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\common\mathlib.h" />
<ClInclude Include="..\..\utils\mdlviewer\mdlviewer.h" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\utils\mdlviewer\readme.txt" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{348EA74B-9E7E-4F35-9474-69A5DB1B5A42}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>bspinfo</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</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>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common;../../common</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>opengl32.lib;glu32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</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;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common;../../common</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>opengl32.lib;glu32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

+ 60
- 0
projects/vs2010/mdlviewer.vcxproj.filters View File

@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\utils">
<UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils">
<UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\common">
<UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\common">
<UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\mdlviewer">
<UniqueIdentifier>{7906402f-88d4-4690-a65a-bc8b7c7fe8a0}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\mdlviewer">
<UniqueIdentifier>{a2b18871-ad87-49ac-8bfd-23c47a207fa5}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\utils\common\mathlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\mdlviewer\studio_utils.cpp">
<Filter>Source Files\utils\mdlviewer</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\mdlviewer\mdlviewer.cpp">
<Filter>Source Files\utils\mdlviewer</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\mdlviewer\studio_render.cpp">
<Filter>Source Files\utils\mdlviewer</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\mdlviewer\mdlviewer.h">
<Filter>Header Files\utils\mdlviewer</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\mathlib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\..\utils\mdlviewer\readme.txt" />
</ItemGroup>
</Project>

+ 92
- 0
projects/vs2010/mkmovie.vcxproj View File

@@ -0,0 +1,92 @@
<?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="..\..\utils\mkmovie\mkmovie.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\common\cmdlib.h" />
<ClInclude Include="..\..\utils\common\movie.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{67FAB994-BEE5-4537-8E00-60259F66F654}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>bspinfo</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</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>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</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;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

+ 42
- 0
projects/vs2010/mkmovie.vcxproj.filters View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\utils">
<UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils">
<UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\common">
<UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\mkmovie">
<UniqueIdentifier>{62158a60-3771-4525-8b2c-953f323849d8}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\utils\mkmovie\mkmovie.c">
<Filter>Source Files\utils\mkmovie</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\common\movie.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\cmdlib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
</ItemGroup>
</Project>

+ 99
- 0
projects/vs2010/procinfo.vcxproj View File

@@ -0,0 +1,99 @@
<?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>
<PropertyGroup Label="Globals">
<ProjectGuid>{2DE8C1AF-56AE-4B99-8AA5-BEDBF33D6216}</ProjectGuid>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<Keyword>ManagedCProj</Keyword>
<RootNamespace>procinfo</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<CharacterSet>MultiByte</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>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>
</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>attrib -r ..\..\utils\procinfo\lib\win32_vc6\procinfo.lib
copy $(TargetPath) ..\..\utils\procinfo\lib\win32_vc6\procinfo.lib</Command>
</PostBuildEvent>
<PostBuildEvent>
<Message>Post-Build Event</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>
</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>attrib -r ..\..\utils\procinfo\lib\win32_vc6\procinfo.lib
copy $(TargetPath) ..\..\utils\procinfo\lib\win32_vc6\procinfo.lib</Command>
<Message>Post-Build Event</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\utils\procinfo\procinfo.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\procinfo\procinfo.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

+ 39
- 0
projects/vs2010/procinfo.vcxproj.filters View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\utils">
<UniqueIdentifier>{3d07af82-de85-47cb-bd87-125a9043c5ad}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\procinfo">
<UniqueIdentifier>{b8aff63a-415c-4e31-ad22-ba822090e8a2}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils">
<UniqueIdentifier>{acb9edd8-ccf7-4221-8893-0cd5a3368fbc}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\procinfo">
<UniqueIdentifier>{93d4c035-5f6d-4ffd-83c0-af849ad01f21}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\utils\procinfo\procinfo.cpp">
<Filter>Source Files\utils\procinfo</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\procinfo\procinfo.h">
<Filter>Header Files\utils\procinfo</Filter>
</ClInclude>
</ItemGroup>
</Project>

+ 111
- 0
projects/vs2010/qbsp2.vcxproj View File

@@ -0,0 +1,111 @@
<?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>
<ClInclude Include="..\..\utils\common\bsplib.h" />
<ClInclude Include="..\..\utils\common\cmdlib.h" />
<ClInclude Include="..\..\utils\common\mathlib.h" />
<ClInclude Include="..\..\utils\common\scriplib.h" />
<ClInclude Include="..\..\utils\common\threads.h" />
<ClInclude Include="..\..\utils\qbsp2\bsp5.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\utils\common\bsplib.c" />
<ClCompile Include="..\..\utils\common\cmdlib.c" />
<ClCompile Include="..\..\utils\common\mathlib.c" />
<ClCompile Include="..\..\utils\common\scriplib.c" />
<ClCompile Include="..\..\utils\common\threads.c" />
<ClCompile Include="..\..\utils\qbsp2\gldraw.c" />
<ClCompile Include="..\..\utils\qbsp2\merge.c" />
<ClCompile Include="..\..\utils\qbsp2\outside.c" />
<ClCompile Include="..\..\utils\qbsp2\portals.c" />
<ClCompile Include="..\..\utils\qbsp2\qbsp.c" />
<ClCompile Include="..\..\utils\qbsp2\solidbsp.c" />
<ClCompile Include="..\..\utils\qbsp2\surfaces.c" />
<ClCompile Include="..\..\utils\qbsp2\tjunc.c" />
<ClCompile Include="..\..\utils\qbsp2\writebsp.c" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{415A5B85-BEA0-4F96-BBB6-5447E4CF726F}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>bspinfo</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</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>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;DOUBLEVEC_T;_NOENUMQBOOL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common;..\..\external</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>opengl32.lib;glu32.lib;glaux.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</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;_CONSOLE;DOUBLEVEC_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common;..\..\external</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>opengl32.lib;glu32.lib;glaux.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

+ 99
- 0
projects/vs2010/qbsp2.vcxproj.filters View File

@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\utils">
<UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils">
<UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\common">
<UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\common">
<UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\qbsp2">
<UniqueIdentifier>{d644c063-b652-4ccb-8bcb-f55aad917c62}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\qbsp2">
<UniqueIdentifier>{b5377a13-8c89-4fca-9dc1-d94312a449cd}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\qbsp2\bsp5.h">
<Filter>Header Files\utils\qbsp2</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\bsplib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\threads.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\cmdlib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\mathlib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\scriplib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\utils\common\bsplib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\cmdlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\mathlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qbsp2\gldraw.c">
<Filter>Source Files\utils\qbsp2</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qbsp2\portals.c">
<Filter>Source Files\utils\qbsp2</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qbsp2\merge.c">
<Filter>Source Files\utils\qbsp2</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qbsp2\outside.c">
<Filter>Source Files\utils\qbsp2</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qbsp2\qbsp.c">
<Filter>Source Files\utils\qbsp2</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qbsp2\surfaces.c">
<Filter>Source Files\utils\qbsp2</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qbsp2\solidbsp.c">
<Filter>Source Files\utils\qbsp2</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\threads.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\scriplib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qbsp2\writebsp.c">
<Filter>Source Files\utils\qbsp2</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qbsp2\tjunc.c">
<Filter>Source Files\utils\qbsp2</Filter>
</ClCompile>
</ItemGroup>
</Project>

+ 110
- 0
projects/vs2010/qcsg.vcxproj View File

@@ -0,0 +1,110 @@
<?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="..\..\utils\common\bspfile.c" />
<ClCompile Include="..\..\utils\common\cmdlib.c" />
<ClCompile Include="..\..\utils\common\mathlib.c" />
<ClCompile Include="..\..\utils\common\polylib.c" />
<ClCompile Include="..\..\utils\common\scriplib.c" />
<ClCompile Include="..\..\utils\common\threads.c" />
<ClCompile Include="..\..\utils\qcsg\brush.c" />
<ClCompile Include="..\..\utils\qcsg\gldraw.c" />
<ClCompile Include="..\..\utils\qcsg\hullfile.c" />
<ClCompile Include="..\..\utils\qcsg\map.c" />
<ClCompile Include="..\..\utils\qcsg\qcsg.c" />
<ClCompile Include="..\..\utils\qcsg\textures.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\common\bspfile.h" />
<ClInclude Include="..\..\utils\common\cmdlib.h" />
<ClInclude Include="..\..\utils\common\mathlib.h" />
<ClInclude Include="..\..\utils\common\polylib.h" />
<ClInclude Include="..\..\utils\common\scriplib.h" />
<ClInclude Include="..\..\utils\common\threads.h" />
<ClInclude Include="..\..\utils\qcsg\csg.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{0F44E796-FAFD-4D52-91DE-707B5FB27841}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>bspinfo</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</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>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;DOUBLEVEC_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common;../../external</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>opengl32.lib;glu32.lib;glaux.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</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;_CONSOLE;DOUBLEVEC_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common;../../external</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>opengl32.lib;glu32.lib;glaux.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

+ 96
- 0
projects/vs2010/qcsg.vcxproj.filters View File

@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\utils">
<UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils">
<UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\common">
<UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\common">
<UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\qcsg">
<UniqueIdentifier>{c207af92-a0f3-402b-b5c1-7ae72a1d972c}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\qcsg">
<UniqueIdentifier>{a4552d55-15d2-4b83-850f-cef12647285f}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\utils\qcsg\brush.c">
<Filter>Source Files\utils\qcsg</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\bspfile.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\polylib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\cmdlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\mathlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qcsg\qcsg.c">
<Filter>Source Files\utils\qcsg</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qcsg\gldraw.c">
<Filter>Source Files\utils\qcsg</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qcsg\hullfile.c">
<Filter>Source Files\utils\qcsg</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qcsg\map.c">
<Filter>Source Files\utils\qcsg</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qcsg\textures.c">
<Filter>Source Files\utils\qcsg</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\scriplib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\threads.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\common\threads.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\bspfile.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\cmdlib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\mathlib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\polylib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\scriplib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\qcsg\csg.h">
<Filter>Header Files\utils\qcsg</Filter>
</ClInclude>
</ItemGroup>
</Project>

+ 100
- 0
projects/vs2010/qlumpy.vcxproj View File

@@ -0,0 +1,100 @@
<?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="..\..\utils\common\cmdlib.c" />
<ClCompile Include="..\..\utils\common\lbmlib.c" />
<ClCompile Include="..\..\utils\common\scriplib.c" />
<ClCompile Include="..\..\utils\common\wadlib.c" />
<ClCompile Include="..\..\utils\qlumpy\qlumpy.c" />
<ClCompile Include="..\..\utils\qlumpy\quakegrb.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\common\cmdlib.h" />
<ClInclude Include="..\..\utils\common\lbmlib.h" />
<ClInclude Include="..\..\utils\common\scriplib.h" />
<ClInclude Include="..\..\utils\common\wadlib.h" />
<ClInclude Include="..\..\utils\qlumpy\qlumpy.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{01780C5F-55A2-41D4-B27F-6383BB549DE4}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>bspinfo</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</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>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</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;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

+ 72
- 0
projects/vs2010/qlumpy.vcxproj.filters View File

@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\utils">
<UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils">
<UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\common">
<UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\common">
<UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\qlumpy">
<UniqueIdentifier>{40830782-1c0d-42a8-85f0-09f7e3f4ff75}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\qlumpy">
<UniqueIdentifier>{b2425109-9ba3-4a19-9a54-7451f3a87a23}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\utils\common\wadlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\cmdlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\lbmlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\scriplib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qlumpy\quakegrb.c">
<Filter>Source Files\utils\qlumpy</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qlumpy\qlumpy.c">
<Filter>Source Files\utils\qlumpy</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\qlumpy\qlumpy.h">
<Filter>Header Files\utils\qlumpy</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\wadlib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\cmdlib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\lbmlib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\scriplib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
</ItemGroup>
</Project>

+ 106
- 0
projects/vs2010/qrad.vcxproj View File

@@ -0,0 +1,106 @@
<?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="..\..\utils\common\bspfile.c" />
<ClCompile Include="..\..\utils\common\cmdlib.c" />
<ClCompile Include="..\..\utils\common\mathlib.c" />
<ClCompile Include="..\..\utils\common\polylib.c" />
<ClCompile Include="..\..\utils\common\scriplib.c" />
<ClCompile Include="..\..\utils\common\threads.c" />
<ClCompile Include="..\..\utils\qrad\lightmap.c" />
<ClCompile Include="..\..\utils\qrad\qrad.c" />
<ClCompile Include="..\..\utils\qrad\trace.c" />
<ClCompile Include="..\..\utils\qrad\vismat.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\common\bspfile.h" />
<ClInclude Include="..\..\utils\common\cmdlib.h" />
<ClInclude Include="..\..\utils\common\mathlib.h" />
<ClInclude Include="..\..\utils\common\polylib.h" />
<ClInclude Include="..\..\utils\common\scriplib.h" />
<ClInclude Include="..\..\utils\common\threads.h" />
<ClInclude Include="..\..\utils\qrad\qrad.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{A015F691-DF6B-4E05-AB3B-4B0A55C13EDC}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>bspinfo</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</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>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(Configuration)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</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;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

+ 90
- 0
projects/vs2010/qrad.vcxproj.filters View File

@@ -0,0 +1,90 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\utils">
<UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils">
<UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\common">
<UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\common">
<UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\utils\qrad">
<UniqueIdentifier>{bcc621aa-c3f2-45d3-8c92-d4c1dab462b4}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\utils\qrad">
<UniqueIdentifier>{67707ba9-3f42-423a-9494-4cbdce9f8710}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\utils\common\bspfile.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\cmdlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\mathlib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\polylib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\scriplib.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\common\threads.c">
<Filter>Source Files\utils\common</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qrad\vismat.c">
<Filter>Source Files\utils\qrad</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qrad\lightmap.c">
<Filter>Source Files\utils\qrad</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qrad\qrad.c">
<Filter>Source Files\utils\qrad</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\qrad\trace.c">
<Filter>Source Files\utils\qrad</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\utils\common\threads.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\bspfile.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\cmdlib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\mathlib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\polylib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\common\scriplib.h">
<Filter>Header Files\utils\common</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\qrad\qrad.h">
<Filter>Header Files\utils\qrad</Filter>
</ClInclude>
</ItemGroup>
</Project>

+ 132
- 0
projects/vs2010/readme.txt View File

@@ -0,0 +1,132 @@
Directory Contents
==================
projects.sln
Solution file for Visual C++ 2010 Express, containing the main projects for
compiling the valve, dmc and ricochet DLL files.
utils.sln
Solution file containing projects for the utilities. Special user interaction
is required in order to compile a share of the projects, see "Installing GLUT
and GLAUX" bellow.
The serverctrl project is problematic, see "serverctrl project" bellow.
Further project specific notes are also provided bellow.
[other required files]
Installing GLUT and GLAUX
=========================
Some projects in utils.sln use the GLUT (mdlviwer) and the GLAUX (qbsp2, qcsg)
libraries, which are not shipped with Visual C++ 2010 Express / Windows SDK
v7.0A.
Thus you need to install the GLUT and GLAUX libraries manually:
Installing GLUT library
-----------------------
Required by: mdlviewer
There are several ways to do this, an example can be found here:
http://stackoverflow.com/a/10467488
For alternate implementations check the web (i.e. freeglut).
Installing GLAUX library:
-------------------------
Required by: qbsp2, qcsg
Obtaining the library:
http://stackoverflow.com/a/6211119
Copy glaux.h into 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\GL\'
(You might need to create the GL directory.).
Copy glaux.lib into 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\'.
TODO
----
In the future the projects using GLUT and GLAUX could be ported to use the SDL2
library shipped with the SDK, this should be fairly easy, however this might
be beyond the scope of the main repository.
Other
=====
Please note, that some of the utils have additional documentation (.doc / .txt)
in the appropriate sub-folders of the utils folder.
qrad project
============
Please not that qrad.exe requires additional files lights.rad and valve.rad
side-by-side. You can find those files in the Half-Life SDK in the Hammer
tools folder.
serverctrl project
==================
The serverctrl project is problematic for the following reasons:
- It doesn't seem to work anymore, I tried with a recent HLDS beta installation
from steamcmd (make sure to set the hardcoded path in ServerCtrlDlg.cpp line
477, i.e. to "." (which would mean current directory) or s.th. you like).
While the hlds.exe seems to know about the -HFILE -HCHILD and -HPARENT
command line arguments used by serverctrl, it doesn't seem to handle the
events properly anymore.
- It requires MFC to be installed and needs to be configured in order to find
the MFC installation (see "Installing MFC" bellow).
A further note:
The serverctrl.vcxproj differs from the original .dsp project a bit:
It is compiled against dynamic libraries (MFC and Windows Runtime), meaning
/MD or /MDd instead of /MT or /MTd now. The reason is that the MFC from the
Windows Driver Kit won't compile in static mode (missing resource files i.e.).
This means you'll have to redistribute the runtime and MFC DLLs along with
serverctrl in case you install it on another system.
Installing MFC
--------------
Required by: serverctrl
If you are not using an Express edition, you can most likely skip this step.
The MFC is also shipped as part of the Windows Driver Kit for Windows XP.
Download Windows Driver Kit Version 7.1.0:
http://www.microsoft.com/en-us/download/details.aspx?id=11800
Burn it to a CD and start KitSetup.exe.
It's enough to select "Build Environment" in the options you want to install.
Now we need to point Visual C++ 2010 Express to the folders for the MFC/ATL
includes and libraries:
To do this open utils.sln and right click the serverctrl project and select
Properties. Select Configuration: All Configurations, then select
Configuration -> VC++ Directories in the tree. Adjust the Include and
Library Directories settings to match your WDK installation (click on the lines
and then click on the drop-down selector that appears and select edit).
smdlexp project
===============
Please note that this project requires the 3D Studio Max 4.2 SDK.
You might need to adjust Include and Additional Library Directories according
to your intallation.

+ 112
- 0
projects/vs2010/serverctrl.vcxproj View File

@@ -0,0 +1,112 @@