diff options
Diffstat (limited to 'libraries/irrlicht-1.8/examples/16.Quake3MapShader')
8 files changed, 1378 insertions, 1378 deletions
diff --git a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Makefile b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Makefile index 952b309..cfe3b45 100644 --- a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Makefile +++ b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Makefile | |||
@@ -1,38 +1,38 @@ | |||
1 | # Makefile for Irrlicht Examples | 1 | # Makefile for Irrlicht Examples |
2 | # It's usually sufficient to change just the target name and source file list | 2 | # It's usually sufficient to change just the target name and source file list |
3 | # and be sure that CXX is set to a valid compiler | 3 | # and be sure that CXX is set to a valid compiler |
4 | Target = 16.Quake3MapShader | 4 | Target = 16.Quake3MapShader |
5 | Sources = main.cpp | 5 | Sources = main.cpp |
6 | 6 | ||
7 | # general compiler settings | 7 | # general compiler settings |
8 | CPPFLAGS = -I../../include -I/usr/X11R6/include | 8 | CPPFLAGS = -I../../include -I/usr/X11R6/include |
9 | CXXFLAGS = -O3 -ffast-math | 9 | CXXFLAGS = -O3 -ffast-math |
10 | #CXXFLAGS = -g -Wall | 10 | #CXXFLAGS = -g -Wall |
11 | 11 | ||
12 | #default target is Linux | 12 | #default target is Linux |
13 | all: all_linux | 13 | all: all_linux |
14 | 14 | ||
15 | ifeq ($(HOSTTYPE), x86_64) | 15 | ifeq ($(HOSTTYPE), x86_64) |
16 | LIBSELECT=64 | 16 | LIBSELECT=64 |
17 | endif | 17 | endif |
18 | 18 | ||
19 | # target specific settings | 19 | # target specific settings |
20 | all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor | 20 | all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor |
21 | all_linux clean_linux: SYSTEM=Linux | 21 | all_linux clean_linux: SYSTEM=Linux |
22 | all_win32: LDFLAGS = -L../../lib/Win32-gcc -lIrrlicht -lopengl32 -lm | 22 | all_win32: LDFLAGS = -L../../lib/Win32-gcc -lIrrlicht -lopengl32 -lm |
23 | all_win32 clean_win32: SYSTEM=Win32-gcc | 23 | all_win32 clean_win32: SYSTEM=Win32-gcc |
24 | all_win32 clean_win32: SUF=.exe | 24 | all_win32 clean_win32: SUF=.exe |
25 | # name of the binary - only valid for targets which set SYSTEM | 25 | # name of the binary - only valid for targets which set SYSTEM |
26 | DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF) | 26 | DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF) |
27 | 27 | ||
28 | all_linux all_win32: | 28 | all_linux all_win32: |
29 | $(warning Building...) | 29 | $(warning Building...) |
30 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(Sources) -o $(DESTPATH) $(LDFLAGS) | 30 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(Sources) -o $(DESTPATH) $(LDFLAGS) |
31 | 31 | ||
32 | clean: clean_linux clean_win32 | 32 | clean: clean_linux clean_win32 |
33 | $(warning Cleaning...) | 33 | $(warning Cleaning...) |
34 | 34 | ||
35 | clean_linux clean_win32: | 35 | clean_linux clean_win32: |
36 | @$(RM) $(DESTPATH) | 36 | @$(RM) $(DESTPATH) |
37 | 37 | ||
38 | .PHONY: all all_win32 clean clean_linux clean_win32 | 38 | .PHONY: all all_win32 clean clean_linux clean_win32 |
diff --git a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader.dev b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader.dev index 14ebb42..44c58db 100644 --- a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader.dev +++ b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader.dev | |||
@@ -1,59 +1,59 @@ | |||
1 | [Project] | 1 | [Project] |
2 | FileName=example.dev | 2 | FileName=example.dev |
3 | Name=Irrlicht Example 16 Quake3 Map Shader | 3 | Name=Irrlicht Example 16 Quake3 Map Shader |
4 | UnitCount=1 | 4 | UnitCount=1 |
5 | Type=1 | 5 | Type=1 |
6 | Ver=1 | 6 | Ver=1 |
7 | ObjFiles= | 7 | ObjFiles= |
8 | Includes=..\..\include | 8 | Includes=..\..\include |
9 | Libs= | 9 | Libs= |
10 | PrivateResource= | 10 | PrivateResource= |
11 | ResourceIncludes= | 11 | ResourceIncludes= |
12 | MakeIncludes= | 12 | MakeIncludes= |
13 | Compiler= | 13 | Compiler= |
14 | CppCompiler= | 14 | CppCompiler= |
15 | Linker=../../lib/Win32-gcc/libIrrlicht.a_@@_ | 15 | Linker=../../lib/Win32-gcc/libIrrlicht.a_@@_ |
16 | IsCpp=1 | 16 | IsCpp=1 |
17 | Icon= | 17 | Icon= |
18 | ExeOutput=../../bin/Win32-gcc | 18 | ExeOutput=../../bin/Win32-gcc |
19 | ObjectOutput=obj | 19 | ObjectOutput=obj |
20 | OverrideOutput=1 | 20 | OverrideOutput=1 |
21 | OverrideOutputName=16.Quake3MapShader.exe | 21 | OverrideOutputName=16.Quake3MapShader.exe |
22 | HostApplication= | 22 | HostApplication= |
23 | Folders= | 23 | Folders= |
24 | CommandLine= | 24 | CommandLine= |
25 | IncludeVersionInfo=0 | 25 | IncludeVersionInfo=0 |
26 | SupportXPThemes=0 | 26 | SupportXPThemes=0 |
27 | CompilerSet=0 | 27 | CompilerSet=0 |
28 | CompilerSettings=0000000000000000000000 | 28 | CompilerSettings=0000000000000000000000 |
29 | UseCustomMakefile=0 | 29 | UseCustomMakefile=0 |
30 | CustomMakefile= | 30 | CustomMakefile= |
31 | 31 | ||
32 | [Unit1] | 32 | [Unit1] |
33 | FileName=main.cpp | 33 | FileName=main.cpp |
34 | CompileCpp=1 | 34 | CompileCpp=1 |
35 | Folder=Projekt1 | 35 | Folder=Projekt1 |
36 | Compile=1 | 36 | Compile=1 |
37 | Link=1 | 37 | Link=1 |
38 | Priority=1000 | 38 | Priority=1000 |
39 | OverrideBuildCmd=0 | 39 | OverrideBuildCmd=0 |
40 | BuildCmd= | 40 | BuildCmd= |
41 | 41 | ||
42 | [VersionInfo] | 42 | [VersionInfo] |
43 | Major=0 | 43 | Major=0 |
44 | Minor=1 | 44 | Minor=1 |
45 | Release=1 | 45 | Release=1 |
46 | Build=1 | 46 | Build=1 |
47 | LanguageID=1033 | 47 | LanguageID=1033 |
48 | CharsetID=1252 | 48 | CharsetID=1252 |
49 | CompanyName= | 49 | CompanyName= |
50 | FileVersion= | 50 | FileVersion= |
51 | FileDescription=Irrlicht Engine example compiled using DevCpp and gcc | 51 | FileDescription=Irrlicht Engine example compiled using DevCpp and gcc |
52 | InternalName= | 52 | InternalName= |
53 | LegalCopyright= | 53 | LegalCopyright= |
54 | LegalTrademarks= | 54 | LegalTrademarks= |
55 | OriginalFilename= | 55 | OriginalFilename= |
56 | ProductName= | 56 | ProductName= |
57 | ProductVersion= | 57 | ProductVersion= |
58 | AutoIncBuildNr=0 | 58 | AutoIncBuildNr=0 |
59 | 59 | ||
diff --git a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader.vcproj b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader.vcproj index de658b3..8592c84 100644 --- a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader.vcproj +++ b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader.vcproj | |||
@@ -1,133 +1,133 @@ | |||
1 | <?xml version="1.0" encoding="Windows-1252"?> | 1 | <?xml version="1.0" encoding="Windows-1252"?> |
2 | <VisualStudioProject | 2 | <VisualStudioProject |
3 | ProjectType="Visual C++" | 3 | ProjectType="Visual C++" |
4 | Version="7.10" | 4 | Version="7.10" |
5 | Name="16.Quake3MapShader" | 5 | Name="16.Quake3MapShader" |
6 | ProjectGUID="{EB3B38EA-5CE7-4983-845B-880661E69D09}" | 6 | ProjectGUID="{EB3B38EA-5CE7-4983-845B-880661E69D09}" |
7 | Keyword="Win32Proj"> | 7 | Keyword="Win32Proj"> |
8 | <Platforms> | 8 | <Platforms> |
9 | <Platform | 9 | <Platform |
10 | Name="Win32"/> | 10 | Name="Win32"/> |
11 | </Platforms> | 11 | </Platforms> |
12 | <Configurations> | 12 | <Configurations> |
13 | <Configuration | 13 | <Configuration |
14 | Name="Debug|Win32" | 14 | Name="Debug|Win32" |
15 | OutputDirectory="Debug" | 15 | OutputDirectory="Debug" |
16 | IntermediateDirectory="Debug" | 16 | IntermediateDirectory="Debug" |
17 | ConfigurationType="1" | 17 | ConfigurationType="1" |
18 | CharacterSet="2"> | 18 | CharacterSet="2"> |
19 | <Tool | 19 | <Tool |
20 | Name="VCCLCompilerTool" | 20 | Name="VCCLCompilerTool" |
21 | Optimization="0" | 21 | Optimization="0" |
22 | AdditionalIncludeDirectories="..\..\include" | 22 | AdditionalIncludeDirectories="..\..\include" |
23 | PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS" | 23 | PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS" |
24 | MinimalRebuild="TRUE" | 24 | MinimalRebuild="TRUE" |
25 | BasicRuntimeChecks="3" | 25 | BasicRuntimeChecks="3" |
26 | RuntimeLibrary="5" | 26 | RuntimeLibrary="5" |
27 | UsePrecompiledHeader="0" | 27 | UsePrecompiledHeader="0" |
28 | WarningLevel="3" | 28 | WarningLevel="3" |
29 | Detect64BitPortabilityProblems="TRUE" | 29 | Detect64BitPortabilityProblems="TRUE" |
30 | DebugInformationFormat="4"/> | 30 | DebugInformationFormat="4"/> |
31 | <Tool | 31 | <Tool |
32 | Name="VCCustomBuildTool"/> | 32 | Name="VCCustomBuildTool"/> |
33 | <Tool | 33 | <Tool |
34 | Name="VCLinkerTool" | 34 | Name="VCLinkerTool" |
35 | OutputFile="..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe" | 35 | OutputFile="..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe" |
36 | LinkIncremental="0" | 36 | LinkIncremental="0" |
37 | SuppressStartupBanner="TRUE" | 37 | SuppressStartupBanner="TRUE" |
38 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 38 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
39 | GenerateDebugInformation="TRUE" | 39 | GenerateDebugInformation="TRUE" |
40 | ProgramDatabaseFile="$(OutDir)/Quake3MapShader.pdb" | 40 | ProgramDatabaseFile="$(OutDir)/Quake3MapShader.pdb" |
41 | SubSystem="1" | 41 | SubSystem="1" |
42 | TargetMachine="1"/> | 42 | TargetMachine="1"/> |
43 | <Tool | 43 | <Tool |
44 | Name="VCMIDLTool"/> | 44 | Name="VCMIDLTool"/> |
45 | <Tool | 45 | <Tool |
46 | Name="VCPostBuildEventTool"/> | 46 | Name="VCPostBuildEventTool"/> |
47 | <Tool | 47 | <Tool |
48 | Name="VCPreBuildEventTool"/> | 48 | Name="VCPreBuildEventTool"/> |
49 | <Tool | 49 | <Tool |
50 | Name="VCPreLinkEventTool"/> | 50 | Name="VCPreLinkEventTool"/> |
51 | <Tool | 51 | <Tool |
52 | Name="VCResourceCompilerTool"/> | 52 | Name="VCResourceCompilerTool"/> |
53 | <Tool | 53 | <Tool |
54 | Name="VCWebServiceProxyGeneratorTool"/> | 54 | Name="VCWebServiceProxyGeneratorTool"/> |
55 | <Tool | 55 | <Tool |
56 | Name="VCXMLDataGeneratorTool"/> | 56 | Name="VCXMLDataGeneratorTool"/> |
57 | <Tool | 57 | <Tool |
58 | Name="VCWebDeploymentTool"/> | 58 | Name="VCWebDeploymentTool"/> |
59 | <Tool | 59 | <Tool |
60 | Name="VCManagedWrapperGeneratorTool"/> | 60 | Name="VCManagedWrapperGeneratorTool"/> |
61 | <Tool | 61 | <Tool |
62 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> | 62 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> |
63 | </Configuration> | 63 | </Configuration> |
64 | <Configuration | 64 | <Configuration |
65 | Name="Release|Win32" | 65 | Name="Release|Win32" |
66 | OutputDirectory="Release" | 66 | OutputDirectory="Release" |
67 | IntermediateDirectory="Release" | 67 | IntermediateDirectory="Release" |
68 | ConfigurationType="1" | 68 | ConfigurationType="1" |
69 | CharacterSet="2" | 69 | CharacterSet="2" |
70 | WholeProgramOptimization="TRUE"> | 70 | WholeProgramOptimization="TRUE"> |
71 | <Tool | 71 | <Tool |
72 | Name="VCCLCompilerTool" | 72 | Name="VCCLCompilerTool" |
73 | AdditionalOptions="/QIfist /Oa" | 73 | AdditionalOptions="/QIfist /Oa" |
74 | Optimization="3" | 74 | Optimization="3" |
75 | GlobalOptimizations="TRUE" | 75 | GlobalOptimizations="TRUE" |
76 | InlineFunctionExpansion="2" | 76 | InlineFunctionExpansion="2" |
77 | EnableIntrinsicFunctions="TRUE" | 77 | EnableIntrinsicFunctions="TRUE" |
78 | FavorSizeOrSpeed="1" | 78 | FavorSizeOrSpeed="1" |
79 | OmitFramePointers="TRUE" | 79 | OmitFramePointers="TRUE" |
80 | AdditionalIncludeDirectories="..\..\include" | 80 | AdditionalIncludeDirectories="..\..\include" |
81 | PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS" | 81 | PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS" |
82 | RuntimeLibrary="4" | 82 | RuntimeLibrary="4" |
83 | BufferSecurityCheck="FALSE" | 83 | BufferSecurityCheck="FALSE" |
84 | UsePrecompiledHeader="0" | 84 | UsePrecompiledHeader="0" |
85 | WarningLevel="3" | 85 | WarningLevel="3" |
86 | Detect64BitPortabilityProblems="TRUE" | 86 | Detect64BitPortabilityProblems="TRUE" |
87 | DebugInformationFormat="0" | 87 | DebugInformationFormat="0" |
88 | CallingConvention="1"/> | 88 | CallingConvention="1"/> |
89 | <Tool | 89 | <Tool |
90 | Name="VCCustomBuildTool"/> | 90 | Name="VCCustomBuildTool"/> |
91 | <Tool | 91 | <Tool |
92 | Name="VCLinkerTool" | 92 | Name="VCLinkerTool" |
93 | OutputFile="..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe" | 93 | OutputFile="..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe" |
94 | LinkIncremental="0" | 94 | LinkIncremental="0" |
95 | SuppressStartupBanner="TRUE" | 95 | SuppressStartupBanner="TRUE" |
96 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 96 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
97 | GenerateDebugInformation="FALSE" | 97 | GenerateDebugInformation="FALSE" |
98 | SubSystem="1" | 98 | SubSystem="1" |
99 | OptimizeReferences="2" | 99 | OptimizeReferences="2" |
100 | EnableCOMDATFolding="2" | 100 | EnableCOMDATFolding="2" |
101 | TargetMachine="1"/> | 101 | TargetMachine="1"/> |
102 | <Tool | 102 | <Tool |
103 | Name="VCMIDLTool"/> | 103 | Name="VCMIDLTool"/> |
104 | <Tool | 104 | <Tool |
105 | Name="VCPostBuildEventTool"/> | 105 | Name="VCPostBuildEventTool"/> |
106 | <Tool | 106 | <Tool |
107 | Name="VCPreBuildEventTool"/> | 107 | Name="VCPreBuildEventTool"/> |
108 | <Tool | 108 | <Tool |
109 | Name="VCPreLinkEventTool"/> | 109 | Name="VCPreLinkEventTool"/> |
110 | <Tool | 110 | <Tool |
111 | Name="VCResourceCompilerTool"/> | 111 | Name="VCResourceCompilerTool"/> |
112 | <Tool | 112 | <Tool |
113 | Name="VCWebServiceProxyGeneratorTool"/> | 113 | Name="VCWebServiceProxyGeneratorTool"/> |
114 | <Tool | 114 | <Tool |
115 | Name="VCXMLDataGeneratorTool"/> | 115 | Name="VCXMLDataGeneratorTool"/> |
116 | <Tool | 116 | <Tool |
117 | Name="VCWebDeploymentTool"/> | 117 | Name="VCWebDeploymentTool"/> |
118 | <Tool | 118 | <Tool |
119 | Name="VCManagedWrapperGeneratorTool"/> | 119 | Name="VCManagedWrapperGeneratorTool"/> |
120 | <Tool | 120 | <Tool |
121 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> | 121 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> |
122 | </Configuration> | 122 | </Configuration> |
123 | </Configurations> | 123 | </Configurations> |
124 | <References> | 124 | <References> |
125 | </References> | 125 | </References> |
126 | <Files> | 126 | <Files> |
127 | <File | 127 | <File |
128 | RelativePath=".\main.cpp"> | 128 | RelativePath=".\main.cpp"> |
129 | </File> | 129 | </File> |
130 | </Files> | 130 | </Files> |
131 | <Globals> | 131 | <Globals> |
132 | </Globals> | 132 | </Globals> |
133 | </VisualStudioProject> | 133 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc10.vcxproj b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc10.vcxproj index ea09774..c47fc52 100644 --- a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc10.vcxproj +++ b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc10.vcxproj | |||
@@ -1,190 +1,190 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 2 | <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | <ItemGroup Label="ProjectConfigurations"> | 3 | <ItemGroup Label="ProjectConfigurations"> |
4 | <ProjectConfiguration Include="Debug|Win32"> | 4 | <ProjectConfiguration Include="Debug|Win32"> |
5 | <Configuration>Debug</Configuration> | 5 | <Configuration>Debug</Configuration> |
6 | <Platform>Win32</Platform> | 6 | <Platform>Win32</Platform> |
7 | </ProjectConfiguration> | 7 | </ProjectConfiguration> |
8 | <ProjectConfiguration Include="Debug|x64"> | 8 | <ProjectConfiguration Include="Debug|x64"> |
9 | <Configuration>Debug</Configuration> | 9 | <Configuration>Debug</Configuration> |
10 | <Platform>x64</Platform> | 10 | <Platform>x64</Platform> |
11 | </ProjectConfiguration> | 11 | </ProjectConfiguration> |
12 | <ProjectConfiguration Include="Release|Win32"> | 12 | <ProjectConfiguration Include="Release|Win32"> |
13 | <Configuration>Release</Configuration> | 13 | <Configuration>Release</Configuration> |
14 | <Platform>Win32</Platform> | 14 | <Platform>Win32</Platform> |
15 | </ProjectConfiguration> | 15 | </ProjectConfiguration> |
16 | <ProjectConfiguration Include="Release|x64"> | 16 | <ProjectConfiguration Include="Release|x64"> |
17 | <Configuration>Release</Configuration> | 17 | <Configuration>Release</Configuration> |
18 | <Platform>x64</Platform> | 18 | <Platform>x64</Platform> |
19 | </ProjectConfiguration> | 19 | </ProjectConfiguration> |
20 | </ItemGroup> | 20 | </ItemGroup> |
21 | <PropertyGroup Label="Globals"> | 21 | <PropertyGroup Label="Globals"> |
22 | <ProjectName>16.Quake3MapShader</ProjectName> | 22 | <ProjectName>16.Quake3MapShader</ProjectName> |
23 | <ProjectGuid>{EB3B38EA-5CE7-4983-845B-880661E69D09}</ProjectGuid> | 23 | <ProjectGuid>{EB3B38EA-5CE7-4983-845B-880661E69D09}</ProjectGuid> |
24 | <RootNamespace>16.Quake3MapShader</RootNamespace> | 24 | <RootNamespace>16.Quake3MapShader</RootNamespace> |
25 | <Keyword>Win32Proj</Keyword> | 25 | <Keyword>Win32Proj</Keyword> |
26 | </PropertyGroup> | 26 | </PropertyGroup> |
27 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 27 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
28 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | 28 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
29 | <ConfigurationType>Application</ConfigurationType> | 29 | <ConfigurationType>Application</ConfigurationType> |
30 | <CharacterSet>MultiByte</CharacterSet> | 30 | <CharacterSet>MultiByte</CharacterSet> |
31 | </PropertyGroup> | 31 | </PropertyGroup> |
32 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | 32 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
33 | <ConfigurationType>Application</ConfigurationType> | 33 | <ConfigurationType>Application</ConfigurationType> |
34 | <CharacterSet>MultiByte</CharacterSet> | 34 | <CharacterSet>MultiByte</CharacterSet> |
35 | </PropertyGroup> | 35 | </PropertyGroup> |
36 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | 36 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
37 | <ConfigurationType>Application</ConfigurationType> | 37 | <ConfigurationType>Application</ConfigurationType> |
38 | <CharacterSet>MultiByte</CharacterSet> | 38 | <CharacterSet>MultiByte</CharacterSet> |
39 | </PropertyGroup> | 39 | </PropertyGroup> |
40 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | 40 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
41 | <ConfigurationType>Application</ConfigurationType> | 41 | <ConfigurationType>Application</ConfigurationType> |
42 | <CharacterSet>MultiByte</CharacterSet> | 42 | <CharacterSet>MultiByte</CharacterSet> |
43 | </PropertyGroup> | 43 | </PropertyGroup> |
44 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 44 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
45 | <ImportGroup Label="ExtensionSettings"> | 45 | <ImportGroup Label="ExtensionSettings"> |
46 | </ImportGroup> | 46 | </ImportGroup> |
47 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | 47 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> |
48 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 48 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
49 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 49 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
50 | </ImportGroup> | 50 | </ImportGroup> |
51 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> | 51 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> |
52 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 52 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
53 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 53 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
54 | </ImportGroup> | 54 | </ImportGroup> |
55 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | 55 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> |
56 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 56 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
57 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 57 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
58 | </ImportGroup> | 58 | </ImportGroup> |
59 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> | 59 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> |
60 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 60 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
61 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 61 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
62 | </ImportGroup> | 62 | </ImportGroup> |
63 | <PropertyGroup Label="UserMacros" /> | 63 | <PropertyGroup Label="UserMacros" /> |
64 | <PropertyGroup> | 64 | <PropertyGroup> |
65 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | 65 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
66 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 66 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
67 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 67 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
68 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> | 68 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> |
69 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> | 69 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> |
70 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 70 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
71 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 71 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
72 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 72 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
73 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 73 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
74 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 74 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
75 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 75 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
76 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 76 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
77 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 77 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
78 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 78 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
79 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 79 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
80 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 80 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
81 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 81 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
82 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 82 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
83 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 83 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
84 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 84 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
85 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 85 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
86 | </PropertyGroup> | 86 | </PropertyGroup> |
87 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | 87 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
88 | <ClCompile> | 88 | <ClCompile> |
89 | <Optimization>Disabled</Optimization> | 89 | <Optimization>Disabled</Optimization> |
90 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 90 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
91 | <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 91 | <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
92 | <MinimalRebuild>true</MinimalRebuild> | 92 | <MinimalRebuild>true</MinimalRebuild> |
93 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 93 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
94 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 94 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
95 | <PrecompiledHeader> | 95 | <PrecompiledHeader> |
96 | </PrecompiledHeader> | 96 | </PrecompiledHeader> |
97 | <WarningLevel>Level3</WarningLevel> | 97 | <WarningLevel>Level3</WarningLevel> |
98 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | 98 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
99 | <CallingConvention>Cdecl</CallingConvention> | 99 | <CallingConvention>Cdecl</CallingConvention> |
100 | </ClCompile> | 100 | </ClCompile> |
101 | <Link> | 101 | <Link> |
102 | <OutputFile>..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe</OutputFile> | 102 | <OutputFile>..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe</OutputFile> |
103 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 103 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
104 | <GenerateDebugInformation>true</GenerateDebugInformation> | 104 | <GenerateDebugInformation>true</GenerateDebugInformation> |
105 | <SubSystem>Console</SubSystem> | 105 | <SubSystem>Console</SubSystem> |
106 | <DataExecutionPrevention> | 106 | <DataExecutionPrevention> |
107 | </DataExecutionPrevention> | 107 | </DataExecutionPrevention> |
108 | </Link> | 108 | </Link> |
109 | </ItemDefinitionGroup> | 109 | </ItemDefinitionGroup> |
110 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | 110 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
111 | <ClCompile> | 111 | <ClCompile> |
112 | <Optimization>Disabled</Optimization> | 112 | <Optimization>Disabled</Optimization> |
113 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 113 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
114 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 114 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
115 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 115 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
116 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 116 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
117 | <PrecompiledHeader> | 117 | <PrecompiledHeader> |
118 | </PrecompiledHeader> | 118 | </PrecompiledHeader> |
119 | <WarningLevel>Level3</WarningLevel> | 119 | <WarningLevel>Level3</WarningLevel> |
120 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | 120 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
121 | <CallingConvention>Cdecl</CallingConvention> | 121 | <CallingConvention>Cdecl</CallingConvention> |
122 | </ClCompile> | 122 | </ClCompile> |
123 | <Link> | 123 | <Link> |
124 | <OutputFile>..\..\bin\Win64-VisualStudio\16.Quake3MapShader.exe</OutputFile> | 124 | <OutputFile>..\..\bin\Win64-VisualStudio\16.Quake3MapShader.exe</OutputFile> |
125 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 125 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
126 | <GenerateDebugInformation>true</GenerateDebugInformation> | 126 | <GenerateDebugInformation>true</GenerateDebugInformation> |
127 | <SubSystem>Console</SubSystem> | 127 | <SubSystem>Console</SubSystem> |
128 | <DataExecutionPrevention> | 128 | <DataExecutionPrevention> |
129 | </DataExecutionPrevention> | 129 | </DataExecutionPrevention> |
130 | </Link> | 130 | </Link> |
131 | </ItemDefinitionGroup> | 131 | </ItemDefinitionGroup> |
132 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | 132 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
133 | <ClCompile> | 133 | <ClCompile> |
134 | <IntrinsicFunctions>true</IntrinsicFunctions> | 134 | <IntrinsicFunctions>true</IntrinsicFunctions> |
135 | <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> | 135 | <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
136 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 136 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
137 | <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 137 | <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
138 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 138 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
139 | <BufferSecurityCheck>false</BufferSecurityCheck> | 139 | <BufferSecurityCheck>false</BufferSecurityCheck> |
140 | <PrecompiledHeader> | 140 | <PrecompiledHeader> |
141 | </PrecompiledHeader> | 141 | </PrecompiledHeader> |
142 | <WarningLevel>Level3</WarningLevel> | 142 | <WarningLevel>Level3</WarningLevel> |
143 | <DebugInformationFormat> | 143 | <DebugInformationFormat> |
144 | </DebugInformationFormat> | 144 | </DebugInformationFormat> |
145 | <CallingConvention>Cdecl</CallingConvention> | 145 | <CallingConvention>Cdecl</CallingConvention> |
146 | </ClCompile> | 146 | </ClCompile> |
147 | <Link> | 147 | <Link> |
148 | <OutputFile>..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe</OutputFile> | 148 | <OutputFile>..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe</OutputFile> |
149 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 149 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
150 | <GenerateDebugInformation>false</GenerateDebugInformation> | 150 | <GenerateDebugInformation>false</GenerateDebugInformation> |
151 | <SubSystem>Console</SubSystem> | 151 | <SubSystem>Console</SubSystem> |
152 | <OptimizeReferences>true</OptimizeReferences> | 152 | <OptimizeReferences>true</OptimizeReferences> |
153 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | 153 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
154 | <DataExecutionPrevention> | 154 | <DataExecutionPrevention> |
155 | </DataExecutionPrevention> | 155 | </DataExecutionPrevention> |
156 | </Link> | 156 | </Link> |
157 | </ItemDefinitionGroup> | 157 | </ItemDefinitionGroup> |
158 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | 158 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
159 | <ClCompile> | 159 | <ClCompile> |
160 | <IntrinsicFunctions>true</IntrinsicFunctions> | 160 | <IntrinsicFunctions>true</IntrinsicFunctions> |
161 | <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> | 161 | <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
162 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 162 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
163 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 163 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
164 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 164 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
165 | <BufferSecurityCheck>false</BufferSecurityCheck> | 165 | <BufferSecurityCheck>false</BufferSecurityCheck> |
166 | <PrecompiledHeader> | 166 | <PrecompiledHeader> |
167 | </PrecompiledHeader> | 167 | </PrecompiledHeader> |
168 | <WarningLevel>Level3</WarningLevel> | 168 | <WarningLevel>Level3</WarningLevel> |
169 | <DebugInformationFormat> | 169 | <DebugInformationFormat> |
170 | </DebugInformationFormat> | 170 | </DebugInformationFormat> |
171 | <CallingConvention>Cdecl</CallingConvention> | 171 | <CallingConvention>Cdecl</CallingConvention> |
172 | </ClCompile> | 172 | </ClCompile> |
173 | <Link> | 173 | <Link> |
174 | <OutputFile>..\..\bin\Win64-VisualStudio\16.Quake3MapShader.exe</OutputFile> | 174 | <OutputFile>..\..\bin\Win64-VisualStudio\16.Quake3MapShader.exe</OutputFile> |
175 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 175 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
176 | <GenerateDebugInformation>false</GenerateDebugInformation> | 176 | <GenerateDebugInformation>false</GenerateDebugInformation> |
177 | <SubSystem>Console</SubSystem> | 177 | <SubSystem>Console</SubSystem> |
178 | <OptimizeReferences>true</OptimizeReferences> | 178 | <OptimizeReferences>true</OptimizeReferences> |
179 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | 179 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
180 | <DataExecutionPrevention> | 180 | <DataExecutionPrevention> |
181 | </DataExecutionPrevention> | 181 | </DataExecutionPrevention> |
182 | </Link> | 182 | </Link> |
183 | </ItemDefinitionGroup> | 183 | </ItemDefinitionGroup> |
184 | <ItemGroup> | 184 | <ItemGroup> |
185 | <ClCompile Include="main.cpp" /> | 185 | <ClCompile Include="main.cpp" /> |
186 | </ItemGroup> | 186 | </ItemGroup> |
187 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 187 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
188 | <ImportGroup Label="ExtensionTargets"> | 188 | <ImportGroup Label="ExtensionTargets"> |
189 | </ImportGroup> | 189 | </ImportGroup> |
190 | </Project> \ No newline at end of file | 190 | </Project> \ No newline at end of file |
diff --git a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc11.vcxproj b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc11.vcxproj index 1bd3735..8b1f1f8 100644 --- a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc11.vcxproj +++ b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc11.vcxproj | |||
@@ -1,194 +1,194 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 2 | <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | <ItemGroup Label="ProjectConfigurations"> | 3 | <ItemGroup Label="ProjectConfigurations"> |
4 | <ProjectConfiguration Include="Debug|Win32"> | 4 | <ProjectConfiguration Include="Debug|Win32"> |
5 | <Configuration>Debug</Configuration> | 5 | <Configuration>Debug</Configuration> |
6 | <Platform>Win32</Platform> | 6 | <Platform>Win32</Platform> |
7 | </ProjectConfiguration> | 7 | </ProjectConfiguration> |
8 | <ProjectConfiguration Include="Debug|x64"> | 8 | <ProjectConfiguration Include="Debug|x64"> |
9 | <Configuration>Debug</Configuration> | 9 | <Configuration>Debug</Configuration> |
10 | <Platform>x64</Platform> | 10 | <Platform>x64</Platform> |
11 | </ProjectConfiguration> | 11 | </ProjectConfiguration> |
12 | <ProjectConfiguration Include="Release|Win32"> | 12 | <ProjectConfiguration Include="Release|Win32"> |
13 | <Configuration>Release</Configuration> | 13 | <Configuration>Release</Configuration> |
14 | <Platform>Win32</Platform> | 14 | <Platform>Win32</Platform> |
15 | </ProjectConfiguration> | 15 | </ProjectConfiguration> |
16 | <ProjectConfiguration Include="Release|x64"> | 16 | <ProjectConfiguration Include="Release|x64"> |
17 | <Configuration>Release</Configuration> | 17 | <Configuration>Release</Configuration> |
18 | <Platform>x64</Platform> | 18 | <Platform>x64</Platform> |
19 | </ProjectConfiguration> | 19 | </ProjectConfiguration> |
20 | </ItemGroup> | 20 | </ItemGroup> |
21 | <PropertyGroup Label="Globals"> | 21 | <PropertyGroup Label="Globals"> |
22 | <ProjectName>16.Quake3MapShader</ProjectName> | 22 | <ProjectName>16.Quake3MapShader</ProjectName> |
23 | <ProjectGuid>{EB3B38EA-5CE7-4983-845B-880661E69D09}</ProjectGuid> | 23 | <ProjectGuid>{EB3B38EA-5CE7-4983-845B-880661E69D09}</ProjectGuid> |
24 | <RootNamespace>16.Quake3MapShader</RootNamespace> | 24 | <RootNamespace>16.Quake3MapShader</RootNamespace> |
25 | <Keyword>Win32Proj</Keyword> | 25 | <Keyword>Win32Proj</Keyword> |
26 | </PropertyGroup> | 26 | </PropertyGroup> |
27 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 27 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
28 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | 28 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
29 | <ConfigurationType>Application</ConfigurationType> | 29 | <ConfigurationType>Application</ConfigurationType> |
30 | <CharacterSet>MultiByte</CharacterSet> | 30 | <CharacterSet>MultiByte</CharacterSet> |
31 | <PlatformToolset>v110</PlatformToolset> | 31 | <PlatformToolset>v110</PlatformToolset> |
32 | </PropertyGroup> | 32 | </PropertyGroup> |
33 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | 33 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
34 | <ConfigurationType>Application</ConfigurationType> | 34 | <ConfigurationType>Application</ConfigurationType> |
35 | <CharacterSet>MultiByte</CharacterSet> | 35 | <CharacterSet>MultiByte</CharacterSet> |
36 | <PlatformToolset>v110</PlatformToolset> | 36 | <PlatformToolset>v110</PlatformToolset> |
37 | </PropertyGroup> | 37 | </PropertyGroup> |
38 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | 38 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
39 | <ConfigurationType>Application</ConfigurationType> | 39 | <ConfigurationType>Application</ConfigurationType> |
40 | <CharacterSet>MultiByte</CharacterSet> | 40 | <CharacterSet>MultiByte</CharacterSet> |
41 | <PlatformToolset>v110</PlatformToolset> | 41 | <PlatformToolset>v110</PlatformToolset> |
42 | </PropertyGroup> | 42 | </PropertyGroup> |
43 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | 43 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
44 | <ConfigurationType>Application</ConfigurationType> | 44 | <ConfigurationType>Application</ConfigurationType> |
45 | <CharacterSet>MultiByte</CharacterSet> | 45 | <CharacterSet>MultiByte</CharacterSet> |
46 | <PlatformToolset>v110</PlatformToolset> | 46 | <PlatformToolset>v110</PlatformToolset> |
47 | </PropertyGroup> | 47 | </PropertyGroup> |
48 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 48 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
49 | <ImportGroup Label="ExtensionSettings"> | 49 | <ImportGroup Label="ExtensionSettings"> |
50 | </ImportGroup> | 50 | </ImportGroup> |
51 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | 51 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> |
52 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 52 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
53 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 53 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
54 | </ImportGroup> | 54 | </ImportGroup> |
55 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> | 55 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> |
56 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 56 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
57 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 57 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
58 | </ImportGroup> | 58 | </ImportGroup> |
59 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | 59 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> |
60 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 60 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
61 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 61 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
62 | </ImportGroup> | 62 | </ImportGroup> |
63 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> | 63 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> |
64 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 64 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
65 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 65 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
66 | </ImportGroup> | 66 | </ImportGroup> |
67 | <PropertyGroup Label="UserMacros" /> | 67 | <PropertyGroup Label="UserMacros" /> |
68 | <PropertyGroup> | 68 | <PropertyGroup> |
69 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | 69 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
70 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 70 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
71 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 71 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
72 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> | 72 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> |
73 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> | 73 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> |
74 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 74 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
75 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 75 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
76 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 76 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
77 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 77 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
78 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 78 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
79 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 79 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
80 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 80 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
81 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 81 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
82 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 82 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
83 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 83 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
84 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 84 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
85 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 85 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
86 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 86 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
87 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 87 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
88 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 88 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
89 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 89 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
90 | </PropertyGroup> | 90 | </PropertyGroup> |
91 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | 91 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
92 | <ClCompile> | 92 | <ClCompile> |
93 | <Optimization>Disabled</Optimization> | 93 | <Optimization>Disabled</Optimization> |
94 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 94 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
95 | <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 95 | <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
96 | <MinimalRebuild>true</MinimalRebuild> | 96 | <MinimalRebuild>true</MinimalRebuild> |
97 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 97 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
98 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 98 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
99 | <PrecompiledHeader> | 99 | <PrecompiledHeader> |
100 | </PrecompiledHeader> | 100 | </PrecompiledHeader> |
101 | <WarningLevel>Level3</WarningLevel> | 101 | <WarningLevel>Level3</WarningLevel> |
102 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | 102 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
103 | <CallingConvention>Cdecl</CallingConvention> | 103 | <CallingConvention>Cdecl</CallingConvention> |
104 | </ClCompile> | 104 | </ClCompile> |
105 | <Link> | 105 | <Link> |
106 | <OutputFile>..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe</OutputFile> | 106 | <OutputFile>..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe</OutputFile> |
107 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 107 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
108 | <GenerateDebugInformation>true</GenerateDebugInformation> | 108 | <GenerateDebugInformation>true</GenerateDebugInformation> |
109 | <SubSystem>Console</SubSystem> | 109 | <SubSystem>Console</SubSystem> |
110 | <DataExecutionPrevention> | 110 | <DataExecutionPrevention> |
111 | </DataExecutionPrevention> | 111 | </DataExecutionPrevention> |
112 | </Link> | 112 | </Link> |
113 | </ItemDefinitionGroup> | 113 | </ItemDefinitionGroup> |
114 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | 114 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
115 | <ClCompile> | 115 | <ClCompile> |
116 | <Optimization>Disabled</Optimization> | 116 | <Optimization>Disabled</Optimization> |
117 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 117 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
118 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 118 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
119 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 119 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
120 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 120 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
121 | <PrecompiledHeader> | 121 | <PrecompiledHeader> |
122 | </PrecompiledHeader> | 122 | </PrecompiledHeader> |
123 | <WarningLevel>Level3</WarningLevel> | 123 | <WarningLevel>Level3</WarningLevel> |
124 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | 124 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
125 | <CallingConvention>Cdecl</CallingConvention> | 125 | <CallingConvention>Cdecl</CallingConvention> |
126 | </ClCompile> | 126 | </ClCompile> |
127 | <Link> | 127 | <Link> |
128 | <OutputFile>..\..\bin\Win64-VisualStudio\16.Quake3MapShader.exe</OutputFile> | 128 | <OutputFile>..\..\bin\Win64-VisualStudio\16.Quake3MapShader.exe</OutputFile> |
129 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 129 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
130 | <GenerateDebugInformation>true</GenerateDebugInformation> | 130 | <GenerateDebugInformation>true</GenerateDebugInformation> |
131 | <SubSystem>Console</SubSystem> | 131 | <SubSystem>Console</SubSystem> |
132 | <DataExecutionPrevention> | 132 | <DataExecutionPrevention> |
133 | </DataExecutionPrevention> | 133 | </DataExecutionPrevention> |
134 | </Link> | 134 | </Link> |
135 | </ItemDefinitionGroup> | 135 | </ItemDefinitionGroup> |
136 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | 136 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
137 | <ClCompile> | 137 | <ClCompile> |
138 | <IntrinsicFunctions>true</IntrinsicFunctions> | 138 | <IntrinsicFunctions>true</IntrinsicFunctions> |
139 | <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> | 139 | <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
140 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 140 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
141 | <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 141 | <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
142 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 142 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
143 | <BufferSecurityCheck>false</BufferSecurityCheck> | 143 | <BufferSecurityCheck>false</BufferSecurityCheck> |
144 | <PrecompiledHeader> | 144 | <PrecompiledHeader> |
145 | </PrecompiledHeader> | 145 | </PrecompiledHeader> |
146 | <WarningLevel>Level3</WarningLevel> | 146 | <WarningLevel>Level3</WarningLevel> |
147 | <DebugInformationFormat> | 147 | <DebugInformationFormat> |
148 | </DebugInformationFormat> | 148 | </DebugInformationFormat> |
149 | <CallingConvention>Cdecl</CallingConvention> | 149 | <CallingConvention>Cdecl</CallingConvention> |
150 | </ClCompile> | 150 | </ClCompile> |
151 | <Link> | 151 | <Link> |
152 | <OutputFile>..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe</OutputFile> | 152 | <OutputFile>..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe</OutputFile> |
153 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 153 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
154 | <GenerateDebugInformation>false</GenerateDebugInformation> | 154 | <GenerateDebugInformation>false</GenerateDebugInformation> |
155 | <SubSystem>Console</SubSystem> | 155 | <SubSystem>Console</SubSystem> |
156 | <OptimizeReferences>true</OptimizeReferences> | 156 | <OptimizeReferences>true</OptimizeReferences> |
157 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | 157 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
158 | <DataExecutionPrevention> | 158 | <DataExecutionPrevention> |
159 | </DataExecutionPrevention> | 159 | </DataExecutionPrevention> |
160 | </Link> | 160 | </Link> |
161 | </ItemDefinitionGroup> | 161 | </ItemDefinitionGroup> |
162 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | 162 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
163 | <ClCompile> | 163 | <ClCompile> |
164 | <IntrinsicFunctions>true</IntrinsicFunctions> | 164 | <IntrinsicFunctions>true</IntrinsicFunctions> |
165 | <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> | 165 | <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
166 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 166 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
167 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 167 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
168 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 168 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
169 | <BufferSecurityCheck>false</BufferSecurityCheck> | 169 | <BufferSecurityCheck>false</BufferSecurityCheck> |
170 | <PrecompiledHeader> | 170 | <PrecompiledHeader> |
171 | </PrecompiledHeader> | 171 | </PrecompiledHeader> |
172 | <WarningLevel>Level3</WarningLevel> | 172 | <WarningLevel>Level3</WarningLevel> |
173 | <DebugInformationFormat> | 173 | <DebugInformationFormat> |
174 | </DebugInformationFormat> | 174 | </DebugInformationFormat> |
175 | <CallingConvention>Cdecl</CallingConvention> | 175 | <CallingConvention>Cdecl</CallingConvention> |
176 | </ClCompile> | 176 | </ClCompile> |
177 | <Link> | 177 | <Link> |
178 | <OutputFile>..\..\bin\Win64-VisualStudio\16.Quake3MapShader.exe</OutputFile> | 178 | <OutputFile>..\..\bin\Win64-VisualStudio\16.Quake3MapShader.exe</OutputFile> |
179 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 179 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
180 | <GenerateDebugInformation>false</GenerateDebugInformation> | 180 | <GenerateDebugInformation>false</GenerateDebugInformation> |
181 | <SubSystem>Console</SubSystem> | 181 | <SubSystem>Console</SubSystem> |
182 | <OptimizeReferences>true</OptimizeReferences> | 182 | <OptimizeReferences>true</OptimizeReferences> |
183 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | 183 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
184 | <DataExecutionPrevention> | 184 | <DataExecutionPrevention> |
185 | </DataExecutionPrevention> | 185 | </DataExecutionPrevention> |
186 | </Link> | 186 | </Link> |
187 | </ItemDefinitionGroup> | 187 | </ItemDefinitionGroup> |
188 | <ItemGroup> | 188 | <ItemGroup> |
189 | <ClCompile Include="main.cpp" /> | 189 | <ClCompile Include="main.cpp" /> |
190 | </ItemGroup> | 190 | </ItemGroup> |
191 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 191 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
192 | <ImportGroup Label="ExtensionTargets"> | 192 | <ImportGroup Label="ExtensionTargets"> |
193 | </ImportGroup> | 193 | </ImportGroup> |
194 | </Project> \ No newline at end of file | 194 | </Project> \ No newline at end of file |
diff --git a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc8.vcproj b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc8.vcproj index 65fc83c..bcde8dc 100644 --- a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc8.vcproj +++ b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc8.vcproj | |||
@@ -1,190 +1,190 @@ | |||
1 | <?xml version="1.0" encoding="Windows-1252"?> | 1 | <?xml version="1.0" encoding="Windows-1252"?> |
2 | <VisualStudioProject | 2 | <VisualStudioProject |
3 | ProjectType="Visual C++" | 3 | ProjectType="Visual C++" |
4 | Version="8.00" | 4 | Version="8.00" |
5 | Name="16.Quake3MapShader_vc8" | 5 | Name="16.Quake3MapShader_vc8" |
6 | ProjectGUID="{EB3B38EA-5CE7-4983-845B-880661E69D09}" | 6 | ProjectGUID="{EB3B38EA-5CE7-4983-845B-880661E69D09}" |
7 | Keyword="Win32Proj" | 7 | Keyword="Win32Proj" |
8 | > | 8 | > |
9 | <Platforms> | 9 | <Platforms> |
10 | <Platform | 10 | <Platform |
11 | Name="Win32" | 11 | Name="Win32" |
12 | /> | 12 | /> |
13 | </Platforms> | 13 | </Platforms> |
14 | <ToolFiles> | 14 | <ToolFiles> |
15 | </ToolFiles> | 15 | </ToolFiles> |
16 | <Configurations> | 16 | <Configurations> |
17 | <Configuration | 17 | <Configuration |
18 | Name="Debug|Win32" | 18 | Name="Debug|Win32" |
19 | OutputDirectory="Debug" | 19 | OutputDirectory="Debug" |
20 | IntermediateDirectory="Debug" | 20 | IntermediateDirectory="Debug" |
21 | ConfigurationType="1" | 21 | ConfigurationType="1" |
22 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" | 22 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" |
23 | CharacterSet="2" | 23 | CharacterSet="2" |
24 | > | 24 | > |
25 | <Tool | 25 | <Tool |
26 | Name="VCPreBuildEventTool" | 26 | Name="VCPreBuildEventTool" |
27 | /> | 27 | /> |
28 | <Tool | 28 | <Tool |
29 | Name="VCCustomBuildTool" | 29 | Name="VCCustomBuildTool" |
30 | /> | 30 | /> |
31 | <Tool | 31 | <Tool |
32 | Name="VCXMLDataGeneratorTool" | 32 | Name="VCXMLDataGeneratorTool" |
33 | /> | 33 | /> |
34 | <Tool | 34 | <Tool |
35 | Name="VCWebServiceProxyGeneratorTool" | 35 | Name="VCWebServiceProxyGeneratorTool" |
36 | /> | 36 | /> |
37 | <Tool | 37 | <Tool |
38 | Name="VCMIDLTool" | 38 | Name="VCMIDLTool" |
39 | /> | 39 | /> |
40 | <Tool | 40 | <Tool |
41 | Name="VCCLCompilerTool" | 41 | Name="VCCLCompilerTool" |
42 | Optimization="0" | 42 | Optimization="0" |
43 | AdditionalIncludeDirectories="..\..\include" | 43 | AdditionalIncludeDirectories="..\..\include" |
44 | PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS" | 44 | PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS" |
45 | MinimalRebuild="true" | 45 | MinimalRebuild="true" |
46 | BasicRuntimeChecks="3" | 46 | BasicRuntimeChecks="3" |
47 | RuntimeLibrary="1" | 47 | RuntimeLibrary="1" |
48 | UsePrecompiledHeader="0" | 48 | UsePrecompiledHeader="0" |
49 | WarningLevel="3" | 49 | WarningLevel="3" |
50 | Detect64BitPortabilityProblems="true" | 50 | Detect64BitPortabilityProblems="true" |
51 | DebugInformationFormat="4" | 51 | DebugInformationFormat="4" |
52 | /> | 52 | /> |
53 | <Tool | 53 | <Tool |
54 | Name="VCManagedResourceCompilerTool" | 54 | Name="VCManagedResourceCompilerTool" |
55 | /> | 55 | /> |
56 | <Tool | 56 | <Tool |
57 | Name="VCResourceCompilerTool" | 57 | Name="VCResourceCompilerTool" |
58 | /> | 58 | /> |
59 | <Tool | 59 | <Tool |
60 | Name="VCPreLinkEventTool" | 60 | Name="VCPreLinkEventTool" |
61 | /> | 61 | /> |
62 | <Tool | 62 | <Tool |
63 | Name="VCLinkerTool" | 63 | Name="VCLinkerTool" |
64 | OutputFile="..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe" | 64 | OutputFile="..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe" |
65 | LinkIncremental="2" | 65 | LinkIncremental="2" |
66 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 66 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
67 | GenerateDebugInformation="true" | 67 | GenerateDebugInformation="true" |
68 | ProgramDatabaseFile="$(OutDir)/Quake3MapShader.pdb" | 68 | ProgramDatabaseFile="$(OutDir)/Quake3MapShader.pdb" |
69 | SubSystem="1" | 69 | SubSystem="1" |
70 | TargetMachine="1" | 70 | TargetMachine="1" |
71 | /> | 71 | /> |
72 | <Tool | 72 | <Tool |
73 | Name="VCALinkTool" | 73 | Name="VCALinkTool" |
74 | /> | 74 | /> |
75 | <Tool | 75 | <Tool |
76 | Name="VCManifestTool" | 76 | Name="VCManifestTool" |
77 | /> | 77 | /> |
78 | <Tool | 78 | <Tool |
79 | Name="VCXDCMakeTool" | 79 | Name="VCXDCMakeTool" |
80 | /> | 80 | /> |
81 | <Tool | 81 | <Tool |
82 | Name="VCBscMakeTool" | 82 | Name="VCBscMakeTool" |
83 | /> | 83 | /> |
84 | <Tool | 84 | <Tool |
85 | Name="VCFxCopTool" | 85 | Name="VCFxCopTool" |
86 | /> | 86 | /> |
87 | <Tool | 87 | <Tool |
88 | Name="VCAppVerifierTool" | 88 | Name="VCAppVerifierTool" |
89 | /> | 89 | /> |
90 | <Tool | 90 | <Tool |
91 | Name="VCWebDeploymentTool" | 91 | Name="VCWebDeploymentTool" |
92 | /> | 92 | /> |
93 | <Tool | 93 | <Tool |
94 | Name="VCPostBuildEventTool" | 94 | Name="VCPostBuildEventTool" |
95 | /> | 95 | /> |
96 | </Configuration> | 96 | </Configuration> |
97 | <Configuration | 97 | <Configuration |
98 | Name="Release|Win32" | 98 | Name="Release|Win32" |
99 | OutputDirectory="Release" | 99 | OutputDirectory="Release" |
100 | IntermediateDirectory="Release" | 100 | IntermediateDirectory="Release" |
101 | ConfigurationType="1" | 101 | ConfigurationType="1" |
102 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" | 102 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" |
103 | CharacterSet="2" | 103 | CharacterSet="2" |
104 | > | 104 | > |
105 | <Tool | 105 | <Tool |
106 | Name="VCPreBuildEventTool" | 106 | Name="VCPreBuildEventTool" |
107 | /> | 107 | /> |
108 | <Tool | 108 | <Tool |
109 | Name="VCCustomBuildTool" | 109 | Name="VCCustomBuildTool" |
110 | /> | 110 | /> |
111 | <Tool | 111 | <Tool |
112 | Name="VCXMLDataGeneratorTool" | 112 | Name="VCXMLDataGeneratorTool" |
113 | /> | 113 | /> |
114 | <Tool | 114 | <Tool |
115 | Name="VCWebServiceProxyGeneratorTool" | 115 | Name="VCWebServiceProxyGeneratorTool" |
116 | /> | 116 | /> |
117 | <Tool | 117 | <Tool |
118 | Name="VCMIDLTool" | 118 | Name="VCMIDLTool" |
119 | /> | 119 | /> |
120 | <Tool | 120 | <Tool |
121 | Name="VCCLCompilerTool" | 121 | Name="VCCLCompilerTool" |
122 | EnableIntrinsicFunctions="true" | 122 | EnableIntrinsicFunctions="true" |
123 | FavorSizeOrSpeed="1" | 123 | FavorSizeOrSpeed="1" |
124 | AdditionalIncludeDirectories="..\..\include" | 124 | AdditionalIncludeDirectories="..\..\include" |
125 | PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS" | 125 | PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS" |
126 | RuntimeLibrary="0" | 126 | RuntimeLibrary="0" |
127 | BufferSecurityCheck="false" | 127 | BufferSecurityCheck="false" |
128 | UsePrecompiledHeader="0" | 128 | UsePrecompiledHeader="0" |
129 | WarningLevel="3" | 129 | WarningLevel="3" |
130 | Detect64BitPortabilityProblems="true" | 130 | Detect64BitPortabilityProblems="true" |
131 | DebugInformationFormat="0" | 131 | DebugInformationFormat="0" |
132 | CallingConvention="1" | 132 | CallingConvention="1" |
133 | /> | 133 | /> |
134 | <Tool | 134 | <Tool |
135 | Name="VCManagedResourceCompilerTool" | 135 | Name="VCManagedResourceCompilerTool" |
136 | /> | 136 | /> |
137 | <Tool | 137 | <Tool |
138 | Name="VCResourceCompilerTool" | 138 | Name="VCResourceCompilerTool" |
139 | /> | 139 | /> |
140 | <Tool | 140 | <Tool |
141 | Name="VCPreLinkEventTool" | 141 | Name="VCPreLinkEventTool" |
142 | /> | 142 | /> |
143 | <Tool | 143 | <Tool |
144 | Name="VCLinkerTool" | 144 | Name="VCLinkerTool" |
145 | OutputFile="..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe" | 145 | OutputFile="..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe" |
146 | LinkIncremental="0" | 146 | LinkIncremental="0" |
147 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 147 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
148 | GenerateDebugInformation="false" | 148 | GenerateDebugInformation="false" |
149 | SubSystem="1" | 149 | SubSystem="1" |
150 | OptimizeReferences="2" | 150 | OptimizeReferences="2" |
151 | EnableCOMDATFolding="2" | 151 | EnableCOMDATFolding="2" |
152 | TargetMachine="1" | 152 | TargetMachine="1" |
153 | /> | 153 | /> |
154 | <Tool | 154 | <Tool |
155 | Name="VCALinkTool" | 155 | Name="VCALinkTool" |
156 | /> | 156 | /> |
157 | <Tool | 157 | <Tool |
158 | Name="VCManifestTool" | 158 | Name="VCManifestTool" |
159 | /> | 159 | /> |
160 | <Tool | 160 | <Tool |
161 | Name="VCXDCMakeTool" | 161 | Name="VCXDCMakeTool" |
162 | /> | 162 | /> |
163 | <Tool | 163 | <Tool |
164 | Name="VCBscMakeTool" | 164 | Name="VCBscMakeTool" |
165 | /> | 165 | /> |
166 | <Tool | 166 | <Tool |
167 | Name="VCFxCopTool" | 167 | Name="VCFxCopTool" |
168 | /> | 168 | /> |
169 | <Tool | 169 | <Tool |
170 | Name="VCAppVerifierTool" | 170 | Name="VCAppVerifierTool" |
171 | /> | 171 | /> |
172 | <Tool | 172 | <Tool |
173 | Name="VCWebDeploymentTool" | 173 | Name="VCWebDeploymentTool" |
174 | /> | 174 | /> |
175 | <Tool | 175 | <Tool |
176 | Name="VCPostBuildEventTool" | 176 | Name="VCPostBuildEventTool" |
177 | /> | 177 | /> |
178 | </Configuration> | 178 | </Configuration> |
179 | </Configurations> | 179 | </Configurations> |
180 | <References> | 180 | <References> |
181 | </References> | 181 | </References> |
182 | <Files> | 182 | <Files> |
183 | <File | 183 | <File |
184 | RelativePath=".\main.cpp" | 184 | RelativePath=".\main.cpp" |
185 | > | 185 | > |
186 | </File> | 186 | </File> |
187 | </Files> | 187 | </Files> |
188 | <Globals> | 188 | <Globals> |
189 | </Globals> | 189 | </Globals> |
190 | </VisualStudioProject> | 190 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc9.vcproj b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc9.vcproj index a533ce0..4728032 100644 --- a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc9.vcproj +++ b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/Quake3MapShader_vc9.vcproj | |||
@@ -1,188 +1,188 @@ | |||
1 | <?xml version="1.0" encoding="Windows-1252"?> | 1 | <?xml version="1.0" encoding="Windows-1252"?> |
2 | <VisualStudioProject | 2 | <VisualStudioProject |
3 | ProjectType="Visual C++" | 3 | ProjectType="Visual C++" |
4 | Version="9,00" | 4 | Version="9,00" |
5 | Name="16.Quake3MapShader_vc9" | 5 | Name="16.Quake3MapShader_vc9" |
6 | ProjectGUID="{EB3B38EA-5CE7-4983-845B-880661E69D09}" | 6 | ProjectGUID="{EB3B38EA-5CE7-4983-845B-880661E69D09}" |
7 | RootNamespace="16.Quake3MapShader_vc9" | 7 | RootNamespace="16.Quake3MapShader_vc9" |
8 | Keyword="Win32Proj" | 8 | Keyword="Win32Proj" |
9 | TargetFrameworkVersion="131072" | 9 | TargetFrameworkVersion="131072" |
10 | > | 10 | > |
11 | <Platforms> | 11 | <Platforms> |
12 | <Platform | 12 | <Platform |
13 | Name="Win32" | 13 | Name="Win32" |
14 | /> | 14 | /> |
15 | </Platforms> | 15 | </Platforms> |
16 | <ToolFiles> | 16 | <ToolFiles> |
17 | </ToolFiles> | 17 | </ToolFiles> |
18 | <Configurations> | 18 | <Configurations> |
19 | <Configuration | 19 | <Configuration |
20 | Name="Debug|Win32" | 20 | Name="Debug|Win32" |
21 | OutputDirectory="Debug" | 21 | OutputDirectory="Debug" |
22 | IntermediateDirectory="Debug" | 22 | IntermediateDirectory="Debug" |
23 | ConfigurationType="1" | 23 | ConfigurationType="1" |
24 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" | 24 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" |
25 | CharacterSet="2" | 25 | CharacterSet="2" |
26 | > | 26 | > |
27 | <Tool | 27 | <Tool |
28 | Name="VCPreBuildEventTool" | 28 | Name="VCPreBuildEventTool" |
29 | /> | 29 | /> |
30 | <Tool | 30 | <Tool |
31 | Name="VCCustomBuildTool" | 31 | Name="VCCustomBuildTool" |
32 | /> | 32 | /> |
33 | <Tool | 33 | <Tool |
34 | Name="VCXMLDataGeneratorTool" | 34 | Name="VCXMLDataGeneratorTool" |
35 | /> | 35 | /> |
36 | <Tool | 36 | <Tool |
37 | Name="VCWebServiceProxyGeneratorTool" | 37 | Name="VCWebServiceProxyGeneratorTool" |
38 | /> | 38 | /> |
39 | <Tool | 39 | <Tool |
40 | Name="VCMIDLTool" | 40 | Name="VCMIDLTool" |
41 | /> | 41 | /> |
42 | <Tool | 42 | <Tool |
43 | Name="VCCLCompilerTool" | 43 | Name="VCCLCompilerTool" |
44 | Optimization="0" | 44 | Optimization="0" |
45 | AdditionalIncludeDirectories="..\..\include" | 45 | AdditionalIncludeDirectories="..\..\include" |
46 | PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS" | 46 | PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS" |
47 | MinimalRebuild="true" | 47 | MinimalRebuild="true" |
48 | BasicRuntimeChecks="3" | 48 | BasicRuntimeChecks="3" |
49 | RuntimeLibrary="1" | 49 | RuntimeLibrary="1" |
50 | UsePrecompiledHeader="0" | 50 | UsePrecompiledHeader="0" |
51 | WarningLevel="3" | 51 | WarningLevel="3" |
52 | DebugInformationFormat="4" | 52 | DebugInformationFormat="4" |
53 | /> | 53 | /> |
54 | <Tool | 54 | <Tool |
55 | Name="VCManagedResourceCompilerTool" | 55 | Name="VCManagedResourceCompilerTool" |
56 | /> | 56 | /> |
57 | <Tool | 57 | <Tool |
58 | Name="VCResourceCompilerTool" | 58 | Name="VCResourceCompilerTool" |
59 | /> | 59 | /> |
60 | <Tool | 60 | <Tool |
61 | Name="VCPreLinkEventTool" | 61 | Name="VCPreLinkEventTool" |
62 | /> | 62 | /> |
63 | <Tool | 63 | <Tool |
64 | Name="VCLinkerTool" | 64 | Name="VCLinkerTool" |
65 | OutputFile="..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe" | 65 | OutputFile="..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe" |
66 | LinkIncremental="2" | 66 | LinkIncremental="2" |
67 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 67 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
68 | GenerateDebugInformation="true" | 68 | GenerateDebugInformation="true" |
69 | ProgramDatabaseFile="$(OutDir)/Quake3MapShader.pdb" | 69 | ProgramDatabaseFile="$(OutDir)/Quake3MapShader.pdb" |
70 | SubSystem="1" | 70 | SubSystem="1" |
71 | RandomizedBaseAddress="1" | 71 | RandomizedBaseAddress="1" |
72 | DataExecutionPrevention="0" | 72 | DataExecutionPrevention="0" |
73 | TargetMachine="1" | 73 | TargetMachine="1" |
74 | /> | 74 | /> |
75 | <Tool | 75 | <Tool |
76 | Name="VCALinkTool" | 76 | Name="VCALinkTool" |
77 | /> | 77 | /> |
78 | <Tool | 78 | <Tool |
79 | Name="VCManifestTool" | 79 | Name="VCManifestTool" |
80 | /> | 80 | /> |
81 | <Tool | 81 | <Tool |
82 | Name="VCXDCMakeTool" | 82 | Name="VCXDCMakeTool" |
83 | /> | 83 | /> |
84 | <Tool | 84 | <Tool |
85 | Name="VCBscMakeTool" | 85 | Name="VCBscMakeTool" |
86 | /> | 86 | /> |
87 | <Tool | 87 | <Tool |
88 | Name="VCFxCopTool" | 88 | Name="VCFxCopTool" |
89 | /> | 89 | /> |
90 | <Tool | 90 | <Tool |
91 | Name="VCAppVerifierTool" | 91 | Name="VCAppVerifierTool" |
92 | /> | 92 | /> |
93 | <Tool | 93 | <Tool |
94 | Name="VCPostBuildEventTool" | 94 | Name="VCPostBuildEventTool" |
95 | /> | 95 | /> |
96 | </Configuration> | 96 | </Configuration> |
97 | <Configuration | 97 | <Configuration |
98 | Name="Release|Win32" | 98 | Name="Release|Win32" |
99 | OutputDirectory="Release" | 99 | OutputDirectory="Release" |
100 | IntermediateDirectory="Release" | 100 | IntermediateDirectory="Release" |
101 | ConfigurationType="1" | 101 | ConfigurationType="1" |
102 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" | 102 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" |
103 | CharacterSet="2" | 103 | CharacterSet="2" |
104 | > | 104 | > |
105 | <Tool | 105 | <Tool |
106 | Name="VCPreBuildEventTool" | 106 | Name="VCPreBuildEventTool" |
107 | /> | 107 | /> |
108 | <Tool | 108 | <Tool |
109 | Name="VCCustomBuildTool" | 109 | Name="VCCustomBuildTool" |
110 | /> | 110 | /> |
111 | <Tool | 111 | <Tool |
112 | Name="VCXMLDataGeneratorTool" | 112 | Name="VCXMLDataGeneratorTool" |
113 | /> | 113 | /> |
114 | <Tool | 114 | <Tool |
115 | Name="VCWebServiceProxyGeneratorTool" | 115 | Name="VCWebServiceProxyGeneratorTool" |
116 | /> | 116 | /> |
117 | <Tool | 117 | <Tool |
118 | Name="VCMIDLTool" | 118 | Name="VCMIDLTool" |
119 | /> | 119 | /> |
120 | <Tool | 120 | <Tool |
121 | Name="VCCLCompilerTool" | 121 | Name="VCCLCompilerTool" |
122 | EnableIntrinsicFunctions="true" | 122 | EnableIntrinsicFunctions="true" |
123 | FavorSizeOrSpeed="1" | 123 | FavorSizeOrSpeed="1" |
124 | AdditionalIncludeDirectories="..\..\include" | 124 | AdditionalIncludeDirectories="..\..\include" |
125 | PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS" | 125 | PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS" |
126 | RuntimeLibrary="0" | 126 | RuntimeLibrary="0" |
127 | BufferSecurityCheck="false" | 127 | BufferSecurityCheck="false" |
128 | UsePrecompiledHeader="0" | 128 | UsePrecompiledHeader="0" |
129 | WarningLevel="3" | 129 | WarningLevel="3" |
130 | DebugInformationFormat="0" | 130 | DebugInformationFormat="0" |
131 | CallingConvention="1" | 131 | CallingConvention="1" |
132 | /> | 132 | /> |
133 | <Tool | 133 | <Tool |
134 | Name="VCManagedResourceCompilerTool" | 134 | Name="VCManagedResourceCompilerTool" |
135 | /> | 135 | /> |
136 | <Tool | 136 | <Tool |
137 | Name="VCResourceCompilerTool" | 137 | Name="VCResourceCompilerTool" |
138 | /> | 138 | /> |
139 | <Tool | 139 | <Tool |
140 | Name="VCPreLinkEventTool" | 140 | Name="VCPreLinkEventTool" |
141 | /> | 141 | /> |
142 | <Tool | 142 | <Tool |
143 | Name="VCLinkerTool" | 143 | Name="VCLinkerTool" |
144 | OutputFile="..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe" | 144 | OutputFile="..\..\bin\Win32-VisualStudio\16.Quake3MapShader.exe" |
145 | LinkIncremental="0" | 145 | LinkIncremental="0" |
146 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 146 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
147 | GenerateDebugInformation="false" | 147 | GenerateDebugInformation="false" |
148 | SubSystem="1" | 148 | SubSystem="1" |
149 | OptimizeReferences="2" | 149 | OptimizeReferences="2" |
150 | EnableCOMDATFolding="2" | 150 | EnableCOMDATFolding="2" |
151 | RandomizedBaseAddress="1" | 151 | RandomizedBaseAddress="1" |
152 | DataExecutionPrevention="0" | 152 | DataExecutionPrevention="0" |
153 | TargetMachine="1" | 153 | TargetMachine="1" |
154 | /> | 154 | /> |
155 | <Tool | 155 | <Tool |
156 | Name="VCALinkTool" | 156 | Name="VCALinkTool" |
157 | /> | 157 | /> |
158 | <Tool | 158 | <Tool |
159 | Name="VCManifestTool" | 159 | Name="VCManifestTool" |
160 | /> | 160 | /> |
161 | <Tool | 161 | <Tool |
162 | Name="VCXDCMakeTool" | 162 | Name="VCXDCMakeTool" |
163 | /> | 163 | /> |
164 | <Tool | 164 | <Tool |
165 | Name="VCBscMakeTool" | 165 | Name="VCBscMakeTool" |
166 | /> | 166 | /> |
167 | <Tool | 167 | <Tool |
168 | Name="VCFxCopTool" | 168 | Name="VCFxCopTool" |
169 | /> | 169 | /> |
170 | <Tool | 170 | <Tool |
171 | Name="VCAppVerifierTool" | 171 | Name="VCAppVerifierTool" |
172 | /> | 172 | /> |
173 | <Tool | 173 | <Tool |
174 | Name="VCPostBuildEventTool" | 174 | Name="VCPostBuildEventTool" |
175 | /> | 175 | /> |
176 | </Configuration> | 176 | </Configuration> |
177 | </Configurations> | 177 | </Configurations> |
178 | <References> | 178 | <References> |
179 | </References> | 179 | </References> |
180 | <Files> | 180 | <Files> |
181 | <File | 181 | <File |
182 | RelativePath=".\main.cpp" | 182 | RelativePath=".\main.cpp" |
183 | > | 183 | > |
184 | </File> | 184 | </File> |
185 | </Files> | 185 | </Files> |
186 | <Globals> | 186 | <Globals> |
187 | </Globals> | 187 | </Globals> |
188 | </VisualStudioProject> | 188 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/main.cpp b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/main.cpp index 1e5d55e..bd11c95 100644 --- a/libraries/irrlicht-1.8/examples/16.Quake3MapShader/main.cpp +++ b/libraries/irrlicht-1.8/examples/16.Quake3MapShader/main.cpp | |||
@@ -1,388 +1,388 @@ | |||
1 | /** Example 016 Quake3 Map Shader Support | 1 | /** Example 016 Quake3 Map Shader Support |
2 | 2 | ||
3 | This Tutorial shows how to load a Quake 3 map into the | 3 | This Tutorial shows how to load a Quake 3 map into the |
4 | engine, create a SceneNode for optimizing the speed of | 4 | engine, create a SceneNode for optimizing the speed of |
5 | rendering and how to create a user controlled camera. | 5 | rendering and how to create a user controlled camera. |
6 | 6 | ||
7 | Lets start like the HelloWorld example: We include | 7 | Lets start like the HelloWorld example: We include |
8 | the irrlicht header files and an additional file to be able | 8 | the irrlicht header files and an additional file to be able |
9 | to ask the user for a driver type using the console. | 9 | to ask the user for a driver type using the console. |
10 | */ | 10 | */ |
11 | #include <irrlicht.h> | 11 | #include <irrlicht.h> |
12 | #include "driverChoice.h" | 12 | #include "driverChoice.h" |
13 | 13 | ||
14 | /* | 14 | /* |
15 | define which Quake3 Level should be loaded | 15 | define which Quake3 Level should be loaded |
16 | */ | 16 | */ |
17 | #define IRRLICHT_QUAKE3_ARENA | 17 | #define IRRLICHT_QUAKE3_ARENA |
18 | //#define ORIGINAL_QUAKE3_ARENA | 18 | //#define ORIGINAL_QUAKE3_ARENA |
19 | //#define CUSTOM_QUAKE3_ARENA | 19 | //#define CUSTOM_QUAKE3_ARENA |
20 | //#define SHOW_SHADER_NAME | 20 | //#define SHOW_SHADER_NAME |
21 | 21 | ||
22 | #ifdef ORIGINAL_QUAKE3_ARENA | 22 | #ifdef ORIGINAL_QUAKE3_ARENA |
23 | #define QUAKE3_STORAGE_FORMAT addFolderFileArchive | 23 | #define QUAKE3_STORAGE_FORMAT addFolderFileArchive |
24 | #define QUAKE3_STORAGE_1 "/baseq3/" | 24 | #define QUAKE3_STORAGE_1 "/baseq3/" |
25 | #ifdef CUSTOM_QUAKE3_ARENA | 25 | #ifdef CUSTOM_QUAKE3_ARENA |
26 | #define QUAKE3_STORAGE_2 "/cf/" | 26 | #define QUAKE3_STORAGE_2 "/cf/" |
27 | #define QUAKE3_MAP_NAME "maps/cf.bsp" | 27 | #define QUAKE3_MAP_NAME "maps/cf.bsp" |
28 | #else | 28 | #else |
29 | #define QUAKE3_MAP_NAME "maps/q3dm8.bsp" | 29 | #define QUAKE3_MAP_NAME "maps/q3dm8.bsp" |
30 | #endif | 30 | #endif |
31 | #endif | 31 | #endif |
32 | 32 | ||
33 | #ifdef IRRLICHT_QUAKE3_ARENA | 33 | #ifdef IRRLICHT_QUAKE3_ARENA |
34 | #define QUAKE3_STORAGE_FORMAT addFileArchive | 34 | #define QUAKE3_STORAGE_FORMAT addFileArchive |
35 | #define QUAKE3_STORAGE_1 "../../media/map-20kdm2.pk3" | 35 | #define QUAKE3_STORAGE_1 "../../media/map-20kdm2.pk3" |
36 | #define QUAKE3_MAP_NAME "maps/20kdm2.bsp" | 36 | #define QUAKE3_MAP_NAME "maps/20kdm2.bsp" |
37 | #endif | 37 | #endif |
38 | 38 | ||
39 | using namespace irr; | 39 | using namespace irr; |
40 | using namespace scene; | 40 | using namespace scene; |
41 | 41 | ||
42 | /* | 42 | /* |
43 | Again, to be able to use the Irrlicht.DLL file, we need to link with the | 43 | Again, to be able to use the Irrlicht.DLL file, we need to link with the |
44 | Irrlicht.lib. We could set this option in the project settings, but | 44 | Irrlicht.lib. We could set this option in the project settings, but |
45 | to make it easy, we use a pragma comment lib: | 45 | to make it easy, we use a pragma comment lib: |
46 | */ | 46 | */ |
47 | #ifdef _MSC_VER | 47 | #ifdef _MSC_VER |
48 | #pragma comment(lib, "Irrlicht.lib") | 48 | #pragma comment(lib, "Irrlicht.lib") |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | 51 | ||
52 | /* | 52 | /* |
53 | A class to produce a series of screenshots | 53 | A class to produce a series of screenshots |
54 | */ | 54 | */ |
55 | class CScreenShotFactory : public IEventReceiver | 55 | class CScreenShotFactory : public IEventReceiver |
56 | { | 56 | { |
57 | public: | 57 | public: |
58 | 58 | ||
59 | CScreenShotFactory( IrrlichtDevice *device, const c8 * templateName, ISceneNode* node ) | 59 | CScreenShotFactory( IrrlichtDevice *device, const c8 * templateName, ISceneNode* node ) |
60 | : Device(device), Number(0), FilenameTemplate(templateName), Node(node) | 60 | : Device(device), Number(0), FilenameTemplate(templateName), Node(node) |
61 | { | 61 | { |
62 | FilenameTemplate.replace ( '/', '_' ); | 62 | FilenameTemplate.replace ( '/', '_' ); |
63 | FilenameTemplate.replace ( '\\', '_' ); | 63 | FilenameTemplate.replace ( '\\', '_' ); |
64 | } | 64 | } |
65 | 65 | ||
66 | bool OnEvent(const SEvent& event) | 66 | bool OnEvent(const SEvent& event) |
67 | { | 67 | { |
68 | // check if user presses the key F9 | 68 | // check if user presses the key F9 |
69 | if ((event.EventType == EET_KEY_INPUT_EVENT) && | 69 | if ((event.EventType == EET_KEY_INPUT_EVENT) && |
70 | event.KeyInput.PressedDown) | 70 | event.KeyInput.PressedDown) |
71 | { | 71 | { |
72 | if (event.KeyInput.Key == KEY_F9) | 72 | if (event.KeyInput.Key == KEY_F9) |
73 | { | 73 | { |
74 | video::IImage* image = Device->getVideoDriver()->createScreenShot(); | 74 | video::IImage* image = Device->getVideoDriver()->createScreenShot(); |
75 | if (image) | 75 | if (image) |
76 | { | 76 | { |
77 | c8 buf[256]; | 77 | c8 buf[256]; |
78 | snprintf(buf, 256, "%s_shot%04d.jpg", | 78 | snprintf(buf, 256, "%s_shot%04d.jpg", |
79 | FilenameTemplate.c_str(), | 79 | FilenameTemplate.c_str(), |
80 | ++Number); | 80 | ++Number); |
81 | Device->getVideoDriver()->writeImageToFile(image, buf, 85 ); | 81 | Device->getVideoDriver()->writeImageToFile(image, buf, 85 ); |
82 | image->drop(); | 82 | image->drop(); |
83 | } | 83 | } |
84 | } | 84 | } |
85 | else | 85 | else |
86 | if (event.KeyInput.Key == KEY_F8) | 86 | if (event.KeyInput.Key == KEY_F8) |
87 | { | 87 | { |
88 | if (Node->isDebugDataVisible()) | 88 | if (Node->isDebugDataVisible()) |
89 | Node->setDebugDataVisible(scene::EDS_OFF); | 89 | Node->setDebugDataVisible(scene::EDS_OFF); |
90 | else | 90 | else |
91 | Node->setDebugDataVisible(scene::EDS_BBOX_ALL); | 91 | Node->setDebugDataVisible(scene::EDS_BBOX_ALL); |
92 | } | 92 | } |
93 | } | 93 | } |
94 | return false; | 94 | return false; |
95 | } | 95 | } |
96 | 96 | ||
97 | private: | 97 | private: |
98 | IrrlichtDevice *Device; | 98 | IrrlichtDevice *Device; |
99 | u32 Number; | 99 | u32 Number; |
100 | core::stringc FilenameTemplate; | 100 | core::stringc FilenameTemplate; |
101 | ISceneNode* Node; | 101 | ISceneNode* Node; |
102 | }; | 102 | }; |
103 | 103 | ||
104 | 104 | ||
105 | /* | 105 | /* |
106 | Ok, lets start. | 106 | Ok, lets start. |
107 | */ | 107 | */ |
108 | 108 | ||
109 | int IRRCALLCONV main(int argc, char* argv[]) | 109 | int IRRCALLCONV main(int argc, char* argv[]) |
110 | { | 110 | { |
111 | /* | 111 | /* |
112 | Like in the HelloWorld example, we create an IrrlichtDevice with | 112 | Like in the HelloWorld example, we create an IrrlichtDevice with |
113 | createDevice(). The difference now is that we ask the user to select | 113 | createDevice(). The difference now is that we ask the user to select |
114 | which hardware accelerated driver to use. The Software device would be | 114 | which hardware accelerated driver to use. The Software device would be |
115 | too slow to draw a huge Quake 3 map, but just for the fun of it, we make | 115 | too slow to draw a huge Quake 3 map, but just for the fun of it, we make |
116 | this decision possible too. | 116 | this decision possible too. |
117 | */ | 117 | */ |
118 | 118 | ||
119 | // ask user for driver | 119 | // ask user for driver |
120 | video::E_DRIVER_TYPE driverType=driverChoiceConsole(); | 120 | video::E_DRIVER_TYPE driverType=driverChoiceConsole(); |
121 | if (driverType==video::EDT_COUNT) | 121 | if (driverType==video::EDT_COUNT) |
122 | return 1; | 122 | return 1; |
123 | 123 | ||
124 | // create device and exit if creation failed | 124 | // create device and exit if creation failed |
125 | const core::dimension2du videoDim(800,600); | 125 | const core::dimension2du videoDim(800,600); |
126 | 126 | ||
127 | IrrlichtDevice *device = createDevice(driverType, videoDim, 32, false ); | 127 | IrrlichtDevice *device = createDevice(driverType, videoDim, 32, false ); |
128 | 128 | ||
129 | if (device == 0) | 129 | if (device == 0) |
130 | return 1; // could not create selected driver. | 130 | return 1; // could not create selected driver. |
131 | 131 | ||
132 | const char* mapname=0; | 132 | const char* mapname=0; |
133 | if (argc>2) | 133 | if (argc>2) |
134 | mapname = argv[2]; | 134 | mapname = argv[2]; |
135 | else | 135 | else |
136 | mapname = QUAKE3_MAP_NAME; | 136 | mapname = QUAKE3_MAP_NAME; |
137 | 137 | ||
138 | /* | 138 | /* |
139 | Get a pointer to the video driver and the SceneManager so that | 139 | Get a pointer to the video driver and the SceneManager so that |
140 | we do not always have to write device->getVideoDriver() and | 140 | we do not always have to write device->getVideoDriver() and |
141 | device->getSceneManager(). | 141 | device->getSceneManager(). |
142 | */ | 142 | */ |
143 | video::IVideoDriver* driver = device->getVideoDriver(); | 143 | video::IVideoDriver* driver = device->getVideoDriver(); |
144 | scene::ISceneManager* smgr = device->getSceneManager(); | 144 | scene::ISceneManager* smgr = device->getSceneManager(); |
145 | gui::IGUIEnvironment* gui = device->getGUIEnvironment(); | 145 | gui::IGUIEnvironment* gui = device->getGUIEnvironment(); |
146 | 146 | ||
147 | //! add our private media directory to the file system | 147 | //! add our private media directory to the file system |
148 | device->getFileSystem()->addFileArchive("../../media/"); | 148 | device->getFileSystem()->addFileArchive("../../media/"); |
149 | 149 | ||
150 | /* | 150 | /* |
151 | To display the Quake 3 map, we first need to load it. Quake 3 maps | 151 | To display the Quake 3 map, we first need to load it. Quake 3 maps |
152 | are packed into .pk3 files, which are nothing other than .zip files. | 152 | are packed into .pk3 files, which are nothing other than .zip files. |
153 | So we add the .pk3 file to our FileSystem. After it was added, | 153 | So we add the .pk3 file to our FileSystem. After it was added, |
154 | we are able to read from the files in that archive as they would | 154 | we are able to read from the files in that archive as they would |
155 | directly be stored on disk. | 155 | directly be stored on disk. |
156 | */ | 156 | */ |
157 | if (argc>2) | 157 | if (argc>2) |
158 | device->getFileSystem()->QUAKE3_STORAGE_FORMAT(argv[1]); | 158 | device->getFileSystem()->QUAKE3_STORAGE_FORMAT(argv[1]); |
159 | else | 159 | else |
160 | device->getFileSystem()->QUAKE3_STORAGE_FORMAT(QUAKE3_STORAGE_1); | 160 | device->getFileSystem()->QUAKE3_STORAGE_FORMAT(QUAKE3_STORAGE_1); |
161 | #ifdef QUAKE3_STORAGE_2 | 161 | #ifdef QUAKE3_STORAGE_2 |
162 | device->getFileSystem()->QUAKE3_STORAGE_FORMAT(QUAKE3_STORAGE_2); | 162 | device->getFileSystem()->QUAKE3_STORAGE_FORMAT(QUAKE3_STORAGE_2); |
163 | #endif | 163 | #endif |
164 | 164 | ||
165 | // Quake3 Shader controls Z-Writing | 165 | // Quake3 Shader controls Z-Writing |
166 | smgr->getParameters()->setAttribute(scene::ALLOW_ZWRITE_ON_TRANSPARENT, true); | 166 | smgr->getParameters()->setAttribute(scene::ALLOW_ZWRITE_ON_TRANSPARENT, true); |
167 | 167 | ||
168 | /* | 168 | /* |
169 | Now we can load the mesh by calling getMesh(). We get a pointer returned | 169 | Now we can load the mesh by calling getMesh(). We get a pointer returned |
170 | to a IAnimatedMesh. As you know, Quake 3 maps are not really animated, | 170 | to a IAnimatedMesh. As you know, Quake 3 maps are not really animated, |
171 | they are only a huge chunk of static geometry with some materials | 171 | they are only a huge chunk of static geometry with some materials |
172 | attached. Hence the IAnimated mesh consists of only one frame, | 172 | attached. Hence the IAnimated mesh consists of only one frame, |
173 | so we get the "first frame" of the "animation", which is our quake level | 173 | so we get the "first frame" of the "animation", which is our quake level |
174 | and create an Octree scene node with it, using addOctreeSceneNode(). | 174 | and create an Octree scene node with it, using addOctreeSceneNode(). |
175 | The Octree optimizes the scene a little bit, trying to draw only geometry | 175 | The Octree optimizes the scene a little bit, trying to draw only geometry |
176 | which is currently visible. An alternative to the Octree would be a | 176 | which is currently visible. An alternative to the Octree would be a |
177 | AnimatedMeshSceneNode, which would draw always the complete geometry of | 177 | AnimatedMeshSceneNode, which would draw always the complete geometry of |
178 | the mesh, without optimization. Try it out: Write addAnimatedMeshSceneNode | 178 | the mesh, without optimization. Try it out: Write addAnimatedMeshSceneNode |
179 | instead of addOctreeSceneNode and compare the primitives drawn by the | 179 | instead of addOctreeSceneNode and compare the primitives drawn by the |
180 | video driver. (There is a getPrimitiveCountDrawed() method in the | 180 | video driver. (There is a getPrimitiveCountDrawed() method in the |
181 | IVideoDriver class). Note that this optimization with the Octree is only | 181 | IVideoDriver class). Note that this optimization with the Octree is only |
182 | useful when drawing huge meshes consisting of lots of geometry. | 182 | useful when drawing huge meshes consisting of lots of geometry. |
183 | */ | 183 | */ |
184 | scene::IQ3LevelMesh* const mesh = | 184 | scene::IQ3LevelMesh* const mesh = |
185 | (scene::IQ3LevelMesh*) smgr->getMesh(mapname); | 185 | (scene::IQ3LevelMesh*) smgr->getMesh(mapname); |
186 | 186 | ||
187 | /* | 187 | /* |
188 | add the geometry mesh to the Scene ( polygon & patches ) | 188 | add the geometry mesh to the Scene ( polygon & patches ) |
189 | The Geometry mesh is optimised for faster drawing | 189 | The Geometry mesh is optimised for faster drawing |
190 | */ | 190 | */ |
191 | scene::ISceneNode* node = 0; | 191 | scene::ISceneNode* node = 0; |
192 | if (mesh) | 192 | if (mesh) |
193 | { | 193 | { |
194 | scene::IMesh * const geometry = mesh->getMesh(quake3::E_Q3_MESH_GEOMETRY); | 194 | scene::IMesh * const geometry = mesh->getMesh(quake3::E_Q3_MESH_GEOMETRY); |
195 | node = smgr->addOctreeSceneNode(geometry, 0, -1, 4096); | 195 | node = smgr->addOctreeSceneNode(geometry, 0, -1, 4096); |
196 | } | 196 | } |
197 | 197 | ||
198 | // create an event receiver for making screenshots | 198 | // create an event receiver for making screenshots |
199 | CScreenShotFactory screenshotFactory(device, mapname, node); | 199 | CScreenShotFactory screenshotFactory(device, mapname, node); |
200 | device->setEventReceiver(&screenshotFactory); | 200 | device->setEventReceiver(&screenshotFactory); |
201 | 201 | ||
202 | /* | 202 | /* |
203 | now construct SceneNodes for each Shader | 203 | now construct SceneNodes for each Shader |
204 | The Objects are stored in the quake mesh scene::E_Q3_MESH_ITEMS | 204 | The Objects are stored in the quake mesh scene::E_Q3_MESH_ITEMS |
205 | and the Shader ID is stored in the MaterialParameters | 205 | and the Shader ID is stored in the MaterialParameters |
206 | mostly dark looking skulls and moving lava.. or green flashing tubes? | 206 | mostly dark looking skulls and moving lava.. or green flashing tubes? |
207 | */ | 207 | */ |
208 | if ( mesh ) | 208 | if ( mesh ) |
209 | { | 209 | { |
210 | // the additional mesh can be quite huge and is unoptimized | 210 | // the additional mesh can be quite huge and is unoptimized |
211 | const scene::IMesh * const additional_mesh = mesh->getMesh(quake3::E_Q3_MESH_ITEMS); | 211 | const scene::IMesh * const additional_mesh = mesh->getMesh(quake3::E_Q3_MESH_ITEMS); |
212 | 212 | ||
213 | #ifdef SHOW_SHADER_NAME | 213 | #ifdef SHOW_SHADER_NAME |
214 | gui::IGUIFont *font = device->getGUIEnvironment()->getFont("../../media/fontlucida.png"); | 214 | gui::IGUIFont *font = device->getGUIEnvironment()->getFont("../../media/fontlucida.png"); |
215 | u32 count = 0; | 215 | u32 count = 0; |
216 | #endif | 216 | #endif |
217 | 217 | ||
218 | for ( u32 i = 0; i!= additional_mesh->getMeshBufferCount(); ++i ) | 218 | for ( u32 i = 0; i!= additional_mesh->getMeshBufferCount(); ++i ) |
219 | { | 219 | { |
220 | const IMeshBuffer* meshBuffer = additional_mesh->getMeshBuffer(i); | 220 | const IMeshBuffer* meshBuffer = additional_mesh->getMeshBuffer(i); |
221 | const video::SMaterial& material = meshBuffer->getMaterial(); | 221 | const video::SMaterial& material = meshBuffer->getMaterial(); |
222 | 222 | ||
223 | // The ShaderIndex is stored in the material parameter | 223 | // The ShaderIndex is stored in the material parameter |
224 | const s32 shaderIndex = (s32) material.MaterialTypeParam2; | 224 | const s32 shaderIndex = (s32) material.MaterialTypeParam2; |
225 | 225 | ||
226 | // the meshbuffer can be rendered without additional support, or it has no shader | 226 | // the meshbuffer can be rendered without additional support, or it has no shader |
227 | const quake3::IShader *shader = mesh->getShader(shaderIndex); | 227 | const quake3::IShader *shader = mesh->getShader(shaderIndex); |
228 | if (0 == shader) | 228 | if (0 == shader) |
229 | { | 229 | { |
230 | continue; | 230 | continue; |
231 | } | 231 | } |
232 | 232 | ||
233 | // we can dump the shader to the console in its | 233 | // we can dump the shader to the console in its |
234 | // original but already parsed layout in a pretty | 234 | // original but already parsed layout in a pretty |
235 | // printers way.. commented out, because the console | 235 | // printers way.. commented out, because the console |
236 | // would be full... | 236 | // would be full... |
237 | // quake3::dumpShader ( Shader ); | 237 | // quake3::dumpShader ( Shader ); |
238 | 238 | ||
239 | node = smgr->addQuake3SceneNode(meshBuffer, shader); | 239 | node = smgr->addQuake3SceneNode(meshBuffer, shader); |
240 | 240 | ||
241 | #ifdef SHOW_SHADER_NAME | 241 | #ifdef SHOW_SHADER_NAME |
242 | count += 1; | 242 | count += 1; |
243 | core::stringw name( node->getName() ); | 243 | core::stringw name( node->getName() ); |
244 | node = smgr->addBillboardTextSceneNode( | 244 | node = smgr->addBillboardTextSceneNode( |
245 | font, name.c_str(), node, | 245 | font, name.c_str(), node, |
246 | core::dimension2d<f32>(80.0f, 8.0f), | 246 | core::dimension2d<f32>(80.0f, 8.0f), |
247 | core::vector3df(0, 10, 0)); | 247 | core::vector3df(0, 10, 0)); |
248 | #endif | 248 | #endif |
249 | } | 249 | } |
250 | } | 250 | } |
251 | 251 | ||
252 | /* | 252 | /* |
253 | Now we only need a Camera to look at the Quake 3 map. And we want to | 253 | Now we only need a Camera to look at the Quake 3 map. And we want to |
254 | create a user controlled camera. There are some different cameras | 254 | create a user controlled camera. There are some different cameras |
255 | available in the Irrlicht engine. For example the Maya Camera which can | 255 | available in the Irrlicht engine. For example the Maya Camera which can |
256 | be controlled comparable to the camera in Maya: Rotate with left mouse | 256 | be controlled comparable to the camera in Maya: Rotate with left mouse |
257 | button pressed, Zoom with both buttons pressed, translate with right | 257 | button pressed, Zoom with both buttons pressed, translate with right |
258 | mouse button pressed. This could be created with | 258 | mouse button pressed. This could be created with |
259 | addCameraSceneNodeMaya(). But for this example, we want to create a | 259 | addCameraSceneNodeMaya(). But for this example, we want to create a |
260 | camera which behaves like the ones in first person shooter games (FPS). | 260 | camera which behaves like the ones in first person shooter games (FPS). |
261 | */ | 261 | */ |
262 | 262 | ||
263 | scene::ICameraSceneNode* camera = smgr->addCameraSceneNodeFPS(); | 263 | scene::ICameraSceneNode* camera = smgr->addCameraSceneNodeFPS(); |
264 | 264 | ||
265 | /* | 265 | /* |
266 | so we need a good starting Position in the level. | 266 | so we need a good starting Position in the level. |
267 | we can ask the Quake3 Loader for all entities with class_name | 267 | we can ask the Quake3 Loader for all entities with class_name |
268 | "info_player_deathmatch" | 268 | "info_player_deathmatch" |
269 | we choose a random launch | 269 | we choose a random launch |
270 | */ | 270 | */ |
271 | if ( mesh ) | 271 | if ( mesh ) |
272 | { | 272 | { |
273 | quake3::tQ3EntityList &entityList = mesh->getEntityList(); | 273 | quake3::tQ3EntityList &entityList = mesh->getEntityList(); |
274 | 274 | ||
275 | quake3::IEntity search; | 275 | quake3::IEntity search; |
276 | search.name = "info_player_deathmatch"; | 276 | search.name = "info_player_deathmatch"; |
277 | 277 | ||
278 | s32 index = entityList.binary_search(search); | 278 | s32 index = entityList.binary_search(search); |
279 | if (index >= 0) | 279 | if (index >= 0) |
280 | { | 280 | { |
281 | s32 notEndList; | 281 | s32 notEndList; |
282 | do | 282 | do |
283 | { | 283 | { |
284 | const quake3::SVarGroup *group = entityList[index].getGroup(1); | 284 | const quake3::SVarGroup *group = entityList[index].getGroup(1); |
285 | 285 | ||
286 | u32 parsepos = 0; | 286 | u32 parsepos = 0; |
287 | const core::vector3df pos = | 287 | const core::vector3df pos = |
288 | quake3::getAsVector3df(group->get("origin"), parsepos); | 288 | quake3::getAsVector3df(group->get("origin"), parsepos); |
289 | 289 | ||
290 | parsepos = 0; | 290 | parsepos = 0; |
291 | const f32 angle = quake3::getAsFloat(group->get("angle"), parsepos); | 291 | const f32 angle = quake3::getAsFloat(group->get("angle"), parsepos); |
292 | 292 | ||
293 | core::vector3df target(0.f, 0.f, 1.f); | 293 | core::vector3df target(0.f, 0.f, 1.f); |
294 | target.rotateXZBy(angle); | 294 | target.rotateXZBy(angle); |
295 | 295 | ||
296 | camera->setPosition(pos); | 296 | camera->setPosition(pos); |
297 | camera->setTarget(pos + target); | 297 | camera->setTarget(pos + target); |
298 | 298 | ||
299 | ++index; | 299 | ++index; |
300 | /* | 300 | /* |
301 | notEndList = ( index < (s32) entityList.size () && | 301 | notEndList = ( index < (s32) entityList.size () && |
302 | entityList[index].name == search.name && | 302 | entityList[index].name == search.name && |
303 | (device->getTimer()->getRealTime() >> 3 ) & 1 | 303 | (device->getTimer()->getRealTime() >> 3 ) & 1 |
304 | ); | 304 | ); |
305 | */ | 305 | */ |
306 | notEndList = index == 2; | 306 | notEndList = index == 2; |
307 | } while ( notEndList ); | 307 | } while ( notEndList ); |
308 | } | 308 | } |
309 | } | 309 | } |
310 | 310 | ||
311 | /* | 311 | /* |
312 | The mouse cursor needs not to be visible, so we make it invisible. | 312 | The mouse cursor needs not to be visible, so we make it invisible. |
313 | */ | 313 | */ |
314 | 314 | ||
315 | device->getCursorControl()->setVisible(false); | 315 | device->getCursorControl()->setVisible(false); |
316 | 316 | ||
317 | // load the engine logo | 317 | // load the engine logo |
318 | gui->addImage(driver->getTexture("irrlichtlogo2.png"), | 318 | gui->addImage(driver->getTexture("irrlichtlogo2.png"), |
319 | core::position2d<s32>(10, 10)); | 319 | core::position2d<s32>(10, 10)); |
320 | 320 | ||
321 | // show the driver logo | 321 | // show the driver logo |
322 | const core::position2di pos(videoDim.Width - 128, videoDim.Height - 64); | 322 | const core::position2di pos(videoDim.Width - 128, videoDim.Height - 64); |
323 | 323 | ||
324 | switch ( driverType ) | 324 | switch ( driverType ) |
325 | { | 325 | { |
326 | case video::EDT_BURNINGSVIDEO: | 326 | case video::EDT_BURNINGSVIDEO: |
327 | gui->addImage(driver->getTexture("burninglogo.png"), pos); | 327 | gui->addImage(driver->getTexture("burninglogo.png"), pos); |
328 | break; | 328 | break; |
329 | case video::EDT_OPENGL: | 329 | case video::EDT_OPENGL: |
330 | gui->addImage(driver->getTexture("opengllogo.png"), pos); | 330 | gui->addImage(driver->getTexture("opengllogo.png"), pos); |
331 | break; | 331 | break; |
332 | case video::EDT_DIRECT3D8: | 332 | case video::EDT_DIRECT3D8: |
333 | case video::EDT_DIRECT3D9: | 333 | case video::EDT_DIRECT3D9: |
334 | gui->addImage(driver->getTexture("directxlogo.png"), pos); | 334 | gui->addImage(driver->getTexture("directxlogo.png"), pos); |
335 | break; | 335 | break; |
336 | } | 336 | } |
337 | 337 | ||
338 | /* | 338 | /* |
339 | We have done everything, so lets draw it. We also write the current | 339 | We have done everything, so lets draw it. We also write the current |
340 | frames per second and the drawn primitives to the caption of the | 340 | frames per second and the drawn primitives to the caption of the |
341 | window. The 'if (device->isWindowActive())' line is optional, but | 341 | window. The 'if (device->isWindowActive())' line is optional, but |
342 | prevents the engine render to set the position of the mouse cursor | 342 | prevents the engine render to set the position of the mouse cursor |
343 | after task switching when other program are active. | 343 | after task switching when other program are active. |
344 | */ | 344 | */ |
345 | int lastFPS = -1; | 345 | int lastFPS = -1; |
346 | 346 | ||
347 | while(device->run()) | 347 | while(device->run()) |
348 | if (device->isWindowActive()) | 348 | if (device->isWindowActive()) |
349 | { | 349 | { |
350 | driver->beginScene(true, true, video::SColor(255,20,20,40)); | 350 | driver->beginScene(true, true, video::SColor(255,20,20,40)); |
351 | smgr->drawAll(); | 351 | smgr->drawAll(); |
352 | gui->drawAll(); | 352 | gui->drawAll(); |
353 | driver->endScene(); | 353 | driver->endScene(); |
354 | 354 | ||
355 | int fps = driver->getFPS(); | 355 | int fps = driver->getFPS(); |
356 | //if (lastFPS != fps) | 356 | //if (lastFPS != fps) |
357 | { | 357 | { |
358 | io::IAttributes * const attr = smgr->getParameters(); | 358 | io::IAttributes * const attr = smgr->getParameters(); |
359 | core::stringw str = L"Q3 ["; | 359 | core::stringw str = L"Q3 ["; |
360 | str += driver->getName(); | 360 | str += driver->getName(); |
361 | str += "] FPS:"; | 361 | str += "] FPS:"; |
362 | str += fps; | 362 | str += fps; |
363 | str += " Cull:"; | 363 | str += " Cull:"; |
364 | str += attr->getAttributeAsInt("calls"); | 364 | str += attr->getAttributeAsInt("calls"); |
365 | str += "/"; | 365 | str += "/"; |
366 | str += attr->getAttributeAsInt("culled"); | 366 | str += attr->getAttributeAsInt("culled"); |
367 | str += " Draw: "; | 367 | str += " Draw: "; |
368 | str += attr->getAttributeAsInt("drawn_solid"); | 368 | str += attr->getAttributeAsInt("drawn_solid"); |
369 | str += "/"; | 369 | str += "/"; |
370 | str += attr->getAttributeAsInt("drawn_transparent"); | 370 | str += attr->getAttributeAsInt("drawn_transparent"); |
371 | str += "/"; | 371 | str += "/"; |
372 | str += attr->getAttributeAsInt("drawn_transparent_effect"); | 372 | str += attr->getAttributeAsInt("drawn_transparent_effect"); |
373 | 373 | ||
374 | device->setWindowCaption(str.c_str()); | 374 | device->setWindowCaption(str.c_str()); |
375 | lastFPS = fps; | 375 | lastFPS = fps; |
376 | } | 376 | } |
377 | } | 377 | } |
378 | 378 | ||
379 | /* | 379 | /* |
380 | In the end, delete the Irrlicht device. | 380 | In the end, delete the Irrlicht device. |
381 | */ | 381 | */ |
382 | device->drop(); | 382 | device->drop(); |
383 | 383 | ||
384 | return 0; | 384 | return 0; |
385 | } | 385 | } |
386 | 386 | ||
387 | /* | 387 | /* |
388 | **/ | 388 | **/ |