Browse Source

Visual C++ 2010 Express support for utils

Among other problems also fixes ValveSoftware/halflife#1391
Dominik Tugend 5 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 @@
1 1
 # Force CRLF for Windows files:
2 2
 *.dsp text eol=crlf
3
+*.dsw text eol=crlf
4
+*.sln text eol=crlf
3 5
 *.vcxproj text eol=crlf
4 6
 *.vcxproj.filters text eol=crlf
5
-*.sln text eol=crlf

+ 2
- 2
common/qfont.h View File

@@ -21,7 +21,7 @@
21 21
 // Font stuff
22 22
 
23 23
 #define NUM_GLYPHS 256
24
-#include "basetypes.h"
24
+// does not exist: // #include "basetypes.h"
25 25
 
26 26
 typedef struct
27 27
 {
@@ -35,7 +35,7 @@ typedef struct qfont_s
35 35
 	int			rowcount;
36 36
 	int			rowheight;
37 37
 	charinfo	fontinfo[ NUM_GLYPHS ];
38
-	byte 		data[4];
38
+	unsigned char data[4];
39 39
 } qfont_t;
40 40
 
41 41
 #endif // qfont.h

+ 4
- 4
projects/readme.txt View File

@@ -2,13 +2,13 @@ Directory Contents
2 2
 ==================
3 3
 
4 4
 vs2010
5
-  Contains .vcxproj for building valve, dmc and ricochet dlls with
6
-  Visual C++ 2010 Express
7
-  
5
+  Contains Visual C++ 2010 Express project and solution files.
6
+  Please read readme.txt included in that folder for further instructions.
7
+
8 8
 
9 9
 Other notes
10 10
 ===========
11 11
 
12
-MSVC++ 6.0 .dsp files can be found in the appropiate folders.
12
+MSVC++ 6.0 .dsp files can be found in the appropriate folders.
13 13
 
14 14
 Linux Makefiles can be found in ../linux/

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

@@ -0,0 +1,96 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+  </ItemGroup>
13
+  <PropertyGroup Label="Globals">
14
+    <ProjectGuid>{B1227C36-C02C-4914-9675-C6D243D8B36E}</ProjectGuid>
15
+    <Keyword>Win32Proj</Keyword>
16
+    <RootNamespace>bspinfo</RootNamespace>
17
+  </PropertyGroup>
18
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
20
+    <ConfigurationType>Application</ConfigurationType>
21
+    <UseDebugLibraries>true</UseDebugLibraries>
22
+    <CharacterSet>NotSet</CharacterSet>
23
+  </PropertyGroup>
24
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
25
+    <ConfigurationType>Application</ConfigurationType>
26
+    <UseDebugLibraries>false</UseDebugLibraries>
27
+    <WholeProgramOptimization>true</WholeProgramOptimization>
28
+    <CharacterSet>NotSet</CharacterSet>
29
+  </PropertyGroup>
30
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
31
+  <ImportGroup Label="ExtensionSettings">
32
+  </ImportGroup>
33
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
34
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
35
+  </ImportGroup>
36
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
37
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38
+  </ImportGroup>
39
+  <PropertyGroup Label="UserMacros" />
40
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
41
+    <LinkIncremental>true</LinkIncremental>
42
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
43
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
44
+  </PropertyGroup>
45
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
46
+    <LinkIncremental>false</LinkIncremental>
47
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
48
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
49
+  </PropertyGroup>
50
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
51
+    <ClCompile>
52
+      <PrecompiledHeader>
53
+      </PrecompiledHeader>
54
+      <WarningLevel>Level3</WarningLevel>
55
+      <Optimization>Disabled</Optimization>
56
+      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
57
+      <AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
58
+    </ClCompile>
59
+    <Link>
60
+      <SubSystem>Console</SubSystem>
61
+      <GenerateDebugInformation>true</GenerateDebugInformation>
62
+    </Link>
63
+  </ItemDefinitionGroup>
64
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
65
+    <ClCompile>
66
+      <WarningLevel>Level3</WarningLevel>
67
+      <PrecompiledHeader>
68
+      </PrecompiledHeader>
69
+      <Optimization>MaxSpeed</Optimization>
70
+      <FunctionLevelLinking>true</FunctionLevelLinking>
71
+      <IntrinsicFunctions>true</IntrinsicFunctions>
72
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
73
+      <AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
74
+    </ClCompile>
75
+    <Link>
76
+      <SubSystem>Console</SubSystem>
77
+      <GenerateDebugInformation>true</GenerateDebugInformation>
78
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
79
+      <OptimizeReferences>true</OptimizeReferences>
80
+    </Link>
81
+  </ItemDefinitionGroup>
82
+  <ItemGroup>
83
+    <ClCompile Include="..\..\utils\bspinfo\bspinfo.c" />
84
+    <ClCompile Include="..\..\utils\common\bspfile.c" />
85
+    <ClCompile Include="..\..\utils\common\cmdlib.c" />
86
+    <ClCompile Include="..\..\utils\common\scriplib.c" />
87
+  </ItemGroup>
88
+  <ItemGroup>
89
+    <ClInclude Include="..\..\utils\common\bspfile.h" />
90
+    <ClInclude Include="..\..\utils\common\cmdlib.h" />
91
+    <ClInclude Include="..\..\utils\common\scriplib.h" />
92
+  </ItemGroup>
93
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
94
+  <ImportGroup Label="ExtensionTargets">
95
+  </ImportGroup>
96
+</Project>

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

@@ -0,0 +1,57 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup>
4
+    <Filter Include="Source Files">
5
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+    </Filter>
8
+    <Filter Include="Header Files">
9
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
+    </Filter>
12
+    <Filter Include="Resource Files">
13
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15
+    </Filter>
16
+    <Filter Include="Source Files\utils">
17
+      <UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
18
+    </Filter>
19
+    <Filter Include="Source Files\utils\bspinfo">
20
+      <UniqueIdentifier>{63245e01-3884-4650-b2a4-90c672eb89e9}</UniqueIdentifier>
21
+    </Filter>
22
+    <Filter Include="Header Files\utils">
23
+      <UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
24
+    </Filter>
25
+    <Filter Include="Header Files\utils\common">
26
+      <UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
27
+    </Filter>
28
+    <Filter Include="Source Files\utils\common">
29
+      <UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
30
+    </Filter>
31
+  </ItemGroup>
32
+  <ItemGroup>
33
+    <ClCompile Include="..\..\utils\bspinfo\bspinfo.c">
34
+      <Filter>Source Files\utils\bspinfo</Filter>
35
+    </ClCompile>
36
+    <ClCompile Include="..\..\utils\common\scriplib.c">
37
+      <Filter>Source Files\utils\common</Filter>
38
+    </ClCompile>
39
+    <ClCompile Include="..\..\utils\common\bspfile.c">
40
+      <Filter>Source Files\utils\common</Filter>
41
+    </ClCompile>
42
+    <ClCompile Include="..\..\utils\common\cmdlib.c">
43
+      <Filter>Source Files\utils\common</Filter>
44
+    </ClCompile>
45
+  </ItemGroup>
46
+  <ItemGroup>
47
+    <ClInclude Include="..\..\utils\common\bspfile.h">
48
+      <Filter>Header Files\utils\common</Filter>
49
+    </ClInclude>
50
+    <ClInclude Include="..\..\utils\common\scriplib.h">
51
+      <Filter>Header Files\utils\common</Filter>
52
+    </ClInclude>
53
+    <ClInclude Include="..\..\utils\common\cmdlib.h">
54
+      <Filter>Header Files\utils\common</Filter>
55
+    </ClInclude>
56
+  </ItemGroup>
57
+</Project>

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

@@ -0,0 +1,98 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+  </ItemGroup>
13
+  <ItemGroup>
14
+    <ClCompile Include="..\..\utils\common\bspfile.c" />
15
+    <ClCompile Include="..\..\utils\common\cmdlib.c" />
16
+    <ClCompile Include="..\..\utils\common\mathlib.c" />
17
+    <ClCompile Include="..\..\utils\common\scriplib.c" />
18
+    <ClCompile Include="..\..\utils\common\threads.c" />
19
+    <ClCompile Include="..\..\utils\light\light.c" />
20
+    <ClCompile Include="..\..\utils\light\ltface.c" />
21
+    <ClCompile Include="..\..\utils\light\trace.c" />
22
+  </ItemGroup>
23
+  <ItemGroup>
24
+    <ClInclude Include="..\..\utils\light\light.h" />
25
+  </ItemGroup>
26
+  <PropertyGroup Label="Globals">
27
+    <ProjectGuid>{1D9A402B-C7AB-4DAA-AD3F-42195F283E64}</ProjectGuid>
28
+    <Keyword>Win32Proj</Keyword>
29
+    <RootNamespace>bspinfo</RootNamespace>
30
+  </PropertyGroup>
31
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
32
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
33
+    <ConfigurationType>Application</ConfigurationType>
34
+    <UseDebugLibraries>true</UseDebugLibraries>
35
+    <CharacterSet>NotSet</CharacterSet>
36
+  </PropertyGroup>
37
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
38
+    <ConfigurationType>Application</ConfigurationType>
39
+    <UseDebugLibraries>false</UseDebugLibraries>
40
+    <WholeProgramOptimization>true</WholeProgramOptimization>
41
+    <CharacterSet>NotSet</CharacterSet>
42
+  </PropertyGroup>
43
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
44
+  <ImportGroup Label="ExtensionSettings">
45
+  </ImportGroup>
46
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
47
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
48
+  </ImportGroup>
49
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
50
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
51
+  </ImportGroup>
52
+  <PropertyGroup Label="UserMacros" />
53
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
54
+    <LinkIncremental>true</LinkIncremental>
55
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
56
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
57
+  </PropertyGroup>
58
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
59
+    <LinkIncremental>false</LinkIncremental>
60
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
61
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
62
+  </PropertyGroup>
63
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
64
+    <ClCompile>
65
+      <PrecompiledHeader>
66
+      </PrecompiledHeader>
67
+      <WarningLevel>Level3</WarningLevel>
68
+      <Optimization>Disabled</Optimization>
69
+      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
70
+      <AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
71
+    </ClCompile>
72
+    <Link>
73
+      <SubSystem>Console</SubSystem>
74
+      <GenerateDebugInformation>true</GenerateDebugInformation>
75
+    </Link>
76
+  </ItemDefinitionGroup>
77
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
78
+    <ClCompile>
79
+      <WarningLevel>Level3</WarningLevel>
80
+      <PrecompiledHeader>
81
+      </PrecompiledHeader>
82
+      <Optimization>MaxSpeed</Optimization>
83
+      <FunctionLevelLinking>true</FunctionLevelLinking>
84
+      <IntrinsicFunctions>true</IntrinsicFunctions>
85
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
86
+      <AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
87
+    </ClCompile>
88
+    <Link>
89
+      <SubSystem>Console</SubSystem>
90
+      <GenerateDebugInformation>true</GenerateDebugInformation>
91
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
92
+      <OptimizeReferences>true</OptimizeReferences>
93
+    </Link>
94
+  </ItemDefinitionGroup>
95
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
96
+  <ImportGroup Label="ExtensionTargets">
97
+  </ImportGroup>
98
+</Project>

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

@@ -0,0 +1,63 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup>
4
+    <Filter Include="Source Files">
5
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+    </Filter>
8
+    <Filter Include="Header Files">
9
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
+    </Filter>
12
+    <Filter Include="Resource Files">
13
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15
+    </Filter>
16
+    <Filter Include="Source Files\utils">
17
+      <UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
18
+    </Filter>
19
+    <Filter Include="Header Files\utils">
20
+      <UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
21
+    </Filter>
22
+    <Filter Include="Source Files\utils\common">
23
+      <UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
24
+    </Filter>
25
+    <Filter Include="Source Files\utils\light">
26
+      <UniqueIdentifier>{63245e01-3884-4650-b2a4-90c672eb89e9}</UniqueIdentifier>
27
+    </Filter>
28
+    <Filter Include="Header Files\utils\light">
29
+      <UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
30
+    </Filter>
31
+  </ItemGroup>
32
+  <ItemGroup>
33
+    <ClCompile Include="..\..\utils\common\threads.c">
34
+      <Filter>Source Files\utils\common</Filter>
35
+    </ClCompile>
36
+    <ClCompile Include="..\..\utils\common\bspfile.c">
37
+      <Filter>Source Files\utils\common</Filter>
38
+    </ClCompile>
39
+    <ClCompile Include="..\..\utils\common\cmdlib.c">
40
+      <Filter>Source Files\utils\common</Filter>
41
+    </ClCompile>
42
+    <ClCompile Include="..\..\utils\common\mathlib.c">
43
+      <Filter>Source Files\utils\common</Filter>
44
+    </ClCompile>
45
+    <ClCompile Include="..\..\utils\common\scriplib.c">
46
+      <Filter>Source Files\utils\common</Filter>
47
+    </ClCompile>
48
+    <ClCompile Include="..\..\utils\light\trace.c">
49
+      <Filter>Source Files\utils\light</Filter>
50
+    </ClCompile>
51
+    <ClCompile Include="..\..\utils\light\light.c">
52
+      <Filter>Source Files\utils\light</Filter>
53
+    </ClCompile>
54
+    <ClCompile Include="..\..\utils\light\ltface.c">
55
+      <Filter>Source Files\utils\light</Filter>
56
+    </ClCompile>
57
+  </ItemGroup>
58
+  <ItemGroup>
59
+    <ClInclude Include="..\..\utils\light\light.h">
60
+      <Filter>Header Files\utils\light</Filter>
61
+    </ClInclude>
62
+  </ItemGroup>
63
+</Project>

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

@@ -0,0 +1,108 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+  </ItemGroup>
13
+  <ItemGroup>
14
+    <ClCompile Include="..\..\utils\common\cmdlib.c" />
15
+    <ClCompile Include="..\..\utils\common\wadlib.c" />
16
+    <ClCompile Include="..\..\utils\makefont\makefont.cpp" />
17
+  </ItemGroup>
18
+  <ItemGroup>
19
+    <ClInclude Include="..\..\utils\common\cmdlib.h" />
20
+    <ClInclude Include="..\..\utils\common\wadlib.h" />
21
+  </ItemGroup>
22
+  <PropertyGroup Label="Globals">
23
+    <ProjectGuid>{C47ACACA-7DA4-4741-A287-9215309949E7}</ProjectGuid>
24
+    <Keyword>Win32Proj</Keyword>
25
+    <RootNamespace>bspinfo</RootNamespace>
26
+  </PropertyGroup>
27
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
29
+    <ConfigurationType>Application</ConfigurationType>
30
+    <UseDebugLibraries>true</UseDebugLibraries>
31
+    <CharacterSet>MultiByte</CharacterSet>
32
+  </PropertyGroup>
33
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
34
+    <ConfigurationType>Application</ConfigurationType>
35
+    <UseDebugLibraries>false</UseDebugLibraries>
36
+    <WholeProgramOptimization>true</WholeProgramOptimization>
37
+    <CharacterSet>MultiByte</CharacterSet>
38
+  </PropertyGroup>
39
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
40
+  <ImportGroup Label="ExtensionSettings">
41
+  </ImportGroup>
42
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
43
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
44
+  </ImportGroup>
45
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
46
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
47
+  </ImportGroup>
48
+  <PropertyGroup Label="UserMacros" />
49
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
50
+    <LinkIncremental>true</LinkIncremental>
51
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
52
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
53
+  </PropertyGroup>
54
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
55
+    <LinkIncremental>false</LinkIncremental>
56
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
57
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
58
+  </PropertyGroup>
59
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
60
+    <ClCompile>
61
+      <PrecompiledHeader>
62
+      </PrecompiledHeader>
63
+      <WarningLevel>Level3</WarningLevel>
64
+      <Optimization>Disabled</Optimization>
65
+      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
66
+      <AdditionalIncludeDirectories>../../common;../../utils/common</AdditionalIncludeDirectories>
67
+    </ClCompile>
68
+    <Link>
69
+      <SubSystem>Console</SubSystem>
70
+      <GenerateDebugInformation>true</GenerateDebugInformation>
71
+      <AdditionalDependencies>winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
72
+    </Link>
73
+    <PostBuildEvent>
74
+      <Command>xcopy $(TargetPath) ..\..\..\valve /r /i</Command>
75
+    </PostBuildEvent>
76
+    <PostBuildEvent>
77
+      <Message>Copyint  to  valve\ </Message>
78
+    </PostBuildEvent>
79
+  </ItemDefinitionGroup>
80
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
81
+    <ClCompile>
82
+      <WarningLevel>Level3</WarningLevel>
83
+      <PrecompiledHeader>
84
+      </PrecompiledHeader>
85
+      <Optimization>MaxSpeed</Optimization>
86
+      <FunctionLevelLinking>true</FunctionLevelLinking>
87
+      <IntrinsicFunctions>true</IntrinsicFunctions>
88
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
89
+      <AdditionalIncludeDirectories>../../common;../../utils/common</AdditionalIncludeDirectories>
90
+    </ClCompile>
91
+    <Link>
92
+      <SubSystem>Console</SubSystem>
93
+      <GenerateDebugInformation>true</GenerateDebugInformation>
94
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
95
+      <OptimizeReferences>true</OptimizeReferences>
96
+      <AdditionalDependencies>winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
97
+    </Link>
98
+    <PostBuildEvent>
99
+      <Command>xcopy $(TargetPath) ..\..\..\valve /r /i</Command>
100
+    </PostBuildEvent>
101
+    <PostBuildEvent>
102
+      <Message>Copyint  to  valve\ </Message>
103
+    </PostBuildEvent>
104
+  </ItemDefinitionGroup>
105
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
106
+  <ImportGroup Label="ExtensionTargets">
107
+  </ImportGroup>
108
+</Project>

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

@@ -0,0 +1,51 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup>
4
+    <Filter Include="Source Files">
5
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+    </Filter>
8
+    <Filter Include="Header Files">
9
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
+    </Filter>
12
+    <Filter Include="Resource Files">
13
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15
+    </Filter>
16
+    <Filter Include="Source Files\utils">
17
+      <UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
18
+    </Filter>
19
+    <Filter Include="Header Files\utils">
20
+      <UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
21
+    </Filter>
22
+    <Filter Include="Header Files\utils\common">
23
+      <UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
24
+    </Filter>
25
+    <Filter Include="Source Files\utils\common">
26
+      <UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
27
+    </Filter>
28
+    <Filter Include="Source Files\utils\makefont">
29
+      <UniqueIdentifier>{673592e5-697a-4bb6-b06b-8104dcc2c470}</UniqueIdentifier>
30
+    </Filter>
31
+  </ItemGroup>
32
+  <ItemGroup>
33
+    <ClCompile Include="..\..\utils\common\wadlib.c">
34
+      <Filter>Source Files\utils\common</Filter>
35
+    </ClCompile>
36
+    <ClCompile Include="..\..\utils\common\cmdlib.c">
37
+      <Filter>Source Files\utils\common</Filter>
38
+    </ClCompile>
39
+    <ClCompile Include="..\..\utils\makefont\makefont.cpp">
40
+      <Filter>Source Files\utils\makefont</Filter>
41
+    </ClCompile>
42
+  </ItemGroup>
43
+  <ItemGroup>
44
+    <ClInclude Include="..\..\utils\common\wadlib.h">
45
+      <Filter>Header Files\utils\common</Filter>
46
+    </ClInclude>
47
+    <ClInclude Include="..\..\utils\common\cmdlib.h">
48
+      <Filter>Header Files\utils\common</Filter>
49
+    </ClInclude>
50
+  </ItemGroup>
51
+</Project>

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

@@ -0,0 +1,90 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+  </ItemGroup>
13
+  <ItemGroup>
14
+    <ClCompile Include="..\..\utils\makels\makels.cpp" />
15
+  </ItemGroup>
16
+  <PropertyGroup Label="Globals">
17
+    <ProjectGuid>{8D9315B8-D428-411B-A60F-6AFD3CE0A687}</ProjectGuid>
18
+    <Keyword>Win32Proj</Keyword>
19
+    <RootNamespace>bspinfo</RootNamespace>
20
+  </PropertyGroup>
21
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
22
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
23
+    <ConfigurationType>Application</ConfigurationType>
24
+    <UseDebugLibraries>true</UseDebugLibraries>
25
+    <CharacterSet>NotSet</CharacterSet>
26
+  </PropertyGroup>
27
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
28
+    <ConfigurationType>Application</ConfigurationType>
29
+    <UseDebugLibraries>false</UseDebugLibraries>
30
+    <WholeProgramOptimization>true</WholeProgramOptimization>
31
+    <CharacterSet>NotSet</CharacterSet>
32
+  </PropertyGroup>
33
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
34
+  <ImportGroup Label="ExtensionSettings">
35
+  </ImportGroup>
36
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
37
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38
+  </ImportGroup>
39
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
40
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
41
+  </ImportGroup>
42
+  <PropertyGroup Label="UserMacros" />
43
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
44
+    <LinkIncremental>true</LinkIncremental>
45
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
46
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
47
+  </PropertyGroup>
48
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
49
+    <LinkIncremental>false</LinkIncremental>
50
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
51
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
52
+  </PropertyGroup>
53
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
54
+    <ClCompile>
55
+      <PrecompiledHeader>
56
+      </PrecompiledHeader>
57
+      <WarningLevel>Level3</WarningLevel>
58
+      <Optimization>Disabled</Optimization>
59
+      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
60
+      <AdditionalIncludeDirectories>
61
+      </AdditionalIncludeDirectories>
62
+    </ClCompile>
63
+    <Link>
64
+      <SubSystem>Console</SubSystem>
65
+      <GenerateDebugInformation>true</GenerateDebugInformation>
66
+    </Link>
67
+  </ItemDefinitionGroup>
68
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
69
+    <ClCompile>
70
+      <WarningLevel>Level3</WarningLevel>
71
+      <PrecompiledHeader>
72
+      </PrecompiledHeader>
73
+      <Optimization>MaxSpeed</Optimization>
74
+      <FunctionLevelLinking>true</FunctionLevelLinking>
75
+      <IntrinsicFunctions>true</IntrinsicFunctions>
76
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
77
+      <AdditionalIncludeDirectories>
78
+      </AdditionalIncludeDirectories>
79
+    </ClCompile>
80
+    <Link>
81
+      <SubSystem>Console</SubSystem>
82
+      <GenerateDebugInformation>true</GenerateDebugInformation>
83
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
84
+      <OptimizeReferences>true</OptimizeReferences>
85
+    </Link>
86
+  </ItemDefinitionGroup>
87
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
88
+  <ImportGroup Label="ExtensionTargets">
89
+  </ImportGroup>
90
+</Project>

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

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

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

@@ -0,0 +1,100 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+  </ItemGroup>
13
+  <ItemGroup>
14
+    <ClCompile Include="..\..\utils\common\mathlib.c" />
15
+    <ClCompile Include="..\..\utils\mdlviewer\mdlviewer.cpp" />
16
+    <ClCompile Include="..\..\utils\mdlviewer\studio_render.cpp" />
17
+    <ClCompile Include="..\..\utils\mdlviewer\studio_utils.cpp" />
18
+  </ItemGroup>
19
+  <ItemGroup>
20
+    <ClInclude Include="..\..\utils\common\mathlib.h" />
21
+    <ClInclude Include="..\..\utils\mdlviewer\mdlviewer.h" />
22
+  </ItemGroup>
23
+  <ItemGroup>
24
+    <None Include="..\..\utils\mdlviewer\readme.txt" />
25
+  </ItemGroup>
26
+  <PropertyGroup Label="Globals">
27
+    <ProjectGuid>{348EA74B-9E7E-4F35-9474-69A5DB1B5A42}</ProjectGuid>
28
+    <Keyword>Win32Proj</Keyword>
29
+    <RootNamespace>bspinfo</RootNamespace>
30
+  </PropertyGroup>
31
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
32
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
33
+    <ConfigurationType>Application</ConfigurationType>
34
+    <UseDebugLibraries>true</UseDebugLibraries>
35
+    <CharacterSet>MultiByte</CharacterSet>
36
+  </PropertyGroup>
37
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
38
+    <ConfigurationType>Application</ConfigurationType>
39
+    <UseDebugLibraries>false</UseDebugLibraries>
40
+    <WholeProgramOptimization>true</WholeProgramOptimization>
41
+    <CharacterSet>MultiByte</CharacterSet>
42
+  </PropertyGroup>
43
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
44
+  <ImportGroup Label="ExtensionSettings">
45
+  </ImportGroup>
46
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
47
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
48
+  </ImportGroup>
49
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
50
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
51
+  </ImportGroup>
52
+  <PropertyGroup Label="UserMacros" />
53
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
54
+    <LinkIncremental>true</LinkIncremental>
55
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
56
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
57
+  </PropertyGroup>
58
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
59
+    <LinkIncremental>false</LinkIncremental>
60
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
61
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
62
+  </PropertyGroup>
63
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
64
+    <ClCompile>
65
+      <PrecompiledHeader>
66
+      </PrecompiledHeader>
67
+      <WarningLevel>Level3</WarningLevel>
68
+      <Optimization>Disabled</Optimization>
69
+      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
70
+      <AdditionalIncludeDirectories>../../utils/common;../../common</AdditionalIncludeDirectories>
71
+    </ClCompile>
72
+    <Link>
73
+      <SubSystem>Console</SubSystem>
74
+      <GenerateDebugInformation>true</GenerateDebugInformation>
75
+      <AdditionalDependencies>opengl32.lib;glu32.lib;%(AdditionalDependencies)</AdditionalDependencies>
76
+    </Link>
77
+  </ItemDefinitionGroup>
78
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
79
+    <ClCompile>
80
+      <WarningLevel>Level3</WarningLevel>
81
+      <PrecompiledHeader>
82
+      </PrecompiledHeader>
83
+      <Optimization>MaxSpeed</Optimization>
84
+      <FunctionLevelLinking>true</FunctionLevelLinking>
85
+      <IntrinsicFunctions>true</IntrinsicFunctions>
86
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
87
+      <AdditionalIncludeDirectories>../../utils/common;../../common</AdditionalIncludeDirectories>
88
+    </ClCompile>
89
+    <Link>
90
+      <SubSystem>Console</SubSystem>
91
+      <GenerateDebugInformation>true</GenerateDebugInformation>
92
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
93
+      <OptimizeReferences>true</OptimizeReferences>
94
+      <AdditionalDependencies>opengl32.lib;glu32.lib;%(AdditionalDependencies)</AdditionalDependencies>
95
+    </Link>
96
+  </ItemDefinitionGroup>
97
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
98
+  <ImportGroup Label="ExtensionTargets">
99
+  </ImportGroup>
100
+</Project>

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

@@ -0,0 +1,60 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup>
4
+    <Filter Include="Source Files">
5
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+    </Filter>
8
+    <Filter Include="Header Files">
9
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
+    </Filter>
12
+    <Filter Include="Resource Files">
13
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15
+    </Filter>
16
+    <Filter Include="Source Files\utils">
17
+      <UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
18
+    </Filter>
19
+    <Filter Include="Header Files\utils">
20
+      <UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
21
+    </Filter>
22
+    <Filter Include="Header Files\utils\common">
23
+      <UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
24
+    </Filter>
25
+    <Filter Include="Source Files\utils\common">
26
+      <UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
27
+    </Filter>
28
+    <Filter Include="Source Files\utils\mdlviewer">
29
+      <UniqueIdentifier>{7906402f-88d4-4690-a65a-bc8b7c7fe8a0}</UniqueIdentifier>
30
+    </Filter>
31
+    <Filter Include="Header Files\utils\mdlviewer">
32
+      <UniqueIdentifier>{a2b18871-ad87-49ac-8bfd-23c47a207fa5}</UniqueIdentifier>
33
+    </Filter>
34
+  </ItemGroup>
35
+  <ItemGroup>
36
+    <ClCompile Include="..\..\utils\common\mathlib.c">
37
+      <Filter>Source Files\utils\common</Filter>
38
+    </ClCompile>
39
+    <ClCompile Include="..\..\utils\mdlviewer\studio_utils.cpp">
40
+      <Filter>Source Files\utils\mdlviewer</Filter>
41
+    </ClCompile>
42
+    <ClCompile Include="..\..\utils\mdlviewer\mdlviewer.cpp">
43
+      <Filter>Source Files\utils\mdlviewer</Filter>
44
+    </ClCompile>
45
+    <ClCompile Include="..\..\utils\mdlviewer\studio_render.cpp">
46
+      <Filter>Source Files\utils\mdlviewer</Filter>
47
+    </ClCompile>
48
+  </ItemGroup>
49
+  <ItemGroup>
50
+    <ClInclude Include="..\..\utils\mdlviewer\mdlviewer.h">
51
+      <Filter>Header Files\utils\mdlviewer</Filter>
52
+    </ClInclude>
53
+    <ClInclude Include="..\..\utils\common\mathlib.h">
54
+      <Filter>Header Files\utils\common</Filter>
55
+    </ClInclude>
56
+  </ItemGroup>
57
+  <ItemGroup>
58
+    <None Include="..\..\utils\mdlviewer\readme.txt" />
59
+  </ItemGroup>
60
+</Project>

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

@@ -0,0 +1,92 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+  </ItemGroup>
13
+  <ItemGroup>
14
+    <ClCompile Include="..\..\utils\mkmovie\mkmovie.c" />
15
+  </ItemGroup>
16
+  <ItemGroup>
17
+    <ClInclude Include="..\..\utils\common\cmdlib.h" />
18
+    <ClInclude Include="..\..\utils\common\movie.h" />
19
+  </ItemGroup>
20
+  <PropertyGroup Label="Globals">
21
+    <ProjectGuid>{67FAB994-BEE5-4537-8E00-60259F66F654}</ProjectGuid>
22
+    <Keyword>Win32Proj</Keyword>
23
+    <RootNamespace>bspinfo</RootNamespace>
24
+  </PropertyGroup>
25
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
26
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
27
+    <ConfigurationType>Application</ConfigurationType>
28
+    <UseDebugLibraries>true</UseDebugLibraries>
29
+    <CharacterSet>MultiByte</CharacterSet>
30
+  </PropertyGroup>
31
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
32
+    <ConfigurationType>Application</ConfigurationType>
33
+    <UseDebugLibraries>false</UseDebugLibraries>
34
+    <WholeProgramOptimization>true</WholeProgramOptimization>
35
+    <CharacterSet>MultiByte</CharacterSet>
36
+  </PropertyGroup>
37
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
38
+  <ImportGroup Label="ExtensionSettings">
39
+  </ImportGroup>
40
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
41
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
42
+  </ImportGroup>
43
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
44
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
45
+  </ImportGroup>
46
+  <PropertyGroup Label="UserMacros" />
47
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
48
+    <LinkIncremental>true</LinkIncremental>
49
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
50
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
51
+  </PropertyGroup>
52
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
53
+    <LinkIncremental>false</LinkIncremental>
54
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
55
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
56
+  </PropertyGroup>
57
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
58
+    <ClCompile>
59
+      <PrecompiledHeader>
60
+      </PrecompiledHeader>
61
+      <WarningLevel>Level3</WarningLevel>
62
+      <Optimization>Disabled</Optimization>
63
+      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
64
+      <AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
65
+    </ClCompile>
66
+    <Link>
67
+      <SubSystem>Console</SubSystem>
68
+      <GenerateDebugInformation>true</GenerateDebugInformation>
69
+    </Link>
70
+  </ItemDefinitionGroup>
71
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
72
+    <ClCompile>
73
+      <WarningLevel>Level3</WarningLevel>
74
+      <PrecompiledHeader>
75
+      </PrecompiledHeader>
76
+      <Optimization>MaxSpeed</Optimization>
77
+      <FunctionLevelLinking>true</FunctionLevelLinking>
78
+      <IntrinsicFunctions>true</IntrinsicFunctions>
79
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
80
+      <AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
81
+    </ClCompile>
82
+    <Link>
83
+      <SubSystem>Console</SubSystem>
84
+      <GenerateDebugInformation>true</GenerateDebugInformation>
85
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
86
+      <OptimizeReferences>true</OptimizeReferences>
87
+    </Link>
88
+  </ItemDefinitionGroup>
89
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
90
+  <ImportGroup Label="ExtensionTargets">
91
+  </ImportGroup>
92
+</Project>

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

@@ -0,0 +1,42 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup>
4
+    <Filter Include="Source Files">
5
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+    </Filter>
8
+    <Filter Include="Header Files">
9
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
+    </Filter>
12
+    <Filter Include="Resource Files">
13
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15
+    </Filter>
16
+    <Filter Include="Source Files\utils">
17
+      <UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
18
+    </Filter>
19
+    <Filter Include="Header Files\utils">
20
+      <UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
21
+    </Filter>
22
+    <Filter Include="Header Files\utils\common">
23
+      <UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
24
+    </Filter>
25
+    <Filter Include="Source Files\utils\mkmovie">
26
+      <UniqueIdentifier>{62158a60-3771-4525-8b2c-953f323849d8}</UniqueIdentifier>
27
+    </Filter>
28
+  </ItemGroup>
29
+  <ItemGroup>
30
+    <ClCompile Include="..\..\utils\mkmovie\mkmovie.c">
31
+      <Filter>Source Files\utils\mkmovie</Filter>
32
+    </ClCompile>
33
+  </ItemGroup>
34
+  <ItemGroup>
35
+    <ClInclude Include="..\..\utils\common\movie.h">
36
+      <Filter>Header Files\utils\common</Filter>
37
+    </ClInclude>
38
+    <ClInclude Include="..\..\utils\common\cmdlib.h">
39
+      <Filter>Header Files\utils\common</Filter>
40
+    </ClInclude>
41
+  </ItemGroup>
42
+</Project>

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

@@ -0,0 +1,99 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+  </ItemGroup>
13
+  <PropertyGroup Label="Globals">
14
+    <ProjectGuid>{2DE8C1AF-56AE-4B99-8AA5-BEDBF33D6216}</ProjectGuid>
15
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
16
+    <Keyword>ManagedCProj</Keyword>
17
+    <RootNamespace>procinfo</RootNamespace>
18
+  </PropertyGroup>
19
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
20
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
21
+    <ConfigurationType>StaticLibrary</ConfigurationType>
22
+    <UseDebugLibraries>true</UseDebugLibraries>
23
+    <CharacterSet>MultiByte</CharacterSet>
24
+  </PropertyGroup>
25
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
26
+    <ConfigurationType>StaticLibrary</ConfigurationType>
27
+    <UseDebugLibraries>false</UseDebugLibraries>
28
+    <CharacterSet>MultiByte</CharacterSet>
29
+  </PropertyGroup>
30
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
31
+  <ImportGroup Label="ExtensionSettings">
32
+  </ImportGroup>
33
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
34
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
35
+  </ImportGroup>
36
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
37
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38
+  </ImportGroup>
39
+  <PropertyGroup Label="UserMacros" />
40
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
41
+    <LinkIncremental>true</LinkIncremental>
42
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
43
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
44
+  </PropertyGroup>
45
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
46
+    <LinkIncremental>false</LinkIncremental>
47
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
48
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
49
+  </PropertyGroup>
50
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
51
+    <ClCompile>
52
+      <WarningLevel>Level3</WarningLevel>
53
+      <Optimization>Disabled</Optimization>
54
+      <PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
55
+    </ClCompile>
56
+    <Link>
57
+      <GenerateDebugInformation>true</GenerateDebugInformation>
58
+      <AdditionalDependencies>
59
+      </AdditionalDependencies>
60
+    </Link>
61
+    <PostBuildEvent>
62
+      <Command>attrib -r ..\..\utils\procinfo\lib\win32_vc6\procinfo.lib
63
+copy $(TargetPath) ..\..\utils\procinfo\lib\win32_vc6\procinfo.lib</Command>
64
+    </PostBuildEvent>
65
+    <PostBuildEvent>
66
+      <Message>Post-Build Event</Message>
67
+    </PostBuildEvent>
68
+  </ItemDefinitionGroup>
69
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
70
+    <ClCompile>
71
+      <WarningLevel>Level3</WarningLevel>
72
+      <PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
73
+    </ClCompile>
74
+    <Link>
75
+      <GenerateDebugInformation>true</GenerateDebugInformation>
76
+      <AdditionalDependencies>
77
+      </AdditionalDependencies>
78
+    </Link>
79
+    <PostBuildEvent>
80
+      <Command>attrib -r ..\..\utils\procinfo\lib\win32_vc6\procinfo.lib
81
+copy $(TargetPath) ..\..\utils\procinfo\lib\win32_vc6\procinfo.lib</Command>
82
+      <Message>Post-Build Event</Message>
83
+    </PostBuildEvent>
84
+  </ItemDefinitionGroup>
85
+  <ItemGroup>
86
+    <Reference Include="System" />
87
+    <Reference Include="System.Data" />
88
+    <Reference Include="System.Xml" />
89
+  </ItemGroup>
90
+  <ItemGroup>
91
+    <ClCompile Include="..\..\utils\procinfo\procinfo.cpp" />
92
+  </ItemGroup>
93
+  <ItemGroup>
94
+    <ClInclude Include="..\..\utils\procinfo\procinfo.h" />
95
+  </ItemGroup>
96
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
97
+  <ImportGroup Label="ExtensionTargets">
98
+  </ImportGroup>
99
+</Project>

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

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

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

@@ -0,0 +1,111 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+  </ItemGroup>
13
+  <ItemGroup>
14
+    <ClInclude Include="..\..\utils\common\bsplib.h" />
15
+    <ClInclude Include="..\..\utils\common\cmdlib.h" />
16
+    <ClInclude Include="..\..\utils\common\mathlib.h" />
17
+    <ClInclude Include="..\..\utils\common\scriplib.h" />
18
+    <ClInclude Include="..\..\utils\common\threads.h" />
19
+    <ClInclude Include="..\..\utils\qbsp2\bsp5.h" />
20
+  </ItemGroup>
21
+  <ItemGroup>
22
+    <ClCompile Include="..\..\utils\common\bsplib.c" />
23
+    <ClCompile Include="..\..\utils\common\cmdlib.c" />
24
+    <ClCompile Include="..\..\utils\common\mathlib.c" />
25
+    <ClCompile Include="..\..\utils\common\scriplib.c" />
26
+    <ClCompile Include="..\..\utils\common\threads.c" />
27
+    <ClCompile Include="..\..\utils\qbsp2\gldraw.c" />
28
+    <ClCompile Include="..\..\utils\qbsp2\merge.c" />
29
+    <ClCompile Include="..\..\utils\qbsp2\outside.c" />
30
+    <ClCompile Include="..\..\utils\qbsp2\portals.c" />
31
+    <ClCompile Include="..\..\utils\qbsp2\qbsp.c" />
32
+    <ClCompile Include="..\..\utils\qbsp2\solidbsp.c" />
33
+    <ClCompile Include="..\..\utils\qbsp2\surfaces.c" />
34
+    <ClCompile Include="..\..\utils\qbsp2\tjunc.c" />
35
+    <ClCompile Include="..\..\utils\qbsp2\writebsp.c" />
36
+  </ItemGroup>
37
+  <PropertyGroup Label="Globals">
38
+    <ProjectGuid>{415A5B85-BEA0-4F96-BBB6-5447E4CF726F}</ProjectGuid>
39
+    <Keyword>Win32Proj</Keyword>
40
+    <RootNamespace>bspinfo</RootNamespace>
41
+  </PropertyGroup>
42
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
43
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
44
+    <ConfigurationType>Application</ConfigurationType>
45
+    <UseDebugLibraries>true</UseDebugLibraries>
46
+    <CharacterSet>NotSet</CharacterSet>
47
+  </PropertyGroup>
48
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
49
+    <ConfigurationType>Application</ConfigurationType>
50
+    <UseDebugLibraries>false</UseDebugLibraries>
51
+    <WholeProgramOptimization>true</WholeProgramOptimization>
52
+    <CharacterSet>NotSet</CharacterSet>
53
+  </PropertyGroup>
54
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
55
+  <ImportGroup Label="ExtensionSettings">
56
+  </ImportGroup>
57
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
58
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
59
+  </ImportGroup>
60
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
61
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
62
+  </ImportGroup>
63
+  <PropertyGroup Label="UserMacros" />
64
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
65
+    <LinkIncremental>true</LinkIncremental>
66
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
67
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
68
+  </PropertyGroup>
69
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
70
+    <LinkIncremental>false</LinkIncremental>
71
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
72
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
73
+  </PropertyGroup>
74
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
75
+    <ClCompile>
76
+      <PrecompiledHeader>
77
+      </PrecompiledHeader>
78
+      <WarningLevel>Level3</WarningLevel>
79
+      <Optimization>Disabled</Optimization>
80
+      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;DOUBLEVEC_T;_NOENUMQBOOL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
81
+      <AdditionalIncludeDirectories>../../utils/common;..\..\external</AdditionalIncludeDirectories>
82
+    </ClCompile>
83
+    <Link>
84
+      <SubSystem>Console</SubSystem>
85
+      <GenerateDebugInformation>true</GenerateDebugInformation>
86
+      <AdditionalDependencies>opengl32.lib;glu32.lib;glaux.lib;%(AdditionalDependencies)</AdditionalDependencies>
87
+    </Link>
88
+  </ItemDefinitionGroup>
89
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
90
+    <ClCompile>
91
+      <WarningLevel>Level3</WarningLevel>
92
+      <PrecompiledHeader>
93
+      </PrecompiledHeader>
94
+      <Optimization>MaxSpeed</Optimization>
95
+      <FunctionLevelLinking>true</FunctionLevelLinking>
96
+      <IntrinsicFunctions>true</IntrinsicFunctions>
97
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;DOUBLEVEC_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
98
+      <AdditionalIncludeDirectories>../../utils/common;..\..\external</AdditionalIncludeDirectories>
99
+    </ClCompile>
100
+    <Link>
101
+      <SubSystem>Console</SubSystem>
102
+      <GenerateDebugInformation>true</GenerateDebugInformation>
103
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
104
+      <OptimizeReferences>true</OptimizeReferences>
105
+      <AdditionalDependencies>opengl32.lib;glu32.lib;glaux.lib;%(AdditionalDependencies)</AdditionalDependencies>
106
+    </Link>
107
+  </ItemDefinitionGroup>
108
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
109
+  <ImportGroup Label="ExtensionTargets">
110
+  </ImportGroup>
111
+</Project>

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

@@ -0,0 +1,99 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup>
4
+    <Filter Include="Source Files">
5
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+    </Filter>
8
+    <Filter Include="Header Files">
9
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
+    </Filter>
12
+    <Filter Include="Resource Files">
13
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15
+    </Filter>
16
+    <Filter Include="Source Files\utils">
17
+      <UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
18
+    </Filter>
19
+    <Filter Include="Header Files\utils">
20
+      <UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
21
+    </Filter>
22
+    <Filter Include="Header Files\utils\common">
23
+      <UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
24
+    </Filter>
25
+    <Filter Include="Source Files\utils\common">
26
+      <UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
27
+    </Filter>
28
+    <Filter Include="Source Files\utils\qbsp2">
29
+      <UniqueIdentifier>{d644c063-b652-4ccb-8bcb-f55aad917c62}</UniqueIdentifier>
30
+    </Filter>
31
+    <Filter Include="Header Files\utils\qbsp2">
32
+      <UniqueIdentifier>{b5377a13-8c89-4fca-9dc1-d94312a449cd}</UniqueIdentifier>
33
+    </Filter>
34
+  </ItemGroup>
35
+  <ItemGroup>
36
+    <ClInclude Include="..\..\utils\qbsp2\bsp5.h">
37
+      <Filter>Header Files\utils\qbsp2</Filter>
38
+    </ClInclude>
39
+    <ClInclude Include="..\..\utils\common\bsplib.h">
40
+      <Filter>Header Files\utils\common</Filter>
41
+    </ClInclude>
42
+    <ClInclude Include="..\..\utils\common\threads.h">
43
+      <Filter>Header Files\utils\common</Filter>
44
+    </ClInclude>
45
+    <ClInclude Include="..\..\utils\common\cmdlib.h">
46
+      <Filter>Header Files\utils\common</Filter>
47
+    </ClInclude>
48
+    <ClInclude Include="..\..\utils\common\mathlib.h">
49
+      <Filter>Header Files\utils\common</Filter>
50
+    </ClInclude>
51
+    <ClInclude Include="..\..\utils\common\scriplib.h">
52
+      <Filter>Header Files\utils\common</Filter>
53
+    </ClInclude>
54
+  </ItemGroup>
55
+  <ItemGroup>
56
+    <ClCompile Include="..\..\utils\common\bsplib.c">
57
+      <Filter>Source Files\utils\common</Filter>
58
+    </ClCompile>
59
+    <ClCompile Include="..\..\utils\common\cmdlib.c">
60
+      <Filter>Source Files\utils\common</Filter>
61
+    </ClCompile>
62
+    <ClCompile Include="..\..\utils\common\mathlib.c">
63
+      <Filter>Source Files\utils\common</Filter>
64
+    </ClCompile>
65
+    <ClCompile Include="..\..\utils\qbsp2\gldraw.c">
66
+      <Filter>Source Files\utils\qbsp2</Filter>
67
+    </ClCompile>
68
+    <ClCompile Include="..\..\utils\qbsp2\portals.c">
69
+      <Filter>Source Files\utils\qbsp2</Filter>
70
+    </ClCompile>
71
+    <ClCompile Include="..\..\utils\qbsp2\merge.c">
72
+      <Filter>Source Files\utils\qbsp2</Filter>
73
+    </ClCompile>
74
+    <ClCompile Include="..\..\utils\qbsp2\outside.c">
75
+      <Filter>Source Files\utils\qbsp2</Filter>
76
+    </ClCompile>
77
+    <ClCompile Include="..\..\utils\qbsp2\qbsp.c">
78
+      <Filter>Source Files\utils\qbsp2</Filter>
79
+    </ClCompile>
80
+    <ClCompile Include="..\..\utils\qbsp2\surfaces.c">
81
+      <Filter>Source Files\utils\qbsp2</Filter>
82
+    </ClCompile>
83
+    <ClCompile Include="..\..\utils\qbsp2\solidbsp.c">
84
+      <Filter>Source Files\utils\qbsp2</Filter>
85
+    </ClCompile>
86
+    <ClCompile Include="..\..\utils\common\threads.c">
87
+      <Filter>Source Files\utils\common</Filter>
88
+    </ClCompile>
89
+    <ClCompile Include="..\..\utils\common\scriplib.c">
90
+      <Filter>Source Files\utils\common</Filter>
91
+    </ClCompile>
92
+    <ClCompile Include="..\..\utils\qbsp2\writebsp.c">
93
+      <Filter>Source Files\utils\qbsp2</Filter>
94
+    </ClCompile>
95
+    <ClCompile Include="..\..\utils\qbsp2\tjunc.c">
96
+      <Filter>Source Files\utils\qbsp2</Filter>
97
+    </ClCompile>
98
+  </ItemGroup>
99
+</Project>

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

@@ -0,0 +1,110 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+  </ItemGroup>
13
+  <ItemGroup>
14
+    <ClCompile Include="..\..\utils\common\bspfile.c" />
15
+    <ClCompile Include="..\..\utils\common\cmdlib.c" />
16
+    <ClCompile Include="..\..\utils\common\mathlib.c" />
17
+    <ClCompile Include="..\..\utils\common\polylib.c" />
18
+    <ClCompile Include="..\..\utils\common\scriplib.c" />
19
+    <ClCompile Include="..\..\utils\common\threads.c" />
20
+    <ClCompile Include="..\..\utils\qcsg\brush.c" />
21
+    <ClCompile Include="..\..\utils\qcsg\gldraw.c" />
22
+    <ClCompile Include="..\..\utils\qcsg\hullfile.c" />
23
+    <ClCompile Include="..\..\utils\qcsg\map.c" />
24
+    <ClCompile Include="..\..\utils\qcsg\qcsg.c" />
25
+    <ClCompile Include="..\..\utils\qcsg\textures.c" />
26
+  </ItemGroup>
27
+  <ItemGroup>
28
+    <ClInclude Include="..\..\utils\common\bspfile.h" />
29
+    <ClInclude Include="..\..\utils\common\cmdlib.h" />
30
+    <ClInclude Include="..\..\utils\common\mathlib.h" />
31
+    <ClInclude Include="..\..\utils\common\polylib.h" />
32
+    <ClInclude Include="..\..\utils\common\scriplib.h" />
33
+    <ClInclude Include="..\..\utils\common\threads.h" />
34
+    <ClInclude Include="..\..\utils\qcsg\csg.h" />
35
+  </ItemGroup>
36
+  <PropertyGroup Label="Globals">
37
+    <ProjectGuid>{0F44E796-FAFD-4D52-91DE-707B5FB27841}</ProjectGuid>
38
+    <Keyword>Win32Proj</Keyword>
39
+    <RootNamespace>bspinfo</RootNamespace>
40
+  </PropertyGroup>
41
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
42
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
43
+    <ConfigurationType>Application</ConfigurationType>
44
+    <UseDebugLibraries>true</UseDebugLibraries>
45
+    <CharacterSet>MultiByte</CharacterSet>
46
+  </PropertyGroup>
47
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
48
+    <ConfigurationType>Application</ConfigurationType>
49
+    <UseDebugLibraries>false</UseDebugLibraries>
50
+    <WholeProgramOptimization>true</WholeProgramOptimization>
51
+    <CharacterSet>MultiByte</CharacterSet>
52
+  </PropertyGroup>
53
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
54
+  <ImportGroup Label="ExtensionSettings">
55
+  </ImportGroup>
56
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
57
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
58
+  </ImportGroup>
59
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
60
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61
+  </ImportGroup>
62
+  <PropertyGroup Label="UserMacros" />
63
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
64
+    <LinkIncremental>true</LinkIncremental>
65
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
66
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
67
+  </PropertyGroup>
68
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
69
+    <LinkIncremental>false</LinkIncremental>
70
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
71
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
72
+  </PropertyGroup>
73
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
74
+    <ClCompile>
75
+      <PrecompiledHeader>
76
+      </PrecompiledHeader>
77
+      <WarningLevel>Level3</WarningLevel>
78
+      <Optimization>Disabled</Optimization>
79
+      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;DOUBLEVEC_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
80
+      <AdditionalIncludeDirectories>../../utils/common;../../external</AdditionalIncludeDirectories>
81
+    </ClCompile>
82
+    <Link>
83
+      <SubSystem>Console</SubSystem>
84
+      <GenerateDebugInformation>true</GenerateDebugInformation>
85
+      <AdditionalDependencies>opengl32.lib;glu32.lib;glaux.lib;%(AdditionalDependencies)</AdditionalDependencies>
86
+    </Link>
87
+  </ItemDefinitionGroup>
88
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
89
+    <ClCompile>
90
+      <WarningLevel>Level3</WarningLevel>
91
+      <PrecompiledHeader>
92
+      </PrecompiledHeader>
93
+      <Optimization>MaxSpeed</Optimization>
94
+      <FunctionLevelLinking>true</FunctionLevelLinking>
95
+      <IntrinsicFunctions>true</IntrinsicFunctions>
96
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;DOUBLEVEC_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
97
+      <AdditionalIncludeDirectories>../../utils/common;../../external</AdditionalIncludeDirectories>
98
+    </ClCompile>
99
+    <Link>
100
+      <SubSystem>Console</SubSystem>
101
+      <GenerateDebugInformation>true</GenerateDebugInformation>
102
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
103
+      <OptimizeReferences>true</OptimizeReferences>
104
+      <AdditionalDependencies>opengl32.lib;glu32.lib;glaux.lib;%(AdditionalDependencies)</AdditionalDependencies>
105
+    </Link>
106
+  </ItemDefinitionGroup>
107
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
108
+  <ImportGroup Label="ExtensionTargets">
109
+  </ImportGroup>
110
+</Project>

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

@@ -0,0 +1,96 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup>
4
+    <Filter Include="Source Files">
5
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+    </Filter>
8
+    <Filter Include="Header Files">
9
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
+    </Filter>
12
+    <Filter Include="Resource Files">
13
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15
+    </Filter>
16
+    <Filter Include="Source Files\utils">
17
+      <UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
18
+    </Filter>
19
+    <Filter Include="Header Files\utils">
20
+      <UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
21
+    </Filter>
22
+    <Filter Include="Header Files\utils\common">
23
+      <UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
24
+    </Filter>
25
+    <Filter Include="Source Files\utils\common">
26
+      <UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
27
+    </Filter>
28
+    <Filter Include="Source Files\utils\qcsg">
29
+      <UniqueIdentifier>{c207af92-a0f3-402b-b5c1-7ae72a1d972c}</UniqueIdentifier>
30
+    </Filter>
31
+    <Filter Include="Header Files\utils\qcsg">
32
+      <UniqueIdentifier>{a4552d55-15d2-4b83-850f-cef12647285f}</UniqueIdentifier>
33
+    </Filter>
34
+  </ItemGroup>
35
+  <ItemGroup>
36
+    <ClCompile Include="..\..\utils\qcsg\brush.c">
37
+      <Filter>Source Files\utils\qcsg</Filter>
38
+    </ClCompile>
39
+    <ClCompile Include="..\..\utils\common\bspfile.c">
40
+      <Filter>Source Files\utils\common</Filter>
41
+    </ClCompile>
42
+    <ClCompile Include="..\..\utils\common\polylib.c">
43
+      <Filter>Source Files\utils\common</Filter>
44
+    </ClCompile>
45
+    <ClCompile Include="..\..\utils\common\cmdlib.c">
46
+      <Filter>Source Files\utils\common</Filter>
47
+    </ClCompile>
48
+    <ClCompile Include="..\..\utils\common\mathlib.c">
49
+      <Filter>Source Files\utils\common</Filter>
50
+    </ClCompile>
51
+    <ClCompile Include="..\..\utils\qcsg\qcsg.c">
52
+      <Filter>Source Files\utils\qcsg</Filter>
53
+    </ClCompile>
54
+    <ClCompile Include="..\..\utils\qcsg\gldraw.c">
55
+      <Filter>Source Files\utils\qcsg</Filter>
56
+    </ClCompile>
57
+    <ClCompile Include="..\..\utils\qcsg\hullfile.c">
58
+      <Filter>Source Files\utils\qcsg</Filter>
59
+    </ClCompile>
60
+    <ClCompile Include="..\..\utils\qcsg\map.c">
61
+      <Filter>Source Files\utils\qcsg</Filter>
62
+    </ClCompile>
63
+    <ClCompile Include="..\..\utils\qcsg\textures.c">
64
+      <Filter>Source Files\utils\qcsg</Filter>
65
+    </ClCompile>
66
+    <ClCompile Include="..\..\utils\common\scriplib.c">
67
+      <Filter>Source Files\utils\common</Filter>
68
+    </ClCompile>
69
+    <ClCompile Include="..\..\utils\common\threads.c">
70
+      <Filter>Source Files\utils\common</Filter>
71
+    </ClCompile>
72
+  </ItemGroup>
73
+  <ItemGroup>
74
+    <ClInclude Include="..\..\utils\common\threads.h">
75
+      <Filter>Header Files\utils\common</Filter>
76
+    </ClInclude>
77
+    <ClInclude Include="..\..\utils\common\bspfile.h">
78
+      <Filter>Header Files\utils\common</Filter>
79
+    </ClInclude>
80
+    <ClInclude Include="..\..\utils\common\cmdlib.h">
81
+      <Filter>Header Files\utils\common</Filter>
82
+    </ClInclude>
83
+    <ClInclude Include="..\..\utils\common\mathlib.h">
84
+      <Filter>Header Files\utils\common</Filter>
85
+    </ClInclude>
86
+    <ClInclude Include="..\..\utils\common\polylib.h">
87
+      <Filter>Header Files\utils\common</Filter>
88
+    </ClInclude>
89
+    <ClInclude Include="..\..\utils\common\scriplib.h">
90
+      <Filter>Header Files\utils\common</Filter>
91
+    </ClInclude>
92
+    <ClInclude Include="..\..\utils\qcsg\csg.h">
93
+      <Filter>Header Files\utils\qcsg</Filter>
94
+    </ClInclude>
95
+  </ItemGroup>
96
+</Project>

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

@@ -0,0 +1,100 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+  </ItemGroup>
13
+  <ItemGroup>
14
+    <ClCompile Include="..\..\utils\common\cmdlib.c" />
15
+    <ClCompile Include="..\..\utils\common\lbmlib.c" />
16
+    <ClCompile Include="..\..\utils\common\scriplib.c" />
17
+    <ClCompile Include="..\..\utils\common\wadlib.c" />
18
+    <ClCompile Include="..\..\utils\qlumpy\qlumpy.c" />
19
+    <ClCompile Include="..\..\utils\qlumpy\quakegrb.c" />
20
+  </ItemGroup>
21
+  <ItemGroup>
22
+    <ClInclude Include="..\..\utils\common\cmdlib.h" />
23
+    <ClInclude Include="..\..\utils\common\lbmlib.h" />
24
+    <ClInclude Include="..\..\utils\common\scriplib.h" />
25
+    <ClInclude Include="..\..\utils\common\wadlib.h" />
26
+    <ClInclude Include="..\..\utils\qlumpy\qlumpy.h" />
27
+  </ItemGroup>
28
+  <PropertyGroup Label="Globals">
29
+    <ProjectGuid>{01780C5F-55A2-41D4-B27F-6383BB549DE4}</ProjectGuid>
30
+    <Keyword>Win32Proj</Keyword>
31
+    <RootNamespace>bspinfo</RootNamespace>
32
+  </PropertyGroup>
33
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
34
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
35
+    <ConfigurationType>Application</ConfigurationType>
36
+    <UseDebugLibraries>true</UseDebugLibraries>
37
+    <CharacterSet>NotSet</CharacterSet>
38
+  </PropertyGroup>
39
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
40
+    <ConfigurationType>Application</ConfigurationType>
41
+    <UseDebugLibraries>false</UseDebugLibraries>
42
+    <WholeProgramOptimization>true</WholeProgramOptimization>
43
+    <CharacterSet>NotSet</CharacterSet>
44
+  </PropertyGroup>
45
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
46
+  <ImportGroup Label="ExtensionSettings">
47
+  </ImportGroup>
48
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
49
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
50
+  </ImportGroup>
51
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
52
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
53
+  </ImportGroup>
54
+  <PropertyGroup Label="UserMacros" />
55
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
56
+    <LinkIncremental>true</LinkIncremental>
57
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
58
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
59
+  </PropertyGroup>
60
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
61
+    <LinkIncremental>false</LinkIncremental>
62
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
63
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
64
+  </PropertyGroup>
65
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
66
+    <ClCompile>
67
+      <PrecompiledHeader>
68
+      </PrecompiledHeader>
69
+      <WarningLevel>Level3</WarningLevel>
70
+      <Optimization>Disabled</Optimization>
71
+      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
72
+      <AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
73
+    </ClCompile>
74
+    <Link>
75
+      <SubSystem>Console</SubSystem>
76
+      <GenerateDebugInformation>true</GenerateDebugInformation>
77
+    </Link>
78
+  </ItemDefinitionGroup>
79
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
80
+    <ClCompile>
81
+      <WarningLevel>Level3</WarningLevel>
82
+      <PrecompiledHeader>
83
+      </PrecompiledHeader>
84
+      <Optimization>MaxSpeed</Optimization>
85
+      <FunctionLevelLinking>true</FunctionLevelLinking>
86
+      <IntrinsicFunctions>true</IntrinsicFunctions>
87
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
88
+      <AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
89
+    </ClCompile>
90
+    <Link>
91
+      <SubSystem>Console</SubSystem>
92
+      <GenerateDebugInformation>true</GenerateDebugInformation>
93
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
94
+      <OptimizeReferences>true</OptimizeReferences>
95
+    </Link>
96
+  </ItemDefinitionGroup>
97
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
98
+  <ImportGroup Label="ExtensionTargets">
99
+  </ImportGroup>
100
+</Project>

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

@@ -0,0 +1,72 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup>
4
+    <Filter Include="Source Files">
5
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+    </Filter>
8
+    <Filter Include="Header Files">
9
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
+    </Filter>
12
+    <Filter Include="Resource Files">
13
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15
+    </Filter>
16
+    <Filter Include="Source Files\utils">
17
+      <UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
18
+    </Filter>
19
+    <Filter Include="Header Files\utils">
20
+      <UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
21
+    </Filter>
22
+    <Filter Include="Header Files\utils\common">
23
+      <UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
24
+    </Filter>
25
+    <Filter Include="Source Files\utils\common">
26
+      <UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
27
+    </Filter>
28
+    <Filter Include="Source Files\utils\qlumpy">
29
+      <UniqueIdentifier>{40830782-1c0d-42a8-85f0-09f7e3f4ff75}</UniqueIdentifier>
30
+    </Filter>
31
+    <Filter Include="Header Files\utils\qlumpy">
32
+      <UniqueIdentifier>{b2425109-9ba3-4a19-9a54-7451f3a87a23}</UniqueIdentifier>
33
+    </Filter>
34
+  </ItemGroup>
35
+  <ItemGroup>
36
+    <ClCompile Include="..\..\utils\common\wadlib.c">
37
+      <Filter>Source Files\utils\common</Filter>
38
+    </ClCompile>
39
+    <ClCompile Include="..\..\utils\common\cmdlib.c">
40
+      <Filter>Source Files\utils\common</Filter>
41
+    </ClCompile>
42
+    <ClCompile Include="..\..\utils\common\lbmlib.c">
43
+      <Filter>Source Files\utils\common</Filter>
44
+    </ClCompile>
45
+    <ClCompile Include="..\..\utils\common\scriplib.c">
46
+      <Filter>Source Files\utils\common</Filter>
47
+    </ClCompile>
48
+    <ClCompile Include="..\..\utils\qlumpy\quakegrb.c">
49
+      <Filter>Source Files\utils\qlumpy</Filter>
50
+    </ClCompile>
51
+    <ClCompile Include="..\..\utils\qlumpy\qlumpy.c">
52
+      <Filter>Source Files\utils\qlumpy</Filter>
53
+    </ClCompile>
54
+  </ItemGroup>
55
+  <ItemGroup>
56
+    <ClInclude Include="..\..\utils\qlumpy\qlumpy.h">
57
+      <Filter>Header Files\utils\qlumpy</Filter>
58
+    </ClInclude>
59
+    <ClInclude Include="..\..\utils\common\wadlib.h">
60
+      <Filter>Header Files\utils\common</Filter>
61
+    </ClInclude>
62
+    <ClInclude Include="..\..\utils\common\cmdlib.h">
63
+      <Filter>Header Files\utils\common</Filter>
64
+    </ClInclude>
65
+    <ClInclude Include="..\..\utils\common\lbmlib.h">
66
+      <Filter>Header Files\utils\common</Filter>
67
+    </ClInclude>
68
+    <ClInclude Include="..\..\utils\common\scriplib.h">
69
+      <Filter>Header Files\utils\common</Filter>
70
+    </ClInclude>
71
+  </ItemGroup>
72
+</Project>

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

@@ -0,0 +1,106 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+  </ItemGroup>
13
+  <ItemGroup>
14
+    <ClCompile Include="..\..\utils\common\bspfile.c" />
15
+    <ClCompile Include="..\..\utils\common\cmdlib.c" />
16
+    <ClCompile Include="..\..\utils\common\mathlib.c" />
17
+    <ClCompile Include="..\..\utils\common\polylib.c" />
18
+    <ClCompile Include="..\..\utils\common\scriplib.c" />
19
+    <ClCompile Include="..\..\utils\common\threads.c" />
20
+    <ClCompile Include="..\..\utils\qrad\lightmap.c" />
21
+    <ClCompile Include="..\..\utils\qrad\qrad.c" />
22
+    <ClCompile Include="..\..\utils\qrad\trace.c" />
23
+    <ClCompile Include="..\..\utils\qrad\vismat.c" />
24
+  </ItemGroup>
25
+  <ItemGroup>
26
+    <ClInclude Include="..\..\utils\common\bspfile.h" />
27
+    <ClInclude Include="..\..\utils\common\cmdlib.h" />
28
+    <ClInclude Include="..\..\utils\common\mathlib.h" />
29
+    <ClInclude Include="..\..\utils\common\polylib.h" />
30
+    <ClInclude Include="..\..\utils\common\scriplib.h" />
31
+    <ClInclude Include="..\..\utils\common\threads.h" />
32
+    <ClInclude Include="..\..\utils\qrad\qrad.h" />
33
+  </ItemGroup>
34
+  <PropertyGroup Label="Globals">
35
+    <ProjectGuid>{A015F691-DF6B-4E05-AB3B-4B0A55C13EDC}</ProjectGuid>
36
+    <Keyword>Win32Proj</Keyword>
37
+    <RootNamespace>bspinfo</RootNamespace>
38
+  </PropertyGroup>
39
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
40
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
41
+    <ConfigurationType>Application</ConfigurationType>
42
+    <UseDebugLibraries>true</UseDebugLibraries>
43
+    <CharacterSet>NotSet</CharacterSet>
44
+  </PropertyGroup>
45
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
46
+    <ConfigurationType>Application</ConfigurationType>
47
+    <UseDebugLibraries>false</UseDebugLibraries>
48
+    <WholeProgramOptimization>true</WholeProgramOptimization>
49
+    <CharacterSet>NotSet</CharacterSet>
50
+  </PropertyGroup>
51
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
52
+  <ImportGroup Label="ExtensionSettings">
53
+  </ImportGroup>
54
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
55
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
56
+  </ImportGroup>
57
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
58
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
59
+  </ImportGroup>
60
+  <PropertyGroup Label="UserMacros" />
61
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
62
+    <LinkIncremental>true</LinkIncremental>
63
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
64
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
65
+  </PropertyGroup>
66
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
67
+    <LinkIncremental>false</LinkIncremental>
68
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
69
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
70
+  </PropertyGroup>
71
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
72
+    <ClCompile>
73
+      <PrecompiledHeader>
74
+      </PrecompiledHeader>
75
+      <WarningLevel>Level3</WarningLevel>
76
+      <Optimization>Disabled</Optimization>
77
+      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
78
+      <AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
79
+    </ClCompile>
80
+    <Link>
81
+      <SubSystem>Console</SubSystem>
82
+      <GenerateDebugInformation>true</GenerateDebugInformation>
83
+    </Link>
84
+  </ItemDefinitionGroup>
85
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
86
+    <ClCompile>
87
+      <WarningLevel>Level3</WarningLevel>
88
+      <PrecompiledHeader>
89
+      </PrecompiledHeader>
90
+      <Optimization>MaxSpeed</Optimization>
91
+      <FunctionLevelLinking>true</FunctionLevelLinking>
92
+      <IntrinsicFunctions>true</IntrinsicFunctions>
93
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
94
+      <AdditionalIncludeDirectories>../../utils/common</AdditionalIncludeDirectories>
95
+    </ClCompile>
96
+    <Link>
97
+      <SubSystem>Console</SubSystem>
98
+      <GenerateDebugInformation>true</GenerateDebugInformation>
99
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
100
+      <OptimizeReferences>true</OptimizeReferences>
101
+    </Link>
102
+  </ItemDefinitionGroup>
103
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
104
+  <ImportGroup Label="ExtensionTargets">
105
+  </ImportGroup>
106
+</Project>

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

@@ -0,0 +1,90 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup>
4
+    <Filter Include="Source Files">
5
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+    </Filter>
8
+    <Filter Include="Header Files">
9
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
+    </Filter>
12
+    <Filter Include="Resource Files">
13
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15
+    </Filter>
16
+    <Filter Include="Source Files\utils">
17
+      <UniqueIdentifier>{d5586ccb-fc7d-4e19-8bde-8656f3036ed7}</UniqueIdentifier>
18
+    </Filter>
19
+    <Filter Include="Header Files\utils">
20
+      <UniqueIdentifier>{23430839-825c-42f8-87f8-5ae8dbcbb612}</UniqueIdentifier>
21
+    </Filter>
22
+    <Filter Include="Header Files\utils\common">
23
+      <UniqueIdentifier>{b9529791-81ac-4e1b-86b7-e3ae05d40193}</UniqueIdentifier>
24
+    </Filter>
25
+    <Filter Include="Source Files\utils\common">
26
+      <UniqueIdentifier>{9e2cd4d4-3990-41a2-ae01-1cdcaeb123b2}</UniqueIdentifier>
27
+    </Filter>
28
+    <Filter Include="Source Files\utils\qrad">
29
+      <UniqueIdentifier>{bcc621aa-c3f2-45d3-8c92-d4c1dab462b4}</UniqueIdentifier>
30
+    </Filter>
31
+    <Filter Include="Header Files\utils\qrad">
32
+      <UniqueIdentifier>{67707ba9-3f42-423a-9494-4cbdce9f8710}</UniqueIdentifier>
33
+    </Filter>
34
+  </ItemGroup>
35
+  <ItemGroup>
36
+    <ClCompile Include="..\..\utils\common\bspfile.c">
37
+      <Filter>Source Files\utils\common</Filter>
38
+    </ClCompile>
39
+    <ClCompile Include="..\..\utils\common\cmdlib.c">
40
+      <Filter>Source Files\utils\common</Filter>
41
+    </ClCompile>
42
+    <ClCompile Include="..\..\utils\common\mathlib.c">
43
+      <Filter>Source Files\utils\common</Filter>
44
+    </ClCompile>
45
+    <ClCompile Include="..\..\utils\common\polylib.c">
46
+      <Filter>Source Files\utils\common</Filter>
47
+    </ClCompile>
48
+    <ClCompile Include="..\..\utils\common\scriplib.c">
49
+      <Filter>Source Files\utils\common</Filter>
50
+    </ClCompile>
51
+    <ClCompile Include="..\..\utils\common\threads.c">
52
+      <Filter>Source Files\utils\common</Filter>
53
+    </ClCompile>
54
+    <ClCompile Include="..\..\utils\qrad\vismat.c">
55
+      <Filter>Source Files\utils\qrad</Filter>
56
+    </ClCompile>
57
+    <ClCompile Include="..\..\utils\qrad\lightmap.c">
58
+      <Filter>Source Files\utils\qrad</Filter>
59
+    </ClCompile>
60
+    <ClCompile Include="..\..\utils\qrad\qrad.c">
61
+      <Filter>Source Files\utils\qrad</Filter>
62
+    </ClCompile>
63
+    <ClCompile Include="..\..\utils\qrad\trace.c">
64
+      <Filter>Source Files\utils\qrad</Filter>
65
+    </ClCompile>
66
+  </ItemGroup>
67
+  <ItemGroup>
68
+    <ClInclude Include="..\..\utils\common\threads.h">
69
+      <Filter>Header Files\utils\common</Filter>
70
+    </ClInclude>
71
+    <ClInclude Include="..\..\utils\common\bspfile.h">
72
+      <Filter>Header Files\utils\common</Filter>
73
+    </ClInclude>
74
+    <ClInclude Include="..\..\utils\common\cmdlib.h">
75
+      <Filter>Header Files\utils\common</Filter>
76
+    </ClInclude>
77
+    <ClInclude Include="..\..\utils\common\mathlib.h">
78
+      <Filter>Header Files\utils\common</Filter>
79
+    </ClInclude>
80
+    <ClInclude Include="..\..\utils\common\polylib.h">
81
+      <Filter>Header Files\utils\common</Filter>
82
+    </ClInclude>
83
+    <ClInclude Include="..\..\utils\common\scriplib.h">
84
+      <Filter>Header Files\utils\common</Filter>
85
+    </ClInclude>
86
+    <ClInclude Include="..\..\utils\qrad\qrad.h">
87
+      <Filter>Header Files\utils\qrad</Filter>
88
+    </ClInclude>
89
+  </ItemGroup>
90
+</Project>

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

@@ -0,0 +1,132 @@
1
+Directory Contents
2
+==================
3
+
4
+projects.sln
5
+  Solution file for Visual C++ 2010 Express, containing the main projects for
6
+  compiling the valve, dmc and ricochet DLL files.
7
+  
8
+utils.sln
9
+  Solution file containing projects for the utilities. Special user interaction
10
+  is required in order to compile a share of the projects, see "Installing GLUT
11
+  and GLAUX" bellow.
12
+  The serverctrl project is problematic, see "serverctrl project" bellow.
13
+  Further project specific notes are also provided bellow.
14
+  
15
+[other required files]
16
+
17
+
18
+
19
+Installing GLUT and GLAUX
20
+=========================
21
+
22
+Some projects in utils.sln use the GLUT (mdlviwer) and the GLAUX (qbsp2, qcsg)
23
+libraries, which are not shipped with Visual C++ 2010 Express / Windows SDK
24
+v7.0A.
25
+
26
+Thus you need to install the GLUT and GLAUX libraries manually:
27
+
28
+
29
+Installing GLUT library
30
+-----------------------
31
+
32
+Required by: mdlviewer
33
+
34
+There are several ways to do this, an example can be found here:
35
+http://stackoverflow.com/a/10467488
36
+
37
+For alternate implementations check the web (i.e. freeglut).
38
+
39
+
40
+Installing GLAUX library:
41
+-------------------------
42
+
43
+Required by: qbsp2, qcsg
44
+
45
+Obtaining the library:
46
+http://stackoverflow.com/a/6211119
47
+
48
+Copy glaux.h into 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\GL\'
49
+(You might need to create the GL directory.).
50
+Copy glaux.lib into 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\'.
51
+
52
+
53
+TODO
54
+----
55
+
56
+In the future the projects using GLUT and GLAUX could be ported to use the SDL2
57
+library shipped with the SDK, this should be fairly easy, however this might
58
+be beyond the scope of the main repository.
59
+
60
+
61
+
62
+Other
63
+=====
64
+
65
+Please note, that some of the utils have additional documentation (.doc / .txt)
66
+in the appropriate sub-folders of the utils folder.
67
+
68
+
69
+
70
+qrad project
71
+============
72
+
73
+Please not that qrad.exe requires additional files lights.rad and valve.rad
74
+side-by-side. You can find those files in the Half-Life SDK in the Hammer
75
+tools folder.
76
+
77
+
78
+
79
+serverctrl project
80
+==================
81
+
82
+The serverctrl project is problematic for the following reasons:
83
+- It doesn't seem to work anymore, I tried with a recent HLDS beta installation
84
+  from steamcmd (make sure to set the hardcoded path in ServerCtrlDlg.cpp line
85
+  477, i.e. to "." (which would mean current directory) or s.th. you like).
86
+  While the hlds.exe seems to know about the -HFILE -HCHILD and -HPARENT
87
+  command line arguments used by serverctrl, it doesn't seem to handle the
88
+  events properly anymore.
89
+- It requires MFC to be installed and needs to be configured in order to find
90
+  the MFC installation (see "Installing MFC" bellow).
91
+  
92
+A further note:
93
+The serverctrl.vcxproj differs from the original .dsp project a bit:
94
+It is compiled against dynamic libraries (MFC and Windows Runtime), meaning
95
+/MD or /MDd instead of /MT or /MTd now. The reason is that the MFC from the
96
+Windows Driver Kit won't compile in static mode (missing resource files i.e.).
97
+This means you'll have to redistribute the runtime and MFC DLLs along with
98
+serverctrl in case you install it on another system.
99
+
100
+
101
+Installing MFC
102
+--------------
103
+
104
+Required by: serverctrl
105
+
106
+If you are not using an Express edition, you can most likely skip this step.
107
+
108
+The MFC is also shipped as part of the Windows Driver Kit for Windows XP.
109
+
110
+Download Windows Driver Kit Version 7.1.0:
111
+http://www.microsoft.com/en-us/download/details.aspx?id=11800
112
+
113
+Burn it to a CD and start KitSetup.exe.
114
+It's enough to select "Build Environment" in the options you want to install.
115
+
116
+Now we need to point Visual C++ 2010 Express to the folders for the MFC/ATL
117
+includes and libraries:
118
+
119
+To do this open utils.sln and right click the serverctrl project and select
120
+Properties. Select Configuration: All Configurations, then select
121
+Configuration -> VC++ Directories in the tree. Adjust the Include and
122
+Library Directories settings to match your WDK installation (click on the lines
123
+and then click on the drop-down selector that appears and select edit).
124
+
125
+
126
+
127
+smdlexp project
128
+===============
129
+
130
+Please note that this project requires the 3D Studio Max 4.2 SDK.
131
+You might need to adjust Include and Additional Library Directories according
132
+to your intallation.

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

@@ -0,0 +1,112 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+  </ItemGroup>
13
+  <PropertyGroup Label="Globals">
14
+    <ProjectGuid>{AF96A753-E234-4692-90AB-CCD802E34E9C}</ProjectGuid>
15
+    <Keyword>Win32Proj</Keyword>
16
+    <RootNamespace>serverctrl</RootNamespace>
17
+  </PropertyGroup>
18
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
20
+    <ConfigurationType>Application</ConfigurationType>
21
+    <UseDebugLibraries>true</UseDebugLibraries>
22
+    <CharacterSet>MultiByte</CharacterSet>
23
+    <UseOfMfc>Dynamic</UseOfMfc>
24
+  </PropertyGroup>
25
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
26
+    <ConfigurationType>Application</ConfigurationType>
27
+    <UseDebugLibraries>false</UseDebugLibraries>
28
+    <WholeProgramOptimization>true</WholeProgramOptimization>
29
+    <CharacterSet>MultiByte</CharacterSet>
30
+    <UseOfMfc>Dynamic</UseOfMfc>
31
+  </PropertyGroup>
32
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
33
+  <ImportGroup Label="ExtensionSettings">
34
+  </ImportGroup>
35
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
36
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
37
+  </ImportGroup>
38
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
39
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
40
+  </ImportGroup>
41
+  <PropertyGroup Label="UserMacros" />
42
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
43
+    <LinkIncremental>true</LinkIncremental>
44
+    <IncludePath>E:\WinDDK\7600.16385.1\inc\atl71;E:\WinDDK\7600.16385.1\inc\mfc42;$(IncludePath)</IncludePath>
45
+    <LibraryPath>E:\WinDDK\7600.16385.1\lib\ATL\i386;E:\WinDDK\7600.16385.1\lib\Mfc\i386;$(LibraryPath)</LibraryPath>
46
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
47
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
48
+  </PropertyGroup>
49
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
50
+    <LinkIncremental>false</LinkIncremental>
51
+    <IncludePath>E:\WinDDK\7600.16385.1\inc\atl71;E:\WinDDK\7600.16385.1\inc\mfc42;$(IncludePath)</IncludePath>
52
+    <LibraryPath>E:\WinDDK\7600.16385.1\lib\ATL\i386;E:\WinDDK\7600.16385.1\lib\Mfc\i386;$(LibraryPath)</LibraryPath>
53
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
54
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
55
+  </PropertyGroup>
56
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
57
+    <ClCompile>
58
+      <PrecompiledHeader>Use</PrecompiledHeader>
59
+      <WarningLevel>Level3</WarningLevel>
60
+      <Optimization>Disabled</Optimization>
61
+      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
62
+      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
63
+    </ClCompile>
64
+    <Link>
65
+      <SubSystem>Windows</SubSystem>
66
+      <GenerateDebugInformation>true</GenerateDebugInformation>
67
+      <AdditionalDependencies>winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
68
+    </Link>
69
+  </ItemDefinitionGroup>
70
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
71
+    <ClCompile>
72
+      <WarningLevel>Level3</WarningLevel>
73
+      <PrecompiledHeader>Use</PrecompiledHeader>
74
+      <Optimization>MaxSpeed</Optimization>
75
+      <FunctionLevelLinking>true</FunctionLevelLinking>
76
+      <IntrinsicFunctions>true</IntrinsicFunctions>
77
+      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
78
+      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
79
+    </ClCompile>
80
+    <Link>
81
+      <SubSystem>Windows</SubSystem>
82
+      <GenerateDebugInformation>true</GenerateDebugInformation>
83
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
84
+      <OptimizeReferences>true</OptimizeReferences>
85
+      <AdditionalDependencies>winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
86
+    </Link>
87
+  </ItemDefinitionGroup>
88
+  <ItemGroup>
89
+    <ClCompile Include="..\..\utils\serverctrl\ServerCtrl.cpp" />
90
+    <ClCompile Include="..\..\utils\serverctrl\ServerCtrlDlg.cpp" />
91
+    <ClCompile Include="..\..\utils\serverctrl\StdAfx.cpp">
92
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
93
+      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
94
+    </ClCompile>
95
+  </ItemGroup>
96
+  <ItemGroup>
97
+    <ResourceCompile Include="..\..\utils\serverctrl\ServerCtrl.rc" />
98
+  </ItemGroup>
99
+  <ItemGroup>
100
+    <ClInclude Include="..\..\utils\serverctrl\resource.h" />
101
+    <ClInclude Include="..\..\utils\serverctrl\ServerCtrl.h" />
102
+    <ClInclude Include="..\..\utils\serverctrl\ServerCtrlDlg.h" />
103
+    <ClInclude Include="..\..\utils\serverctrl\StdAfx.h" />
104
+  </ItemGroup>
105
+  <ItemGroup>
106
+    <None Include="..\..\utils\serverctrl\res\serverctrl.ico" />
107
+    <None Include="..\..\utils\serverctrl\res\serverctrl.rc2" />
108
+  </ItemGroup>
109
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
110
+  <ImportGroup Label="ExtensionTargets">
111
+  </ImportGroup>
112
+</Project>

+ 76
- 0
projects/vs2010/serverctrl.vcxproj.filters View File

@@ -0,0 +1,76 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup>
4
+    <Filter Include="Source Files">
5
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+    </Filter>
8
+    <Filter Include="Header Files">
9
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
+    </Filter>
12
+    <Filter Include="Resource Files">
13
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15
+    </Filter>
16
+    <Filter Include="Header Files\utils">
17
+      <UniqueIdentifier>{b6851a08-110d-4b63-97bb-002b6c26576e}</UniqueIdentifier>
18
+    </Filter>
19
+    <Filter Include="Header Files\utils\serverctrl">
20
+      <UniqueIdentifier>{b210c226-0069-49ec-87ea-a3c9c16d737b}</UniqueIdentifier>
21
+    </Filter>
22
+    <Filter Include="Source Files\utils">
23
+      <UniqueIdentifier>{7ffbb312-a0a2-4787-af0a-d3e499f4c628}</UniqueIdentifier>
24
+    </Filter>
25
+    <Filter Include="Source Files\utils\servertrl">
26
+      <UniqueIdentifier>{5de03485-5c29-4f54-95df-161e73d864e2}</UniqueIdentifier>
27
+    </Filter>
28
+    <Filter Include="Resource Files\utils">
29
+      <UniqueIdentifier>{1b20963c-0f73-4f11-a8ff-8cec4041bf4c}</UniqueIdentifier>
30
+    </Filter>
31
+    <Filter Include="Resource Files\utils\serverctrl">
32
+      <UniqueIdentifier>{f55832d2-48da-4c3e-90bd-66f24f495211}</UniqueIdentifier>
33
+    </Filter>
34
+    <Filter Include="Resource Files\utils\serverctrl\res">
35
+      <UniqueIdentifier>{d2b2c612-d341-4167-80d5-a49ae6887f4a}</UniqueIdentifier>
36
+    </Filter>
37
+  </ItemGroup>
38
+  <ItemGroup>
39
+    <ClCompile Include="..\..\utils\serverctrl\ServerCtrl.cpp">
40
+      <Filter>Source Files\utils\servertrl</Filter>
41
+    </ClCompile>
42
+    <ClCompile Include="..\..\utils\serverctrl\StdAfx.cpp">
43
+      <Filter>Source Files\utils\servertrl</Filter>
44
+    </ClCompile>
45
+    <ClCompile Include="..\..\utils\serverctrl\ServerCtrlDlg.cpp">
46
+      <Filter>Source Files\utils\servertrl</Filter>
47
+    </ClCompile>
48
+  </ItemGroup>
49
+  <ItemGroup>
50
+    <ClInclude Include="..\..\utils\serverctrl\resource.h">
51
+      <Filter>Header Files\utils\serverctrl</Filter>
52
+    </ClInclude>
53
+    <ClInclude Include="..\..\utils\serverctrl\ServerCtrlDlg.h">
54
+      <Filter>Header Files\utils\serverctrl</Filter>
55
+    </ClInclude>
56
+    <ClInclude Include="..\..\utils\serverctrl\ServerCtrl.h">
57
+      <Filter>Header Files\utils\serverctrl</Filter>
58
+    </ClInclude>
59
+    <ClInclude Include="..\..\utils\serverctrl\StdAfx.h">
60
+      <Filter>Header Files\utils\serverctrl</Filter>
61
+    </ClInclude>
62
+  </ItemGroup>
63
+  <ItemGroup>
64
+    <ResourceCompile Include="..\..\utils\serverctrl\ServerCtrl.rc">
65
+      <Filter>Source Files\utils\servertrl</Filter>
66
+    </ResourceCompile>
67
+  </ItemGroup>
68
+  <ItemGroup>
69
+    <None Include="..\..\utils\serverctrl\res\serverctrl.ico">
70
+      <Filter>Resource Files\utils\serverctrl\res</Filter>
71
+    </None>
72
+    <None Include="..\..\utils\serverctrl\res\serverctrl.rc2">
73
+      <Filter>Resource Files\utils\serverctrl\res</Filter>
74
+    </None>
75
+  </ItemGroup>
76
+</Project>

+ 115
- 0
projects/vs2010/smdlexp.vcxproj View File

@@ -0,0 +1,115 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+  </ItemGroup>
13
+  <PropertyGroup Label="Globals">
14
+    <ProjectGuid>{4BFEAD42-DBED-40F0-B30E-E5AF9EBA59A8}</ProjectGuid>
15
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
16
+    <Keyword>ManagedCProj</Keyword>
17
+    <RootNamespace>procinfo</RootNamespace>
18
+  </PropertyGroup>
19
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
20
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
21
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
22
+    <UseDebugLibraries>true</UseDebugLibraries>
23
+    <CharacterSet>MultiByte</CharacterSet>
24
+  </PropertyGroup>
25
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
26
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
27
+    <UseDebugLibraries>false</UseDebugLibraries>
28
+    <CharacterSet>MultiByte</CharacterSet>
29
+  </PropertyGroup>
30
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
31
+  <ImportGroup Label="ExtensionSettings">
32
+  </ImportGroup>
33
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
34
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
35
+  </ImportGroup>
36
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
37
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38
+  </ImportGroup>
39
+  <PropertyGroup Label="UserMacros" />
40
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
41
+    <LinkIncremental>true</LinkIncremental>
42
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
43
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
44
+  </PropertyGroup>
45
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
46
+    <LinkIncremental>false</LinkIncremental>
47
+    <OutDir>$(Configuration)\$(ProjectName)\</OutDir>
48
+    <IntDir>$(Configuration)\$(ProjectName)\int\</IntDir>
49
+  </PropertyGroup>
50
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
51
+    <ClCompile>
52
+      <WarningLevel>Level3</WarningLevel>
53
+      <Optimization>Disabled</Optimization>
54
+      <PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
55
+      <AdditionalIncludeDirectories>c:\3dsmax42\maxsdk\include;c:\3dsmax42\cstudio\sdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
56
+    </ClCompile>
57
+    <Link>
58
+      <GenerateDebugInformation>true</GenerateDebugInformation>
59
+      <AdditionalDependencies>COMCTL32.LIB;maxutil.lib;geom.lib;mesh.lib;core.lib;%(AdditionalDependencies)</AdditionalDependencies>
60
+      <AdditionalLibraryDirectories>c:\3dsmax42\maxsdk\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
61
+      <OutputFile>c:\3dsmax42\plugins\smdlexp.dle</OutputFile>
62
+    </Link>
63
+    <PostBuildEvent>
64
+      <Command>attrib -r ..\..\utils\procinfo\lib\win32_vc6\procinfo.lib
65
+copy $(TargetPath) ..\..\utils\procinfo\lib\win32_vc6\procinfo.lib</Command>
66
+    </PostBuildEvent>
67
+    <PostBuildEvent>
68
+      <Message>Post-Build Event</Message>
69
+    </PostBuildEvent>
70
+    <Lib>
71
+      <AdditionalDependencies>COMCTL32.LIB;maxutil.lib;geom.lib;mesh.lib;core.lib;%(AdditionalDependencies)</AdditionalDependencies>
72
+    </Lib>
73
+  </ItemDefinitionGroup>
74
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
75
+    <ClCompile>
76
+      <WarningLevel>Level3</WarningLevel>
77
+      <PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
78
+      <AdditionalIncludeDirectories>c:\3dsmax42\maxsdk\include;c:\3dsmax42\cstudio\sdk;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
79
+    </ClCompile>
80
+    <Link>
81
+      <GenerateDebugInformation>true</GenerateDebugInformation>
82
+      <AdditionalDependencies>COMCTL32.LIB;maxutil.lib;geom.lib;mesh.lib;core.lib;%(AdditionalDependencies)</AdditionalDependencies>
83
+      <AdditionalLibraryDirectories>c:\3dsmax42\maxsdk\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
84
+      <OutputFile>c:\3dsmax42\plugins\smdlexp.dle</OutputFile>
85
+    </Link>
86
+    <PostBuildEvent>
87
+      <Command>attrib -r ..\..\utils\procinfo\lib\win32_vc6\procinfo.lib
88
+copy $(TargetPath) ..\..\utils\procinfo\lib\win32_vc6\procinfo.lib</Command>
89
+      <Message>Post-Build Event</Message>
90
+    </PostBuildEvent>
91
+    <Lib>
92
+      <AdditionalDependencies>COMCTL32.LIB;maxutil.lib;geom.lib;mesh.lib;core.lib;%(AdditionalDependencies)</AdditionalDependencies>
93
+    </Lib>
94
+  </ItemDefinitionGroup>
95
+  <ItemGroup>
96
+    <Reference Include="System" />
97
+    <Reference Include="System.Data" />
98
+    <Reference Include="System.Xml" />
99
+  </ItemGroup>
100
+  <ItemGroup>
101
+    <None Include="..\..\utils\smdlexp\smdlexp.def" />
102
+  </ItemGroup>
103
+  <ItemGroup>
104
+    <ResourceCompile Include="..\..\utils\smdlexp\smdlexp.rc" />
105
+  </ItemGroup>
106
+  <ItemGroup>
107
+    <ClCompile Include="..\..\utils\smdlexp\smdlexp.cpp" />
108
+  </ItemGroup>
109
+  <ItemGroup>
110
+    <ClInclude Include="..\..\utils\smdlexp\smedefs.h" />
111
+  </ItemGroup>
112
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
113
+  <ImportGroup Label="ExtensionTargets">
114
+  </ImportGroup>
115
+</Project>

+ 55
- 0
projects/vs2010/smdlexp.vcxproj.filters View File

@@ -0,0 +1,55 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup>
4
+    <Filter Include="Source Files">
5
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+    </Filter>
8
+    <Filter Include="Header Files">
9
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
+    </Filter>
12
+    <Filter Include="Resource Files">
13
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15
+    </Filter>
16
+    <Filter Include="Source Files\utils">
17
+      <UniqueIdentifier>{3d07af82-de85-47cb-bd87-125a9043c5ad}</UniqueIdentifier>
18
+    </Filter>
19
+    <Filter Include="Header Files\utils">
20
+      <UniqueIdentifier>{acb9edd8-ccf7-4221-8893-0cd5a3368fbc}</UniqueIdentifier>
21
+    </Filter>
22
+    <Filter Include="Header Files\utils\smdlexp">
23
+      <UniqueIdentifier>{c35dd471-5706-455f-bd22-6964d0906c6e}</UniqueIdentifier>
24
+    </Filter>
25
+    <Filter Include="Resource Files\utils">
26
+      <UniqueIdentifier>{17940ef9-04e1-45c8-b52e-7030fbd6de03}</UniqueIdentifier>
27
+    </Filter>
28
+    <Filter Include="Resource Files\utils\smdlexp">
29
+      <UniqueIdentifier>{3980e5e7-942c-40ad-9660-0a40a185ede0}</UniqueIdentifier>
30
+    </Filter>
31
+    <Filter Include="Source Files\utils\smdlexp">
32
+      <UniqueIdentifier>{d82ea4d8-83a8-4071-b2c6-379a38d00c5b}</UniqueIdentifier>
33
+    </Filter>
34
+  </ItemGroup>
35
+  <ItemGroup>
36
+    <ResourceCompile Include="..\..\utils\smdlexp\smdlexp.rc">
37
+      <Filter>Resource Files\utils\smdlexp</Filter>
38
+    </ResourceCompile>
39
+  </ItemGroup>
40
+  <ItemGroup>
41
+    <ClCompile Include="..\..\utils\smdlexp\smdlexp.cpp">
42
+      <Filter>Source Files\utils\smdlexp</Filter>
43
+    </ClCompile>
44
+  </ItemGroup>
45
+  <ItemGroup>
46
+    <None Include="..\..\utils\smdlexp\smdlexp.def">
47
+      <Filter>Source Files\utils\smdlexp</Filter>
48
+    </None>
49
+  </ItemGroup>
50
+  <ItemGroup>
51
+    <ClInclude Include="..\..\utils\smdlexp\smedefs.h">
52
+      <Filter>Header Files\utils\smdlexp</Filter>
53
+    </ClInclude>
54
+  </ItemGroup>
55
+</Project>

+ 97
- 0
projects/vs2010/sprgen.vcxproj View File

@@ -0,0 +1,97 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <ItemGroup Label="ProjectConfigurations">
4
+    <ProjectConfiguration Include="Debug|Win32">
5
+      <Configuration>Debug</Configuration>
6
+      <Platform>Win32</Platform>
7
+    </ProjectConfiguration>
8
+    <ProjectConfiguration Include="Release|Win32">
9
+      <Configuration>Release</Configuration>
10
+      <Platform>Win32</Platform>
11
+    </ProjectConfiguration>
12
+  </ItemGroup>
13
+  <ItemGroup>
14
+    <ClCompile Include="..\..\utils\common\cmdlib.c" />
15
+    <ClCompile Include="..\..\utils\common\lbmlib.c" />
16
+    <ClCompile Include="..\..\utils\common\scriplib.c" />
17
+    <ClCompile Include="..\..\utils\sprgen\sprgen.c" />
18
+  </ItemGroup>
19
+  <ItemGroup>
20
+    <ClInclude Include="..\..\utils\common\cmdlib.h" />
21
+    <ClInclude Include="..\..\utils\common\lbmlib.h" />
22
+    <ClInclude Include="..\..\utils\common\scriplib.h" />
23
+    <ClInclude Include="..\..\utils\sprgen\spritegn.h" />
24
+  </ItemGroup>
25
+  <PropertyGroup Label="Globals">
26
+    <ProjectGuid>{2ADCE88F-5117-4D09-BE30-C8CBE902203E}</ProjectGuid>
27
+    <Keyword>Win32Proj</Keyword>
28
+    <RootNamespace>bspinfo</RootNamespace>
29
+  </PropertyGroup>
30
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
31
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
32
+    <ConfigurationType>Application</ConfigurationType>
33
+    <UseDebugLibraries>true</UseDebugLibraries>
34
+    <CharacterSet>NotSet</CharacterSet>
35
+  </PropertyGroup>
36
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
37
+    <ConfigurationType>Application</ConfigurationType>
38
+    <UseDebugLibraries>false</UseDebugLibraries>
39
+    <WholeProgramOptimization>true</WholeProgramOptimization>
40
+    <CharacterSet>NotSet</CharacterSet>
41
+  </PropertyGroup>
42
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
43
+  <ImportGroup Label="ExtensionSettings">
44
+  </ImportGroup>
45
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
46
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
47
+  </ImportGroup>
48
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
49
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
50
+  </ImportGroup>
51
+  <PropertyGroup Label="UserMacros" />
52
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
53
+    <LinkIncremental>true</LinkIncremental>