diff options
Diffstat (limited to 'libraries/irrlicht-1.8/examples/20.ManagedLights')
8 files changed, 1571 insertions, 1571 deletions
diff --git a/libraries/irrlicht-1.8/examples/20.ManagedLights/Makefile b/libraries/irrlicht-1.8/examples/20.ManagedLights/Makefile index 1a40866..ad97e1c 100644 --- a/libraries/irrlicht-1.8/examples/20.ManagedLights/Makefile +++ b/libraries/irrlicht-1.8/examples/20.ManagedLights/Makefile | |||
@@ -1,39 +1,39 @@ | |||
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 = 20.ManagedLights | 4 | Target = 20.ManagedLights |
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: CPPFLAGS += -D__GNUWIN32__ -D_WIN32 -DWIN32 -D_WINDOWS -D_MBCS -D_USRDLL | 23 | all_win32: CPPFLAGS += -D__GNUWIN32__ -D_WIN32 -DWIN32 -D_WINDOWS -D_MBCS -D_USRDLL |
24 | all_win32 clean_win32: SYSTEM=Win32-gcc | 24 | all_win32 clean_win32: SYSTEM=Win32-gcc |
25 | all_win32 clean_win32: SUF=.exe | 25 | all_win32 clean_win32: SUF=.exe |
26 | # name of the binary - only valid for targets which set SYSTEM | 26 | # name of the binary - only valid for targets which set SYSTEM |
27 | DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF) | 27 | DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF) |
28 | 28 | ||
29 | all_linux all_win32: | 29 | all_linux all_win32: |
30 | $(warning Building...) | 30 | $(warning Building...) |
31 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(Sources) -o $(DESTPATH) $(LDFLAGS) | 31 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(Sources) -o $(DESTPATH) $(LDFLAGS) |
32 | 32 | ||
33 | clean: clean_linux clean_win32 | 33 | clean: clean_linux clean_win32 |
34 | $(warning Cleaning...) | 34 | $(warning Cleaning...) |
35 | 35 | ||
36 | clean_linux clean_win32: | 36 | clean_linux clean_win32: |
37 | @$(RM) $(DESTPATH) | 37 | @$(RM) $(DESTPATH) |
38 | 38 | ||
39 | .PHONY: all all_win32 clean clean_linux clean_win32 | 39 | .PHONY: all all_win32 clean clean_linux clean_win32 |
diff --git a/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights.dev b/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights.dev index 9804fee..60aa19f 100644 --- a/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights.dev +++ b/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights.dev | |||
@@ -1,59 +1,59 @@ | |||
1 | [Project] | 1 | [Project] |
2 | FileName=example.dev | 2 | FileName=example.dev |
3 | Name=Irrlicht Example 20 ManagedLights | 3 | Name=Irrlicht Example 20 ManagedLights |
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=20.ManagedLights.exe | 21 | OverrideOutputName=20.ManagedLights.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/20.ManagedLights/ManagedLights.vcproj b/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights.vcproj index 850a8d2..e5d1b98 100644 --- a/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights.vcproj +++ b/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights.vcproj | |||
@@ -1,163 +1,163 @@ | |||
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="20.ManagedLights" | 5 | Name="20.ManagedLights" |
6 | ProjectGUID="{16007FE2-142B-47F8-93E1-519BA3F39E71}" | 6 | ProjectGUID="{16007FE2-142B-47F8-93E1-519BA3F39E71}" |
7 | SccProjectName="" | 7 | SccProjectName="" |
8 | SccLocalPath=""> | 8 | SccLocalPath=""> |
9 | <Platforms> | 9 | <Platforms> |
10 | <Platform | 10 | <Platform |
11 | Name="Win32"/> | 11 | Name="Win32"/> |
12 | </Platforms> | 12 | </Platforms> |
13 | <Configurations> | 13 | <Configurations> |
14 | <Configuration | 14 | <Configuration |
15 | Name="Debug|Win32" | 15 | Name="Debug|Win32" |
16 | OutputDirectory=".\Debug" | 16 | OutputDirectory=".\Debug" |
17 | IntermediateDirectory=".\Debug" | 17 | IntermediateDirectory=".\Debug" |
18 | ConfigurationType="1" | 18 | ConfigurationType="1" |
19 | UseOfMFC="0" | 19 | UseOfMFC="0" |
20 | ATLMinimizesCRunTimeLibraryUsage="FALSE" | 20 | ATLMinimizesCRunTimeLibraryUsage="FALSE" |
21 | CharacterSet="2"> | 21 | CharacterSet="2"> |
22 | <Tool | 22 | <Tool |
23 | Name="VCCLCompilerTool" | 23 | Name="VCCLCompilerTool" |
24 | Optimization="0" | 24 | Optimization="0" |
25 | AdditionalIncludeDirectories="..\..\include" | 25 | AdditionalIncludeDirectories="..\..\include" |
26 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" | 26 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" |
27 | BasicRuntimeChecks="3" | 27 | BasicRuntimeChecks="3" |
28 | RuntimeLibrary="5" | 28 | RuntimeLibrary="5" |
29 | UsePrecompiledHeader="2" | 29 | UsePrecompiledHeader="2" |
30 | PrecompiledHeaderFile=".\Debug/ManagedLights.pch" | 30 | PrecompiledHeaderFile=".\Debug/ManagedLights.pch" |
31 | AssemblerListingLocation=".\Debug/" | 31 | AssemblerListingLocation=".\Debug/" |
32 | ObjectFile=".\Debug/" | 32 | ObjectFile=".\Debug/" |
33 | ProgramDataBaseFileName=".\Debug/" | 33 | ProgramDataBaseFileName=".\Debug/" |
34 | WarningLevel="3" | 34 | WarningLevel="3" |
35 | SuppressStartupBanner="TRUE" | 35 | SuppressStartupBanner="TRUE" |
36 | DebugInformationFormat="4" | 36 | DebugInformationFormat="4" |
37 | CompileAs="0"/> | 37 | CompileAs="0"/> |
38 | <Tool | 38 | <Tool |
39 | Name="VCCustomBuildTool"/> | 39 | Name="VCCustomBuildTool"/> |
40 | <Tool | 40 | <Tool |
41 | Name="VCLinkerTool" | 41 | Name="VCLinkerTool" |
42 | OutputFile="..\..\bin\Win32-VisualStudio\20.ManagedLights.exe" | 42 | OutputFile="..\..\bin\Win32-VisualStudio\20.ManagedLights.exe" |
43 | LinkIncremental="0" | 43 | LinkIncremental="0" |
44 | SuppressStartupBanner="TRUE" | 44 | SuppressStartupBanner="TRUE" |
45 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 45 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
46 | GenerateDebugInformation="TRUE" | 46 | GenerateDebugInformation="TRUE" |
47 | ProgramDatabaseFile=".\Debug/ManagedLights.pdb" | 47 | ProgramDatabaseFile=".\Debug/ManagedLights.pdb" |
48 | SubSystem="1" | 48 | SubSystem="1" |
49 | TargetMachine="1"/> | 49 | TargetMachine="1"/> |
50 | <Tool | 50 | <Tool |
51 | Name="VCMIDLTool" | 51 | Name="VCMIDLTool" |
52 | TypeLibraryName=".\Debug/ManagedLights.tlb" | 52 | TypeLibraryName=".\Debug/ManagedLights.tlb" |
53 | HeaderFileName=""/> | 53 | HeaderFileName=""/> |
54 | <Tool | 54 | <Tool |
55 | Name="VCPostBuildEventTool"/> | 55 | Name="VCPostBuildEventTool"/> |
56 | <Tool | 56 | <Tool |
57 | Name="VCPreBuildEventTool"/> | 57 | Name="VCPreBuildEventTool"/> |
58 | <Tool | 58 | <Tool |
59 | Name="VCPreLinkEventTool"/> | 59 | Name="VCPreLinkEventTool"/> |
60 | <Tool | 60 | <Tool |
61 | Name="VCResourceCompilerTool" | 61 | Name="VCResourceCompilerTool" |
62 | PreprocessorDefinitions="_DEBUG" | 62 | PreprocessorDefinitions="_DEBUG" |
63 | Culture="3079"/> | 63 | Culture="3079"/> |
64 | <Tool | 64 | <Tool |
65 | Name="VCWebServiceProxyGeneratorTool"/> | 65 | Name="VCWebServiceProxyGeneratorTool"/> |
66 | <Tool | 66 | <Tool |
67 | Name="VCXMLDataGeneratorTool"/> | 67 | Name="VCXMLDataGeneratorTool"/> |
68 | <Tool | 68 | <Tool |
69 | Name="VCWebDeploymentTool"/> | 69 | Name="VCWebDeploymentTool"/> |
70 | <Tool | 70 | <Tool |
71 | Name="VCManagedWrapperGeneratorTool"/> | 71 | Name="VCManagedWrapperGeneratorTool"/> |
72 | <Tool | 72 | <Tool |
73 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> | 73 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> |
74 | </Configuration> | 74 | </Configuration> |
75 | <Configuration | 75 | <Configuration |
76 | Name="Release|Win32" | 76 | Name="Release|Win32" |
77 | OutputDirectory=".\Release" | 77 | OutputDirectory=".\Release" |
78 | IntermediateDirectory=".\Release" | 78 | IntermediateDirectory=".\Release" |
79 | ConfigurationType="1" | 79 | ConfigurationType="1" |
80 | UseOfMFC="0" | 80 | UseOfMFC="0" |
81 | ATLMinimizesCRunTimeLibraryUsage="FALSE" | 81 | ATLMinimizesCRunTimeLibraryUsage="FALSE" |
82 | CharacterSet="2"> | 82 | CharacterSet="2"> |
83 | <Tool | 83 | <Tool |
84 | Name="VCCLCompilerTool" | 84 | Name="VCCLCompilerTool" |
85 | Optimization="2" | 85 | Optimization="2" |
86 | InlineFunctionExpansion="1" | 86 | InlineFunctionExpansion="1" |
87 | AdditionalIncludeDirectories="..\..\include" | 87 | AdditionalIncludeDirectories="..\..\include" |
88 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" | 88 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" |
89 | StringPooling="TRUE" | 89 | StringPooling="TRUE" |
90 | RuntimeLibrary="4" | 90 | RuntimeLibrary="4" |
91 | EnableFunctionLevelLinking="TRUE" | 91 | EnableFunctionLevelLinking="TRUE" |
92 | UsePrecompiledHeader="2" | 92 | UsePrecompiledHeader="2" |
93 | PrecompiledHeaderFile=".\Release/ManagedLights.pch" | 93 | PrecompiledHeaderFile=".\Release/ManagedLights.pch" |
94 | AssemblerListingLocation=".\Release/" | 94 | AssemblerListingLocation=".\Release/" |
95 | ObjectFile=".\Release/" | 95 | ObjectFile=".\Release/" |
96 | ProgramDataBaseFileName=".\Release/" | 96 | ProgramDataBaseFileName=".\Release/" |
97 | WarningLevel="3" | 97 | WarningLevel="3" |
98 | SuppressStartupBanner="TRUE" | 98 | SuppressStartupBanner="TRUE" |
99 | CompileAs="0"/> | 99 | CompileAs="0"/> |
100 | <Tool | 100 | <Tool |
101 | Name="VCCustomBuildTool"/> | 101 | Name="VCCustomBuildTool"/> |
102 | <Tool | 102 | <Tool |
103 | Name="VCLinkerTool" | 103 | Name="VCLinkerTool" |
104 | OutputFile="..\..\bin\Win32-VisualStudio\20.ManagedLights.exe" | 104 | OutputFile="..\..\bin\Win32-VisualStudio\20.ManagedLights.exe" |
105 | LinkIncremental="0" | 105 | LinkIncremental="0" |
106 | SuppressStartupBanner="TRUE" | 106 | SuppressStartupBanner="TRUE" |
107 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 107 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
108 | ProgramDatabaseFile=".\Release/ManagedLights.pdb" | 108 | ProgramDatabaseFile=".\Release/ManagedLights.pdb" |
109 | SubSystem="1" | 109 | SubSystem="1" |
110 | TargetMachine="1"/> | 110 | TargetMachine="1"/> |
111 | <Tool | 111 | <Tool |
112 | Name="VCMIDLTool" | 112 | Name="VCMIDLTool" |
113 | TypeLibraryName=".\Release/ManagedLights.tlb" | 113 | TypeLibraryName=".\Release/ManagedLights.tlb" |
114 | HeaderFileName=""/> | 114 | HeaderFileName=""/> |
115 | <Tool | 115 | <Tool |
116 | Name="VCPostBuildEventTool"/> | 116 | Name="VCPostBuildEventTool"/> |
117 | <Tool | 117 | <Tool |
118 | Name="VCPreBuildEventTool"/> | 118 | Name="VCPreBuildEventTool"/> |
119 | <Tool | 119 | <Tool |
120 | Name="VCPreLinkEventTool"/> | 120 | Name="VCPreLinkEventTool"/> |
121 | <Tool | 121 | <Tool |
122 | Name="VCResourceCompilerTool" | 122 | Name="VCResourceCompilerTool" |
123 | PreprocessorDefinitions="NDEBUG" | 123 | PreprocessorDefinitions="NDEBUG" |
124 | Culture="3079"/> | 124 | Culture="3079"/> |
125 | <Tool | 125 | <Tool |
126 | Name="VCWebServiceProxyGeneratorTool"/> | 126 | Name="VCWebServiceProxyGeneratorTool"/> |
127 | <Tool | 127 | <Tool |
128 | Name="VCXMLDataGeneratorTool"/> | 128 | Name="VCXMLDataGeneratorTool"/> |
129 | <Tool | 129 | <Tool |
130 | Name="VCWebDeploymentTool"/> | 130 | Name="VCWebDeploymentTool"/> |
131 | <Tool | 131 | <Tool |
132 | Name="VCManagedWrapperGeneratorTool"/> | 132 | Name="VCManagedWrapperGeneratorTool"/> |
133 | <Tool | 133 | <Tool |
134 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> | 134 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> |
135 | </Configuration> | 135 | </Configuration> |
136 | </Configurations> | 136 | </Configurations> |
137 | <References> | 137 | <References> |
138 | </References> | 138 | </References> |
139 | <Files> | 139 | <Files> |
140 | <File | 140 | <File |
141 | RelativePath="main.cpp"> | 141 | RelativePath="main.cpp"> |
142 | <FileConfiguration | 142 | <FileConfiguration |
143 | Name="Debug|Win32"> | 143 | Name="Debug|Win32"> |
144 | <Tool | 144 | <Tool |
145 | Name="VCCLCompilerTool" | 145 | Name="VCCLCompilerTool" |
146 | Optimization="0" | 146 | Optimization="0" |
147 | AdditionalIncludeDirectories="" | 147 | AdditionalIncludeDirectories="" |
148 | PreprocessorDefinitions="" | 148 | PreprocessorDefinitions="" |
149 | BasicRuntimeChecks="3"/> | 149 | BasicRuntimeChecks="3"/> |
150 | </FileConfiguration> | 150 | </FileConfiguration> |
151 | <FileConfiguration | 151 | <FileConfiguration |
152 | Name="Release|Win32"> | 152 | Name="Release|Win32"> |
153 | <Tool | 153 | <Tool |
154 | Name="VCCLCompilerTool" | 154 | Name="VCCLCompilerTool" |
155 | Optimization="2" | 155 | Optimization="2" |
156 | AdditionalIncludeDirectories="" | 156 | AdditionalIncludeDirectories="" |
157 | PreprocessorDefinitions=""/> | 157 | PreprocessorDefinitions=""/> |
158 | </FileConfiguration> | 158 | </FileConfiguration> |
159 | </File> | 159 | </File> |
160 | </Files> | 160 | </Files> |
161 | <Globals> | 161 | <Globals> |
162 | </Globals> | 162 | </Globals> |
163 | </VisualStudioProject> | 163 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc10.vcxproj b/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc10.vcxproj index 0144522..23a1b5c 100644 --- a/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc10.vcxproj +++ b/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc10.vcxproj | |||
@@ -1,230 +1,230 @@ | |||
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>20.ManagedLights</ProjectName> | 22 | <ProjectName>20.ManagedLights</ProjectName> |
23 | <ProjectGuid>{16007FE2-142B-47F8-93E1-519BA3F39E71}</ProjectGuid> | 23 | <ProjectGuid>{16007FE2-142B-47F8-93E1-519BA3F39E71}</ProjectGuid> |
24 | <RootNamespace>ManagedLights</RootNamespace> | 24 | <RootNamespace>ManagedLights</RootNamespace> |
25 | </PropertyGroup> | 25 | </PropertyGroup> |
26 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 26 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
27 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | 27 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
28 | <ConfigurationType>Application</ConfigurationType> | 28 | <ConfigurationType>Application</ConfigurationType> |
29 | <CharacterSet>MultiByte</CharacterSet> | 29 | <CharacterSet>MultiByte</CharacterSet> |
30 | </PropertyGroup> | 30 | </PropertyGroup> |
31 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | 31 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
32 | <ConfigurationType>Application</ConfigurationType> | 32 | <ConfigurationType>Application</ConfigurationType> |
33 | <CharacterSet>MultiByte</CharacterSet> | 33 | <CharacterSet>MultiByte</CharacterSet> |
34 | </PropertyGroup> | 34 | </PropertyGroup> |
35 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | 35 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
36 | <ConfigurationType>Application</ConfigurationType> | 36 | <ConfigurationType>Application</ConfigurationType> |
37 | <CharacterSet>MultiByte</CharacterSet> | 37 | <CharacterSet>MultiByte</CharacterSet> |
38 | </PropertyGroup> | 38 | </PropertyGroup> |
39 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | 39 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
40 | <ConfigurationType>Application</ConfigurationType> | 40 | <ConfigurationType>Application</ConfigurationType> |
41 | <CharacterSet>MultiByte</CharacterSet> | 41 | <CharacterSet>MultiByte</CharacterSet> |
42 | </PropertyGroup> | 42 | </PropertyGroup> |
43 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 43 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
44 | <ImportGroup Label="ExtensionSettings"> | 44 | <ImportGroup Label="ExtensionSettings"> |
45 | </ImportGroup> | 45 | </ImportGroup> |
46 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | 46 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> |
47 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 47 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
48 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 48 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
49 | </ImportGroup> | 49 | </ImportGroup> |
50 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> | 50 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> |
51 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 51 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
52 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 52 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
53 | </ImportGroup> | 53 | </ImportGroup> |
54 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | 54 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> |
55 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 55 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
56 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 56 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
57 | </ImportGroup> | 57 | </ImportGroup> |
58 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> | 58 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> |
59 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 59 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
60 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 60 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
61 | </ImportGroup> | 61 | </ImportGroup> |
62 | <PropertyGroup Label="UserMacros" /> | 62 | <PropertyGroup Label="UserMacros" /> |
63 | <PropertyGroup> | 63 | <PropertyGroup> |
64 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | 64 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
65 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 65 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
66 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 66 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
67 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 67 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
68 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 68 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
69 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 69 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
70 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 70 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
71 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 71 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
72 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 72 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
73 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 73 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
74 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 74 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
75 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 75 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
76 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 76 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
77 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 77 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
78 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 78 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
79 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 79 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
80 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 80 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
81 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 81 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
82 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 82 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
83 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 83 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
84 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 84 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
85 | </PropertyGroup> | 85 | </PropertyGroup> |
86 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | 86 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
87 | <Midl> | 87 | <Midl> |
88 | <TypeLibraryName>.\Debug/ManagedLights.tlb</TypeLibraryName> | 88 | <TypeLibraryName>.\Debug/ManagedLights.tlb</TypeLibraryName> |
89 | <HeaderFileName> | 89 | <HeaderFileName> |
90 | </HeaderFileName> | 90 | </HeaderFileName> |
91 | </Midl> | 91 | </Midl> |
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;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 95 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
96 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 96 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
97 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 97 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
98 | <PrecompiledHeader> | 98 | <PrecompiledHeader> |
99 | </PrecompiledHeader> | 99 | </PrecompiledHeader> |
100 | <WarningLevel>Level3</WarningLevel> | 100 | <WarningLevel>Level3</WarningLevel> |
101 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | 101 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
102 | </ClCompile> | 102 | </ClCompile> |
103 | <ResourceCompile> | 103 | <ResourceCompile> |
104 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 104 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
105 | <Culture>0x0c07</Culture> | 105 | <Culture>0x0c07</Culture> |
106 | </ResourceCompile> | 106 | </ResourceCompile> |
107 | <Link> | 107 | <Link> |
108 | <AdditionalDependencies>..\..\Lib\Win32-visualstudio\Irrlicht.lib;%(AdditionalDependencies)</AdditionalDependencies> | 108 | <AdditionalDependencies>..\..\Lib\Win32-visualstudio\Irrlicht.lib;%(AdditionalDependencies)</AdditionalDependencies> |
109 | <OutputFile>..\..\bin\Win32-VisualStudio\20.ManagedLights.exe</OutputFile> | 109 | <OutputFile>..\..\bin\Win32-VisualStudio\20.ManagedLights.exe</OutputFile> |
110 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 110 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
111 | <GenerateDebugInformation>true</GenerateDebugInformation> | 111 | <GenerateDebugInformation>true</GenerateDebugInformation> |
112 | <SubSystem>Console</SubSystem> | 112 | <SubSystem>Console</SubSystem> |
113 | <DataExecutionPrevention> | 113 | <DataExecutionPrevention> |
114 | </DataExecutionPrevention> | 114 | </DataExecutionPrevention> |
115 | </Link> | 115 | </Link> |
116 | </ItemDefinitionGroup> | 116 | </ItemDefinitionGroup> |
117 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | 117 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
118 | <Midl> | 118 | <Midl> |
119 | <TypeLibraryName>.\Debug/ManagedLights.tlb</TypeLibraryName> | 119 | <TypeLibraryName>.\Debug/ManagedLights.tlb</TypeLibraryName> |
120 | <HeaderFileName> | 120 | <HeaderFileName> |
121 | </HeaderFileName> | 121 | </HeaderFileName> |
122 | </Midl> | 122 | </Midl> |
123 | <ClCompile> | 123 | <ClCompile> |
124 | <Optimization>Disabled</Optimization> | 124 | <Optimization>Disabled</Optimization> |
125 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 125 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
126 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 126 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
127 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 127 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
128 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 128 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
129 | <PrecompiledHeader> | 129 | <PrecompiledHeader> |
130 | </PrecompiledHeader> | 130 | </PrecompiledHeader> |
131 | <WarningLevel>Level3</WarningLevel> | 131 | <WarningLevel>Level3</WarningLevel> |
132 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | 132 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
133 | </ClCompile> | 133 | </ClCompile> |
134 | <ResourceCompile> | 134 | <ResourceCompile> |
135 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 135 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
136 | <Culture>0x0c07</Culture> | 136 | <Culture>0x0c07</Culture> |
137 | </ResourceCompile> | 137 | </ResourceCompile> |
138 | <Link> | 138 | <Link> |
139 | <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | 139 | <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
140 | <OutputFile>..\..\bin\Win64-VisualStudio\20.ManagedLights.exe</OutputFile> | 140 | <OutputFile>..\..\bin\Win64-VisualStudio\20.ManagedLights.exe</OutputFile> |
141 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 141 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
142 | <GenerateDebugInformation>true</GenerateDebugInformation> | 142 | <GenerateDebugInformation>true</GenerateDebugInformation> |
143 | <SubSystem>Console</SubSystem> | 143 | <SubSystem>Console</SubSystem> |
144 | <DataExecutionPrevention> | 144 | <DataExecutionPrevention> |
145 | </DataExecutionPrevention> | 145 | </DataExecutionPrevention> |
146 | </Link> | 146 | </Link> |
147 | </ItemDefinitionGroup> | 147 | </ItemDefinitionGroup> |
148 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | 148 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
149 | <Midl> | 149 | <Midl> |
150 | <TypeLibraryName>.\Release/ManagedLights.tlb</TypeLibraryName> | 150 | <TypeLibraryName>.\Release/ManagedLights.tlb</TypeLibraryName> |
151 | <HeaderFileName> | 151 | <HeaderFileName> |
152 | </HeaderFileName> | 152 | </HeaderFileName> |
153 | </Midl> | 153 | </Midl> |
154 | <ClCompile> | 154 | <ClCompile> |
155 | <Optimization>MaxSpeed</Optimization> | 155 | <Optimization>MaxSpeed</Optimization> |
156 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | 156 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> |
157 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 157 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
158 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 158 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
159 | <StringPooling>true</StringPooling> | 159 | <StringPooling>true</StringPooling> |
160 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 160 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
161 | <FunctionLevelLinking>true</FunctionLevelLinking> | 161 | <FunctionLevelLinking>true</FunctionLevelLinking> |
162 | <PrecompiledHeader> | 162 | <PrecompiledHeader> |
163 | </PrecompiledHeader> | 163 | </PrecompiledHeader> |
164 | <WarningLevel>Level3</WarningLevel> | 164 | <WarningLevel>Level3</WarningLevel> |
165 | </ClCompile> | 165 | </ClCompile> |
166 | <ResourceCompile> | 166 | <ResourceCompile> |
167 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 167 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
168 | <Culture>0x0c07</Culture> | 168 | <Culture>0x0c07</Culture> |
169 | </ResourceCompile> | 169 | </ResourceCompile> |
170 | <Link> | 170 | <Link> |
171 | <OutputFile>..\..\bin\Win32-VisualStudio\20.ManagedLights.exe</OutputFile> | 171 | <OutputFile>..\..\bin\Win32-VisualStudio\20.ManagedLights.exe</OutputFile> |
172 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 172 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
173 | <SubSystem>Console</SubSystem> | 173 | <SubSystem>Console</SubSystem> |
174 | <DataExecutionPrevention> | 174 | <DataExecutionPrevention> |
175 | </DataExecutionPrevention> | 175 | </DataExecutionPrevention> |
176 | </Link> | 176 | </Link> |
177 | </ItemDefinitionGroup> | 177 | </ItemDefinitionGroup> |
178 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | 178 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
179 | <Midl> | 179 | <Midl> |
180 | <TypeLibraryName>.\Release/ManagedLights.tlb</TypeLibraryName> | 180 | <TypeLibraryName>.\Release/ManagedLights.tlb</TypeLibraryName> |
181 | <HeaderFileName> | 181 | <HeaderFileName> |
182 | </HeaderFileName> | 182 | </HeaderFileName> |
183 | </Midl> | 183 | </Midl> |
184 | <ClCompile> | 184 | <ClCompile> |
185 | <Optimization>MaxSpeed</Optimization> | 185 | <Optimization>MaxSpeed</Optimization> |
186 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | 186 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> |
187 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 187 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
188 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 188 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
189 | <StringPooling>true</StringPooling> | 189 | <StringPooling>true</StringPooling> |
190 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 190 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
191 | <FunctionLevelLinking>true</FunctionLevelLinking> | 191 | <FunctionLevelLinking>true</FunctionLevelLinking> |
192 | <PrecompiledHeader> | 192 | <PrecompiledHeader> |
193 | </PrecompiledHeader> | 193 | </PrecompiledHeader> |
194 | <WarningLevel>Level3</WarningLevel> | 194 | <WarningLevel>Level3</WarningLevel> |
195 | </ClCompile> | 195 | </ClCompile> |
196 | <ResourceCompile> | 196 | <ResourceCompile> |
197 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 197 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
198 | <Culture>0x0c07</Culture> | 198 | <Culture>0x0c07</Culture> |
199 | </ResourceCompile> | 199 | </ResourceCompile> |
200 | <Link> | 200 | <Link> |
201 | <OutputFile>..\..\bin\Win64-VisualStudio\20.ManagedLights.exe</OutputFile> | 201 | <OutputFile>..\..\bin\Win64-VisualStudio\20.ManagedLights.exe</OutputFile> |
202 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 202 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
203 | <SubSystem>Console</SubSystem> | 203 | <SubSystem>Console</SubSystem> |
204 | <DataExecutionPrevention> | 204 | <DataExecutionPrevention> |
205 | </DataExecutionPrevention> | 205 | </DataExecutionPrevention> |
206 | <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | 206 | <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
207 | </Link> | 207 | </Link> |
208 | </ItemDefinitionGroup> | 208 | </ItemDefinitionGroup> |
209 | <ItemGroup> | 209 | <ItemGroup> |
210 | <ClCompile Include="main.cpp"> | 210 | <ClCompile Include="main.cpp"> |
211 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization> | 211 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization> |
212 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Disabled</Optimization> | 212 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Disabled</Optimization> |
213 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 213 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
214 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 214 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
215 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 215 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
216 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 216 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
217 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks> | 217 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks> |
218 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">EnableFastChecks</BasicRuntimeChecks> | 218 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">EnableFastChecks</BasicRuntimeChecks> |
219 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MaxSpeed</Optimization> | 219 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MaxSpeed</Optimization> |
220 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MaxSpeed</Optimization> | 220 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MaxSpeed</Optimization> |
221 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 221 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
222 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 222 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
223 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 223 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
224 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 224 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
225 | </ClCompile> | 225 | </ClCompile> |
226 | </ItemGroup> | 226 | </ItemGroup> |
227 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 227 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
228 | <ImportGroup Label="ExtensionTargets"> | 228 | <ImportGroup Label="ExtensionTargets"> |
229 | </ImportGroup> | 229 | </ImportGroup> |
230 | </Project> \ No newline at end of file | 230 | </Project> \ No newline at end of file |
diff --git a/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc11.vcxproj b/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc11.vcxproj index 7a86129..47a0ef5 100644 --- a/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc11.vcxproj +++ b/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc11.vcxproj | |||
@@ -1,234 +1,234 @@ | |||
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>20.ManagedLights</ProjectName> | 22 | <ProjectName>20.ManagedLights</ProjectName> |
23 | <ProjectGuid>{16007FE2-142B-47F8-93E1-519BA3F39E71}</ProjectGuid> | 23 | <ProjectGuid>{16007FE2-142B-47F8-93E1-519BA3F39E71}</ProjectGuid> |
24 | <RootNamespace>ManagedLights</RootNamespace> | 24 | <RootNamespace>ManagedLights</RootNamespace> |
25 | </PropertyGroup> | 25 | </PropertyGroup> |
26 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 26 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
27 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | 27 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
28 | <ConfigurationType>Application</ConfigurationType> | 28 | <ConfigurationType>Application</ConfigurationType> |
29 | <CharacterSet>MultiByte</CharacterSet> | 29 | <CharacterSet>MultiByte</CharacterSet> |
30 | <PlatformToolset>v110</PlatformToolset> | 30 | <PlatformToolset>v110</PlatformToolset> |
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 | <PlatformToolset>v110</PlatformToolset> | 35 | <PlatformToolset>v110</PlatformToolset> |
36 | </PropertyGroup> | 36 | </PropertyGroup> |
37 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | 37 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
38 | <ConfigurationType>Application</ConfigurationType> | 38 | <ConfigurationType>Application</ConfigurationType> |
39 | <CharacterSet>MultiByte</CharacterSet> | 39 | <CharacterSet>MultiByte</CharacterSet> |
40 | <PlatformToolset>v110</PlatformToolset> | 40 | <PlatformToolset>v110</PlatformToolset> |
41 | </PropertyGroup> | 41 | </PropertyGroup> |
42 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | 42 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
43 | <ConfigurationType>Application</ConfigurationType> | 43 | <ConfigurationType>Application</ConfigurationType> |
44 | <CharacterSet>MultiByte</CharacterSet> | 44 | <CharacterSet>MultiByte</CharacterSet> |
45 | <PlatformToolset>v110</PlatformToolset> | 45 | <PlatformToolset>v110</PlatformToolset> |
46 | </PropertyGroup> | 46 | </PropertyGroup> |
47 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 47 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
48 | <ImportGroup Label="ExtensionSettings"> | 48 | <ImportGroup Label="ExtensionSettings"> |
49 | </ImportGroup> | 49 | </ImportGroup> |
50 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | 50 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> |
51 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 51 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
52 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 52 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
53 | </ImportGroup> | 53 | </ImportGroup> |
54 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> | 54 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> |
55 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 55 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
56 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 56 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
57 | </ImportGroup> | 57 | </ImportGroup> |
58 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | 58 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> |
59 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 59 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
60 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 60 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
61 | </ImportGroup> | 61 | </ImportGroup> |
62 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> | 62 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> |
63 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 63 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
64 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 64 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
65 | </ImportGroup> | 65 | </ImportGroup> |
66 | <PropertyGroup Label="UserMacros" /> | 66 | <PropertyGroup Label="UserMacros" /> |
67 | <PropertyGroup> | 67 | <PropertyGroup> |
68 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | 68 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
69 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 69 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
70 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 70 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
71 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 71 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
72 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 72 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
73 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 73 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
74 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 74 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
75 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 75 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
76 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 76 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
77 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 77 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
78 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 78 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
79 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 79 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
80 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 80 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
81 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 81 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
82 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 82 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
83 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 83 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
84 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 84 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
85 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 85 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
86 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 86 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
87 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 87 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
88 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 88 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
89 | </PropertyGroup> | 89 | </PropertyGroup> |
90 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | 90 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
91 | <Midl> | 91 | <Midl> |
92 | <TypeLibraryName>.\Debug/ManagedLights.tlb</TypeLibraryName> | 92 | <TypeLibraryName>.\Debug/ManagedLights.tlb</TypeLibraryName> |
93 | <HeaderFileName> | 93 | <HeaderFileName> |
94 | </HeaderFileName> | 94 | </HeaderFileName> |
95 | </Midl> | 95 | </Midl> |
96 | <ClCompile> | 96 | <ClCompile> |
97 | <Optimization>Disabled</Optimization> | 97 | <Optimization>Disabled</Optimization> |
98 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 98 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
99 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 99 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
100 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 100 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
101 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 101 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
102 | <PrecompiledHeader> | 102 | <PrecompiledHeader> |
103 | </PrecompiledHeader> | 103 | </PrecompiledHeader> |
104 | <WarningLevel>Level3</WarningLevel> | 104 | <WarningLevel>Level3</WarningLevel> |
105 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | 105 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
106 | </ClCompile> | 106 | </ClCompile> |
107 | <ResourceCompile> | 107 | <ResourceCompile> |
108 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 108 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
109 | <Culture>0x0c07</Culture> | 109 | <Culture>0x0c07</Culture> |
110 | </ResourceCompile> | 110 | </ResourceCompile> |
111 | <Link> | 111 | <Link> |
112 | <AdditionalDependencies>..\..\Lib\Win32-visualstudio\Irrlicht.lib;%(AdditionalDependencies)</AdditionalDependencies> | 112 | <AdditionalDependencies>..\..\Lib\Win32-visualstudio\Irrlicht.lib;%(AdditionalDependencies)</AdditionalDependencies> |
113 | <OutputFile>..\..\bin\Win32-VisualStudio\20.ManagedLights.exe</OutputFile> | 113 | <OutputFile>..\..\bin\Win32-VisualStudio\20.ManagedLights.exe</OutputFile> |
114 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 114 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
115 | <GenerateDebugInformation>true</GenerateDebugInformation> | 115 | <GenerateDebugInformation>true</GenerateDebugInformation> |
116 | <SubSystem>Console</SubSystem> | 116 | <SubSystem>Console</SubSystem> |
117 | <DataExecutionPrevention> | 117 | <DataExecutionPrevention> |
118 | </DataExecutionPrevention> | 118 | </DataExecutionPrevention> |
119 | </Link> | 119 | </Link> |
120 | </ItemDefinitionGroup> | 120 | </ItemDefinitionGroup> |
121 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | 121 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
122 | <Midl> | 122 | <Midl> |
123 | <TypeLibraryName>.\Debug/ManagedLights.tlb</TypeLibraryName> | 123 | <TypeLibraryName>.\Debug/ManagedLights.tlb</TypeLibraryName> |
124 | <HeaderFileName> | 124 | <HeaderFileName> |
125 | </HeaderFileName> | 125 | </HeaderFileName> |
126 | </Midl> | 126 | </Midl> |
127 | <ClCompile> | 127 | <ClCompile> |
128 | <Optimization>Disabled</Optimization> | 128 | <Optimization>Disabled</Optimization> |
129 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 129 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
130 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 130 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
131 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 131 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
132 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 132 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
133 | <PrecompiledHeader> | 133 | <PrecompiledHeader> |
134 | </PrecompiledHeader> | 134 | </PrecompiledHeader> |
135 | <WarningLevel>Level3</WarningLevel> | 135 | <WarningLevel>Level3</WarningLevel> |
136 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | 136 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
137 | </ClCompile> | 137 | </ClCompile> |
138 | <ResourceCompile> | 138 | <ResourceCompile> |
139 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 139 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
140 | <Culture>0x0c07</Culture> | 140 | <Culture>0x0c07</Culture> |
141 | </ResourceCompile> | 141 | </ResourceCompile> |
142 | <Link> | 142 | <Link> |
143 | <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | 143 | <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
144 | <OutputFile>..\..\bin\Win64-VisualStudio\20.ManagedLights.exe</OutputFile> | 144 | <OutputFile>..\..\bin\Win64-VisualStudio\20.ManagedLights.exe</OutputFile> |
145 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 145 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
146 | <GenerateDebugInformation>true</GenerateDebugInformation> | 146 | <GenerateDebugInformation>true</GenerateDebugInformation> |
147 | <SubSystem>Console</SubSystem> | 147 | <SubSystem>Console</SubSystem> |
148 | <DataExecutionPrevention> | 148 | <DataExecutionPrevention> |
149 | </DataExecutionPrevention> | 149 | </DataExecutionPrevention> |
150 | </Link> | 150 | </Link> |
151 | </ItemDefinitionGroup> | 151 | </ItemDefinitionGroup> |
152 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | 152 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
153 | <Midl> | 153 | <Midl> |
154 | <TypeLibraryName>.\Release/ManagedLights.tlb</TypeLibraryName> | 154 | <TypeLibraryName>.\Release/ManagedLights.tlb</TypeLibraryName> |
155 | <HeaderFileName> | 155 | <HeaderFileName> |
156 | </HeaderFileName> | 156 | </HeaderFileName> |
157 | </Midl> | 157 | </Midl> |
158 | <ClCompile> | 158 | <ClCompile> |
159 | <Optimization>MaxSpeed</Optimization> | 159 | <Optimization>MaxSpeed</Optimization> |
160 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | 160 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> |
161 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 161 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
162 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 162 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
163 | <StringPooling>true</StringPooling> | 163 | <StringPooling>true</StringPooling> |
164 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 164 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
165 | <FunctionLevelLinking>true</FunctionLevelLinking> | 165 | <FunctionLevelLinking>true</FunctionLevelLinking> |
166 | <PrecompiledHeader> | 166 | <PrecompiledHeader> |
167 | </PrecompiledHeader> | 167 | </PrecompiledHeader> |
168 | <WarningLevel>Level3</WarningLevel> | 168 | <WarningLevel>Level3</WarningLevel> |
169 | </ClCompile> | 169 | </ClCompile> |
170 | <ResourceCompile> | 170 | <ResourceCompile> |
171 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 171 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
172 | <Culture>0x0c07</Culture> | 172 | <Culture>0x0c07</Culture> |
173 | </ResourceCompile> | 173 | </ResourceCompile> |
174 | <Link> | 174 | <Link> |
175 | <OutputFile>..\..\bin\Win32-VisualStudio\20.ManagedLights.exe</OutputFile> | 175 | <OutputFile>..\..\bin\Win32-VisualStudio\20.ManagedLights.exe</OutputFile> |
176 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 176 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
177 | <SubSystem>Console</SubSystem> | 177 | <SubSystem>Console</SubSystem> |
178 | <DataExecutionPrevention> | 178 | <DataExecutionPrevention> |
179 | </DataExecutionPrevention> | 179 | </DataExecutionPrevention> |
180 | </Link> | 180 | </Link> |
181 | </ItemDefinitionGroup> | 181 | </ItemDefinitionGroup> |
182 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | 182 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
183 | <Midl> | 183 | <Midl> |
184 | <TypeLibraryName>.\Release/ManagedLights.tlb</TypeLibraryName> | 184 | <TypeLibraryName>.\Release/ManagedLights.tlb</TypeLibraryName> |
185 | <HeaderFileName> | 185 | <HeaderFileName> |
186 | </HeaderFileName> | 186 | </HeaderFileName> |
187 | </Midl> | 187 | </Midl> |
188 | <ClCompile> | 188 | <ClCompile> |
189 | <Optimization>MaxSpeed</Optimization> | 189 | <Optimization>MaxSpeed</Optimization> |
190 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | 190 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> |
191 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 191 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
192 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 192 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
193 | <StringPooling>true</StringPooling> | 193 | <StringPooling>true</StringPooling> |
194 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 194 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
195 | <FunctionLevelLinking>true</FunctionLevelLinking> | 195 | <FunctionLevelLinking>true</FunctionLevelLinking> |
196 | <PrecompiledHeader> | 196 | <PrecompiledHeader> |
197 | </PrecompiledHeader> | 197 | </PrecompiledHeader> |
198 | <WarningLevel>Level3</WarningLevel> | 198 | <WarningLevel>Level3</WarningLevel> |
199 | </ClCompile> | 199 | </ClCompile> |
200 | <ResourceCompile> | 200 | <ResourceCompile> |
201 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 201 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
202 | <Culture>0x0c07</Culture> | 202 | <Culture>0x0c07</Culture> |
203 | </ResourceCompile> | 203 | </ResourceCompile> |
204 | <Link> | 204 | <Link> |
205 | <OutputFile>..\..\bin\Win64-VisualStudio\20.ManagedLights.exe</OutputFile> | 205 | <OutputFile>..\..\bin\Win64-VisualStudio\20.ManagedLights.exe</OutputFile> |
206 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 206 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
207 | <SubSystem>Console</SubSystem> | 207 | <SubSystem>Console</SubSystem> |
208 | <DataExecutionPrevention> | 208 | <DataExecutionPrevention> |
209 | </DataExecutionPrevention> | 209 | </DataExecutionPrevention> |
210 | <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> | 210 | <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
211 | </Link> | 211 | </Link> |
212 | </ItemDefinitionGroup> | 212 | </ItemDefinitionGroup> |
213 | <ItemGroup> | 213 | <ItemGroup> |
214 | <ClCompile Include="main.cpp"> | 214 | <ClCompile Include="main.cpp"> |
215 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization> | 215 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization> |
216 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Disabled</Optimization> | 216 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Disabled</Optimization> |
217 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 217 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
218 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 218 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
219 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 219 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
220 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 220 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
221 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks> | 221 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks> |
222 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">EnableFastChecks</BasicRuntimeChecks> | 222 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">EnableFastChecks</BasicRuntimeChecks> |
223 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MaxSpeed</Optimization> | 223 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MaxSpeed</Optimization> |
224 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MaxSpeed</Optimization> | 224 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MaxSpeed</Optimization> |
225 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 225 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
226 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 226 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
227 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 227 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
228 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 228 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
229 | </ClCompile> | 229 | </ClCompile> |
230 | </ItemGroup> | 230 | </ItemGroup> |
231 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 231 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
232 | <ImportGroup Label="ExtensionTargets"> | 232 | <ImportGroup Label="ExtensionTargets"> |
233 | </ImportGroup> | 233 | </ImportGroup> |
234 | </Project> \ No newline at end of file | 234 | </Project> \ No newline at end of file |
diff --git a/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc8.vcproj b/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc8.vcproj index 2f37f63..01fc25e 100644 --- a/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc8.vcproj +++ b/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc8.vcproj | |||
@@ -1,231 +1,231 @@ | |||
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="20.ManagedLights_vc8" | 5 | Name="20.ManagedLights_vc8" |
6 | ProjectGUID="{16007FE2-142B-47F8-93E1-519BA3F39E71}" | 6 | ProjectGUID="{16007FE2-142B-47F8-93E1-519BA3F39E71}" |
7 | RootNamespace="ManagedLights_vc8" | 7 | RootNamespace="ManagedLights_vc8" |
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 | UseOfMFC="0" | 23 | UseOfMFC="0" |
24 | ATLMinimizesCRunTimeLibraryUsage="false" | 24 | ATLMinimizesCRunTimeLibraryUsage="false" |
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 | TypeLibraryName=".\Debug/ManagedLights.tlb" | 41 | TypeLibraryName=".\Debug/ManagedLights.tlb" |
42 | HeaderFileName="" | 42 | HeaderFileName="" |
43 | /> | 43 | /> |
44 | <Tool | 44 | <Tool |
45 | Name="VCCLCompilerTool" | 45 | Name="VCCLCompilerTool" |
46 | Optimization="0" | 46 | Optimization="0" |
47 | AdditionalIncludeDirectories="..\..\include" | 47 | AdditionalIncludeDirectories="..\..\include" |
48 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" | 48 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" |
49 | BasicRuntimeChecks="3" | 49 | BasicRuntimeChecks="3" |
50 | RuntimeLibrary="1" | 50 | RuntimeLibrary="1" |
51 | UsePrecompiledHeader="0" | 51 | UsePrecompiledHeader="0" |
52 | PrecompiledHeaderFile=".\Debug/ManagedLights.pch" | 52 | PrecompiledHeaderFile=".\Debug/ManagedLights.pch" |
53 | AssemblerListingLocation=".\Debug/" | 53 | AssemblerListingLocation=".\Debug/" |
54 | ObjectFile=".\Debug/" | 54 | ObjectFile=".\Debug/" |
55 | ProgramDataBaseFileName=".\Debug/" | 55 | ProgramDataBaseFileName=".\Debug/" |
56 | WarningLevel="3" | 56 | WarningLevel="3" |
57 | SuppressStartupBanner="true" | 57 | SuppressStartupBanner="true" |
58 | DebugInformationFormat="4" | 58 | DebugInformationFormat="4" |
59 | CompileAs="0" | 59 | CompileAs="0" |
60 | /> | 60 | /> |
61 | <Tool | 61 | <Tool |
62 | Name="VCManagedResourceCompilerTool" | 62 | Name="VCManagedResourceCompilerTool" |
63 | /> | 63 | /> |
64 | <Tool | 64 | <Tool |
65 | Name="VCResourceCompilerTool" | 65 | Name="VCResourceCompilerTool" |
66 | PreprocessorDefinitions="_DEBUG" | 66 | PreprocessorDefinitions="_DEBUG" |
67 | Culture="3079" | 67 | Culture="3079" |
68 | /> | 68 | /> |
69 | <Tool | 69 | <Tool |
70 | Name="VCPreLinkEventTool" | 70 | Name="VCPreLinkEventTool" |
71 | /> | 71 | /> |
72 | <Tool | 72 | <Tool |
73 | Name="VCLinkerTool" | 73 | Name="VCLinkerTool" |
74 | OutputFile="..\..\bin\Win32-VisualStudio\20.ManagedLights.exe" | 74 | OutputFile="..\..\bin\Win32-VisualStudio\20.ManagedLights.exe" |
75 | LinkIncremental="0" | 75 | LinkIncremental="0" |
76 | SuppressStartupBanner="true" | 76 | SuppressStartupBanner="true" |
77 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 77 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
78 | GenerateDebugInformation="true" | 78 | GenerateDebugInformation="true" |
79 | ProgramDatabaseFile=".\Debug/ManagedLights.pdb" | 79 | ProgramDatabaseFile=".\Debug/ManagedLights.pdb" |
80 | SubSystem="1" | 80 | SubSystem="1" |
81 | TargetMachine="1" | 81 | TargetMachine="1" |
82 | /> | 82 | /> |
83 | <Tool | 83 | <Tool |
84 | Name="VCALinkTool" | 84 | Name="VCALinkTool" |
85 | /> | 85 | /> |
86 | <Tool | 86 | <Tool |
87 | Name="VCManifestTool" | 87 | Name="VCManifestTool" |
88 | /> | 88 | /> |
89 | <Tool | 89 | <Tool |
90 | Name="VCXDCMakeTool" | 90 | Name="VCXDCMakeTool" |
91 | /> | 91 | /> |
92 | <Tool | 92 | <Tool |
93 | Name="VCBscMakeTool" | 93 | Name="VCBscMakeTool" |
94 | /> | 94 | /> |
95 | <Tool | 95 | <Tool |
96 | Name="VCFxCopTool" | 96 | Name="VCFxCopTool" |
97 | /> | 97 | /> |
98 | <Tool | 98 | <Tool |
99 | Name="VCAppVerifierTool" | 99 | Name="VCAppVerifierTool" |
100 | /> | 100 | /> |
101 | <Tool | 101 | <Tool |
102 | Name="VCWebDeploymentTool" | 102 | Name="VCWebDeploymentTool" |
103 | /> | 103 | /> |
104 | <Tool | 104 | <Tool |
105 | Name="VCPostBuildEventTool" | 105 | Name="VCPostBuildEventTool" |
106 | /> | 106 | /> |
107 | </Configuration> | 107 | </Configuration> |
108 | <Configuration | 108 | <Configuration |
109 | Name="Release|Win32" | 109 | Name="Release|Win32" |
110 | OutputDirectory=".\Release" | 110 | OutputDirectory=".\Release" |
111 | IntermediateDirectory=".\Release" | 111 | IntermediateDirectory=".\Release" |
112 | ConfigurationType="1" | 112 | ConfigurationType="1" |
113 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" | 113 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" |
114 | UseOfMFC="0" | 114 | UseOfMFC="0" |
115 | ATLMinimizesCRunTimeLibraryUsage="false" | 115 | ATLMinimizesCRunTimeLibraryUsage="false" |
116 | CharacterSet="2" | 116 | CharacterSet="2" |
117 | > | 117 | > |
118 | <Tool | 118 | <Tool |
119 | Name="VCPreBuildEventTool" | 119 | Name="VCPreBuildEventTool" |
120 | /> | 120 | /> |
121 | <Tool | 121 | <Tool |
122 | Name="VCCustomBuildTool" | 122 | Name="VCCustomBuildTool" |
123 | /> | 123 | /> |
124 | <Tool | 124 | <Tool |
125 | Name="VCXMLDataGeneratorTool" | 125 | Name="VCXMLDataGeneratorTool" |
126 | /> | 126 | /> |
127 | <Tool | 127 | <Tool |
128 | Name="VCWebServiceProxyGeneratorTool" | 128 | Name="VCWebServiceProxyGeneratorTool" |
129 | /> | 129 | /> |
130 | <Tool | 130 | <Tool |
131 | Name="VCMIDLTool" | 131 | Name="VCMIDLTool" |
132 | TypeLibraryName=".\Release/ManagedLights.tlb" | 132 | TypeLibraryName=".\Release/ManagedLights.tlb" |
133 | HeaderFileName="" | 133 | HeaderFileName="" |
134 | /> | 134 | /> |
135 | <Tool | 135 | <Tool |
136 | Name="VCCLCompilerTool" | 136 | Name="VCCLCompilerTool" |
137 | Optimization="2" | 137 | Optimization="2" |
138 | InlineFunctionExpansion="1" | 138 | InlineFunctionExpansion="1" |
139 | AdditionalIncludeDirectories="..\..\include" | 139 | AdditionalIncludeDirectories="..\..\include" |
140 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" | 140 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" |
141 | StringPooling="true" | 141 | StringPooling="true" |
142 | RuntimeLibrary="0" | 142 | RuntimeLibrary="0" |
143 | EnableFunctionLevelLinking="true" | 143 | EnableFunctionLevelLinking="true" |
144 | UsePrecompiledHeader="0" | 144 | UsePrecompiledHeader="0" |
145 | PrecompiledHeaderFile=".\Release/ManagedLights.pch" | 145 | PrecompiledHeaderFile=".\Release/ManagedLights.pch" |
146 | AssemblerListingLocation=".\Release/" | 146 | AssemblerListingLocation=".\Release/" |
147 | ObjectFile=".\Release/" | 147 | ObjectFile=".\Release/" |
148 | ProgramDataBaseFileName=".\Release/" | 148 | ProgramDataBaseFileName=".\Release/" |
149 | WarningLevel="3" | 149 | WarningLevel="3" |
150 | SuppressStartupBanner="true" | 150 | SuppressStartupBanner="true" |
151 | CompileAs="0" | 151 | CompileAs="0" |
152 | /> | 152 | /> |
153 | <Tool | 153 | <Tool |
154 | Name="VCManagedResourceCompilerTool" | 154 | Name="VCManagedResourceCompilerTool" |
155 | /> | 155 | /> |
156 | <Tool | 156 | <Tool |
157 | Name="VCResourceCompilerTool" | 157 | Name="VCResourceCompilerTool" |
158 | PreprocessorDefinitions="NDEBUG" | 158 | PreprocessorDefinitions="NDEBUG" |
159 | Culture="3079" | 159 | Culture="3079" |
160 | /> | 160 | /> |
161 | <Tool | 161 | <Tool |
162 | Name="VCPreLinkEventTool" | 162 | Name="VCPreLinkEventTool" |
163 | /> | 163 | /> |
164 | <Tool | 164 | <Tool |
165 | Name="VCLinkerTool" | 165 | Name="VCLinkerTool" |
166 | OutputFile="..\..\bin\Win32-VisualStudio\20.ManagedLights.exe" | 166 | OutputFile="..\..\bin\Win32-VisualStudio\20.ManagedLights.exe" |
167 | LinkIncremental="0" | 167 | LinkIncremental="0" |
168 | SuppressStartupBanner="true" | 168 | SuppressStartupBanner="true" |
169 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 169 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
170 | ProgramDatabaseFile=".\Release/ManagedLights.pdb" | 170 | ProgramDatabaseFile=".\Release/ManagedLights.pdb" |
171 | SubSystem="1" | 171 | SubSystem="1" |
172 | TargetMachine="1" | 172 | TargetMachine="1" |
173 | /> | 173 | /> |
174 | <Tool | 174 | <Tool |
175 | Name="VCALinkTool" | 175 | Name="VCALinkTool" |
176 | /> | 176 | /> |
177 | <Tool | 177 | <Tool |
178 | Name="VCManifestTool" | 178 | Name="VCManifestTool" |
179 | /> | 179 | /> |
180 | <Tool | 180 | <Tool |
181 | Name="VCXDCMakeTool" | 181 | Name="VCXDCMakeTool" |
182 | /> | 182 | /> |
183 | <Tool | 183 | <Tool |
184 | Name="VCBscMakeTool" | 184 | Name="VCBscMakeTool" |
185 | /> | 185 | /> |
186 | <Tool | 186 | <Tool |
187 | Name="VCFxCopTool" | 187 | Name="VCFxCopTool" |
188 | /> | 188 | /> |
189 | <Tool | 189 | <Tool |
190 | Name="VCAppVerifierTool" | 190 | Name="VCAppVerifierTool" |
191 | /> | 191 | /> |
192 | <Tool | 192 | <Tool |
193 | Name="VCWebDeploymentTool" | 193 | Name="VCWebDeploymentTool" |
194 | /> | 194 | /> |
195 | <Tool | 195 | <Tool |
196 | Name="VCPostBuildEventTool" | 196 | Name="VCPostBuildEventTool" |
197 | /> | 197 | /> |
198 | </Configuration> | 198 | </Configuration> |
199 | </Configurations> | 199 | </Configurations> |
200 | <References> | 200 | <References> |
201 | </References> | 201 | </References> |
202 | <Files> | 202 | <Files> |
203 | <File | 203 | <File |
204 | RelativePath="main.cpp" | 204 | RelativePath="main.cpp" |
205 | > | 205 | > |
206 | <FileConfiguration | 206 | <FileConfiguration |
207 | Name="Debug|Win32" | 207 | Name="Debug|Win32" |
208 | > | 208 | > |
209 | <Tool | 209 | <Tool |
210 | Name="VCCLCompilerTool" | 210 | Name="VCCLCompilerTool" |
211 | Optimization="0" | 211 | Optimization="0" |
212 | AdditionalIncludeDirectories="" | 212 | AdditionalIncludeDirectories="" |
213 | PreprocessorDefinitions="" | 213 | PreprocessorDefinitions="" |
214 | BasicRuntimeChecks="3" | 214 | BasicRuntimeChecks="3" |
215 | /> | 215 | /> |
216 | </FileConfiguration> | 216 | </FileConfiguration> |
217 | <FileConfiguration | 217 | <FileConfiguration |
218 | Name="Release|Win32" | 218 | Name="Release|Win32" |
219 | > | 219 | > |
220 | <Tool | 220 | <Tool |
221 | Name="VCCLCompilerTool" | 221 | Name="VCCLCompilerTool" |
222 | Optimization="2" | 222 | Optimization="2" |
223 | AdditionalIncludeDirectories="" | 223 | AdditionalIncludeDirectories="" |
224 | PreprocessorDefinitions="" | 224 | PreprocessorDefinitions="" |
225 | /> | 225 | /> |
226 | </FileConfiguration> | 226 | </FileConfiguration> |
227 | </File> | 227 | </File> |
228 | </Files> | 228 | </Files> |
229 | <Globals> | 229 | <Globals> |
230 | </Globals> | 230 | </Globals> |
231 | </VisualStudioProject> | 231 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc9.vcproj b/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc9.vcproj index 736faa6..f1edc56 100644 --- a/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc9.vcproj +++ b/libraries/irrlicht-1.8/examples/20.ManagedLights/ManagedLights_vc9.vcproj | |||
@@ -1,231 +1,231 @@ | |||
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="20.ManagedLights_vc9" | 5 | Name="20.ManagedLights_vc9" |
6 | ProjectGUID="{16007FE2-142B-47F8-93E1-519BA3F39E71}" | 6 | ProjectGUID="{16007FE2-142B-47F8-93E1-519BA3F39E71}" |
7 | RootNamespace="ManagedLights_vc9" | 7 | RootNamespace="ManagedLights_vc9" |
8 | TargetFrameworkVersion="131072" | 8 | TargetFrameworkVersion="131072" |
9 | > | 9 | > |
10 | <Platforms> | 10 | <Platforms> |
11 | <Platform | 11 | <Platform |
12 | Name="Win32" | 12 | Name="Win32" |
13 | /> | 13 | /> |
14 | </Platforms> | 14 | </Platforms> |
15 | <ToolFiles> | 15 | <ToolFiles> |
16 | </ToolFiles> | 16 | </ToolFiles> |
17 | <Configurations> | 17 | <Configurations> |
18 | <Configuration | 18 | <Configuration |
19 | Name="Debug|Win32" | 19 | Name="Debug|Win32" |
20 | OutputDirectory=".\Debug" | 20 | OutputDirectory=".\Debug" |
21 | IntermediateDirectory=".\Debug" | 21 | IntermediateDirectory=".\Debug" |
22 | ConfigurationType="1" | 22 | ConfigurationType="1" |
23 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" | 23 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" |
24 | UseOfMFC="0" | 24 | UseOfMFC="0" |
25 | ATLMinimizesCRunTimeLibraryUsage="false" | 25 | ATLMinimizesCRunTimeLibraryUsage="false" |
26 | CharacterSet="2" | 26 | CharacterSet="2" |
27 | > | 27 | > |
28 | <Tool | 28 | <Tool |
29 | Name="VCPreBuildEventTool" | 29 | Name="VCPreBuildEventTool" |
30 | /> | 30 | /> |
31 | <Tool | 31 | <Tool |
32 | Name="VCCustomBuildTool" | 32 | Name="VCCustomBuildTool" |
33 | /> | 33 | /> |
34 | <Tool | 34 | <Tool |
35 | Name="VCXMLDataGeneratorTool" | 35 | Name="VCXMLDataGeneratorTool" |
36 | /> | 36 | /> |
37 | <Tool | 37 | <Tool |
38 | Name="VCWebServiceProxyGeneratorTool" | 38 | Name="VCWebServiceProxyGeneratorTool" |
39 | /> | 39 | /> |
40 | <Tool | 40 | <Tool |
41 | Name="VCMIDLTool" | 41 | Name="VCMIDLTool" |
42 | TypeLibraryName=".\Debug/ManagedLights.tlb" | 42 | TypeLibraryName=".\Debug/ManagedLights.tlb" |
43 | HeaderFileName="" | 43 | HeaderFileName="" |
44 | /> | 44 | /> |
45 | <Tool | 45 | <Tool |
46 | Name="VCCLCompilerTool" | 46 | Name="VCCLCompilerTool" |
47 | Optimization="0" | 47 | Optimization="0" |
48 | AdditionalIncludeDirectories="..\..\include" | 48 | AdditionalIncludeDirectories="..\..\include" |
49 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" | 49 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" |
50 | BasicRuntimeChecks="3" | 50 | BasicRuntimeChecks="3" |
51 | RuntimeLibrary="1" | 51 | RuntimeLibrary="1" |
52 | UsePrecompiledHeader="0" | 52 | UsePrecompiledHeader="0" |
53 | PrecompiledHeaderFile=".\Debug/ManagedLights.pch" | 53 | PrecompiledHeaderFile=".\Debug/ManagedLights.pch" |
54 | AssemblerListingLocation=".\Debug/" | 54 | AssemblerListingLocation=".\Debug/" |
55 | ObjectFile=".\Debug/" | 55 | ObjectFile=".\Debug/" |
56 | ProgramDataBaseFileName=".\Debug/" | 56 | ProgramDataBaseFileName=".\Debug/" |
57 | WarningLevel="3" | 57 | WarningLevel="3" |
58 | SuppressStartupBanner="true" | 58 | SuppressStartupBanner="true" |
59 | DebugInformationFormat="4" | 59 | DebugInformationFormat="4" |
60 | CompileAs="0" | 60 | CompileAs="0" |
61 | /> | 61 | /> |
62 | <Tool | 62 | <Tool |
63 | Name="VCManagedResourceCompilerTool" | 63 | Name="VCManagedResourceCompilerTool" |
64 | /> | 64 | /> |
65 | <Tool | 65 | <Tool |
66 | Name="VCResourceCompilerTool" | 66 | Name="VCResourceCompilerTool" |
67 | PreprocessorDefinitions="_DEBUG" | 67 | PreprocessorDefinitions="_DEBUG" |
68 | Culture="3079" | 68 | Culture="3079" |
69 | /> | 69 | /> |
70 | <Tool | 70 | <Tool |
71 | Name="VCPreLinkEventTool" | 71 | Name="VCPreLinkEventTool" |
72 | /> | 72 | /> |
73 | <Tool | 73 | <Tool |
74 | Name="VCLinkerTool" | 74 | Name="VCLinkerTool" |
75 | AdditionalDependencies="..\..\Lib\Win32-visualstudio\Irrlicht.lib" | 75 | AdditionalDependencies="..\..\Lib\Win32-visualstudio\Irrlicht.lib" |
76 | OutputFile="..\..\bin\Win32-VisualStudio\20.ManagedLights.exe" | 76 | OutputFile="..\..\bin\Win32-VisualStudio\20.ManagedLights.exe" |
77 | LinkIncremental="0" | 77 | LinkIncremental="0" |
78 | SuppressStartupBanner="true" | 78 | SuppressStartupBanner="true" |
79 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 79 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
80 | GenerateDebugInformation="true" | 80 | GenerateDebugInformation="true" |
81 | ProgramDatabaseFile=".\Debug/ManagedLights.pdb" | 81 | ProgramDatabaseFile=".\Debug/ManagedLights.pdb" |
82 | SubSystem="1" | 82 | SubSystem="1" |
83 | RandomizedBaseAddress="1" | 83 | RandomizedBaseAddress="1" |
84 | DataExecutionPrevention="0" | 84 | DataExecutionPrevention="0" |
85 | TargetMachine="1" | 85 | TargetMachine="1" |
86 | /> | 86 | /> |
87 | <Tool | 87 | <Tool |
88 | Name="VCALinkTool" | 88 | Name="VCALinkTool" |
89 | /> | 89 | /> |
90 | <Tool | 90 | <Tool |
91 | Name="VCManifestTool" | 91 | Name="VCManifestTool" |
92 | /> | 92 | /> |
93 | <Tool | 93 | <Tool |
94 | Name="VCXDCMakeTool" | 94 | Name="VCXDCMakeTool" |
95 | /> | 95 | /> |
96 | <Tool | 96 | <Tool |
97 | Name="VCBscMakeTool" | 97 | Name="VCBscMakeTool" |
98 | /> | 98 | /> |
99 | <Tool | 99 | <Tool |
100 | Name="VCFxCopTool" | 100 | Name="VCFxCopTool" |
101 | /> | 101 | /> |
102 | <Tool | 102 | <Tool |
103 | Name="VCAppVerifierTool" | 103 | Name="VCAppVerifierTool" |
104 | /> | 104 | /> |
105 | <Tool | 105 | <Tool |
106 | Name="VCPostBuildEventTool" | 106 | Name="VCPostBuildEventTool" |
107 | /> | 107 | /> |
108 | </Configuration> | 108 | </Configuration> |
109 | <Configuration | 109 | <Configuration |
110 | Name="Release|Win32" | 110 | Name="Release|Win32" |
111 | OutputDirectory=".\Release" | 111 | OutputDirectory=".\Release" |
112 | IntermediateDirectory=".\Release" | 112 | IntermediateDirectory=".\Release" |
113 | ConfigurationType="1" | 113 | ConfigurationType="1" |
114 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" | 114 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" |
115 | UseOfMFC="0" | 115 | UseOfMFC="0" |
116 | ATLMinimizesCRunTimeLibraryUsage="false" | 116 | ATLMinimizesCRunTimeLibraryUsage="false" |
117 | CharacterSet="2" | 117 | CharacterSet="2" |
118 | > | 118 | > |
119 | <Tool | 119 | <Tool |
120 | Name="VCPreBuildEventTool" | 120 | Name="VCPreBuildEventTool" |
121 | /> | 121 | /> |
122 | <Tool | 122 | <Tool |
123 | Name="VCCustomBuildTool" | 123 | Name="VCCustomBuildTool" |
124 | /> | 124 | /> |
125 | <Tool | 125 | <Tool |
126 | Name="VCXMLDataGeneratorTool" | 126 | Name="VCXMLDataGeneratorTool" |
127 | /> | 127 | /> |
128 | <Tool | 128 | <Tool |
129 | Name="VCWebServiceProxyGeneratorTool" | 129 | Name="VCWebServiceProxyGeneratorTool" |
130 | /> | 130 | /> |
131 | <Tool | 131 | <Tool |
132 | Name="VCMIDLTool" | 132 | Name="VCMIDLTool" |
133 | TypeLibraryName=".\Release/ManagedLights.tlb" | 133 | TypeLibraryName=".\Release/ManagedLights.tlb" |
134 | HeaderFileName="" | 134 | HeaderFileName="" |
135 | /> | 135 | /> |
136 | <Tool | 136 | <Tool |
137 | Name="VCCLCompilerTool" | 137 | Name="VCCLCompilerTool" |
138 | Optimization="2" | 138 | Optimization="2" |
139 | InlineFunctionExpansion="1" | 139 | InlineFunctionExpansion="1" |
140 | AdditionalIncludeDirectories="..\..\include" | 140 | AdditionalIncludeDirectories="..\..\include" |
141 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" | 141 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" |
142 | StringPooling="true" | 142 | StringPooling="true" |
143 | RuntimeLibrary="0" | 143 | RuntimeLibrary="0" |
144 | EnableFunctionLevelLinking="true" | 144 | EnableFunctionLevelLinking="true" |
145 | UsePrecompiledHeader="0" | 145 | UsePrecompiledHeader="0" |
146 | PrecompiledHeaderFile=".\Release/ManagedLights.pch" | 146 | PrecompiledHeaderFile=".\Release/ManagedLights.pch" |
147 | AssemblerListingLocation=".\Release/" | 147 | AssemblerListingLocation=".\Release/" |
148 | ObjectFile=".\Release/" | 148 | ObjectFile=".\Release/" |
149 | ProgramDataBaseFileName=".\Release/" | 149 | ProgramDataBaseFileName=".\Release/" |
150 | WarningLevel="3" | 150 | WarningLevel="3" |
151 | SuppressStartupBanner="true" | 151 | SuppressStartupBanner="true" |
152 | CompileAs="0" | 152 | CompileAs="0" |
153 | /> | 153 | /> |
154 | <Tool | 154 | <Tool |
155 | Name="VCManagedResourceCompilerTool" | 155 | Name="VCManagedResourceCompilerTool" |
156 | /> | 156 | /> |
157 | <Tool | 157 | <Tool |
158 | Name="VCResourceCompilerTool" | 158 | Name="VCResourceCompilerTool" |
159 | PreprocessorDefinitions="NDEBUG" | 159 | PreprocessorDefinitions="NDEBUG" |
160 | Culture="3079" | 160 | Culture="3079" |
161 | /> | 161 | /> |
162 | <Tool | 162 | <Tool |
163 | Name="VCPreLinkEventTool" | 163 | Name="VCPreLinkEventTool" |
164 | /> | 164 | /> |
165 | <Tool | 165 | <Tool |
166 | Name="VCLinkerTool" | 166 | Name="VCLinkerTool" |
167 | OutputFile="..\..\bin\Win32-VisualStudio\20.ManagedLights.exe" | 167 | OutputFile="..\..\bin\Win32-VisualStudio\20.ManagedLights.exe" |
168 | LinkIncremental="0" | 168 | LinkIncremental="0" |
169 | SuppressStartupBanner="true" | 169 | SuppressStartupBanner="true" |
170 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 170 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
171 | ProgramDatabaseFile=".\Release/ManagedLights.pdb" | 171 | ProgramDatabaseFile=".\Release/ManagedLights.pdb" |
172 | SubSystem="1" | 172 | SubSystem="1" |
173 | RandomizedBaseAddress="1" | 173 | RandomizedBaseAddress="1" |
174 | DataExecutionPrevention="0" | 174 | DataExecutionPrevention="0" |
175 | TargetMachine="1" | 175 | TargetMachine="1" |
176 | /> | 176 | /> |
177 | <Tool | 177 | <Tool |
178 | Name="VCALinkTool" | 178 | Name="VCALinkTool" |
179 | /> | 179 | /> |
180 | <Tool | 180 | <Tool |
181 | Name="VCManifestTool" | 181 | Name="VCManifestTool" |
182 | /> | 182 | /> |
183 | <Tool | 183 | <Tool |
184 | Name="VCXDCMakeTool" | 184 | Name="VCXDCMakeTool" |
185 | /> | 185 | /> |
186 | <Tool | 186 | <Tool |
187 | Name="VCBscMakeTool" | 187 | Name="VCBscMakeTool" |
188 | /> | 188 | /> |
189 | <Tool | 189 | <Tool |
190 | Name="VCFxCopTool" | 190 | Name="VCFxCopTool" |
191 | /> | 191 | /> |
192 | <Tool | 192 | <Tool |
193 | Name="VCAppVerifierTool" | 193 | Name="VCAppVerifierTool" |
194 | /> | 194 | /> |
195 | <Tool | 195 | <Tool |
196 | Name="VCPostBuildEventTool" | 196 | Name="VCPostBuildEventTool" |
197 | /> | 197 | /> |
198 | </Configuration> | 198 | </Configuration> |
199 | </Configurations> | 199 | </Configurations> |
200 | <References> | 200 | <References> |
201 | </References> | 201 | </References> |
202 | <Files> | 202 | <Files> |
203 | <File | 203 | <File |
204 | RelativePath="main.cpp" | 204 | RelativePath="main.cpp" |
205 | > | 205 | > |
206 | <FileConfiguration | 206 | <FileConfiguration |
207 | Name="Debug|Win32" | 207 | Name="Debug|Win32" |
208 | > | 208 | > |
209 | <Tool | 209 | <Tool |
210 | Name="VCCLCompilerTool" | 210 | Name="VCCLCompilerTool" |
211 | Optimization="0" | 211 | Optimization="0" |
212 | AdditionalIncludeDirectories="" | 212 | AdditionalIncludeDirectories="" |
213 | PreprocessorDefinitions="" | 213 | PreprocessorDefinitions="" |
214 | BasicRuntimeChecks="3" | 214 | BasicRuntimeChecks="3" |
215 | /> | 215 | /> |
216 | </FileConfiguration> | 216 | </FileConfiguration> |
217 | <FileConfiguration | 217 | <FileConfiguration |
218 | Name="Release|Win32" | 218 | Name="Release|Win32" |
219 | > | 219 | > |
220 | <Tool | 220 | <Tool |
221 | Name="VCCLCompilerTool" | 221 | Name="VCCLCompilerTool" |
222 | Optimization="2" | 222 | Optimization="2" |
223 | AdditionalIncludeDirectories="" | 223 | AdditionalIncludeDirectories="" |
224 | PreprocessorDefinitions="" | 224 | PreprocessorDefinitions="" |
225 | /> | 225 | /> |
226 | </FileConfiguration> | 226 | </FileConfiguration> |
227 | </File> | 227 | </File> |
228 | </Files> | 228 | </Files> |
229 | <Globals> | 229 | <Globals> |
230 | </Globals> | 230 | </Globals> |
231 | </VisualStudioProject> | 231 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/20.ManagedLights/main.cpp b/libraries/irrlicht-1.8/examples/20.ManagedLights/main.cpp index f67337a..3fc81a4 100644 --- a/libraries/irrlicht-1.8/examples/20.ManagedLights/main.cpp +++ b/libraries/irrlicht-1.8/examples/20.ManagedLights/main.cpp | |||
@@ -1,386 +1,386 @@ | |||
1 | /** Example 020 Managed Lights | 1 | /** Example 020 Managed Lights |
2 | 2 | ||
3 | Written by Colin MacDonald. This tutorial explains the use of the Light Manager | 3 | Written by Colin MacDonald. This tutorial explains the use of the Light Manager |
4 | of Irrlicht. It enables the use of more dynamic light sources than the actual | 4 | of Irrlicht. It enables the use of more dynamic light sources than the actual |
5 | hardware supports. Further applications of the Light Manager, such as per scene | 5 | hardware supports. Further applications of the Light Manager, such as per scene |
6 | node callbacks, are left out for simplicity of the example. | 6 | node callbacks, are left out for simplicity of the example. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <irrlicht.h> | 9 | #include <irrlicht.h> |
10 | #include "driverChoice.h" | 10 | #include "driverChoice.h" |
11 | 11 | ||
12 | using namespace irr; | 12 | using namespace irr; |
13 | using namespace core; | 13 | using namespace core; |
14 | 14 | ||
15 | #if defined(_MSC_VER) | 15 | #if defined(_MSC_VER) |
16 | #pragma comment(lib, "Irrlicht.lib") | 16 | #pragma comment(lib, "Irrlicht.lib") |
17 | #endif // MSC_VER | 17 | #endif // MSC_VER |
18 | 18 | ||
19 | /* | 19 | /* |
20 | Normally, you are limited to 8 dynamic lights per scene: this is a hardware limit. If you | 20 | Normally, you are limited to 8 dynamic lights per scene: this is a hardware limit. If you |
21 | want to use more dynamic lights in your scene, then you can register an optional light | 21 | want to use more dynamic lights in your scene, then you can register an optional light |
22 | manager that allows you to to turn lights on and off at specific point during rendering. | 22 | manager that allows you to to turn lights on and off at specific point during rendering. |
23 | You are still limited to 8 lights, but the limit is per scene node. | 23 | You are still limited to 8 lights, but the limit is per scene node. |
24 | 24 | ||
25 | This is completely optional: if you do not register a light manager, then a default | 25 | This is completely optional: if you do not register a light manager, then a default |
26 | distance-based scheme will be used to prioritise hardware lights based on their distance | 26 | distance-based scheme will be used to prioritise hardware lights based on their distance |
27 | from the active camera. | 27 | from the active camera. |
28 | 28 | ||
29 | NO_MANAGEMENT disables the light manager and shows Irrlicht's default light behaviour. | 29 | NO_MANAGEMENT disables the light manager and shows Irrlicht's default light behaviour. |
30 | The 8 lights nearest to the camera will be turned on, and other lights will be turned off. | 30 | The 8 lights nearest to the camera will be turned on, and other lights will be turned off. |
31 | In this example, this produces a funky looking but incoherent light display. | 31 | In this example, this produces a funky looking but incoherent light display. |
32 | 32 | ||
33 | LIGHTS_NEAREST_NODE shows an implementation that turns on a limited number of lights | 33 | LIGHTS_NEAREST_NODE shows an implementation that turns on a limited number of lights |
34 | per mesh scene node. If finds the 3 lights that are nearest to the node being rendered, | 34 | per mesh scene node. If finds the 3 lights that are nearest to the node being rendered, |
35 | and turns them on, turning all other lights off. This works, but as it operates on every | 35 | and turns them on, turning all other lights off. This works, but as it operates on every |
36 | light for every node, it does not scale well with many lights. The flickering you can see | 36 | light for every node, it does not scale well with many lights. The flickering you can see |
37 | in this demo is due to the lights swapping their relative positions from the cubes | 37 | in this demo is due to the lights swapping their relative positions from the cubes |
38 | (a deliberate demonstration of the limitations of this technique). | 38 | (a deliberate demonstration of the limitations of this technique). |
39 | 39 | ||
40 | LIGHTS_IN_ZONE shows a technique for turning on lights based on a 'zone'. Each empty scene | 40 | LIGHTS_IN_ZONE shows a technique for turning on lights based on a 'zone'. Each empty scene |
41 | node is considered to be the parent of a zone. When nodes are rendered, they turn off all | 41 | node is considered to be the parent of a zone. When nodes are rendered, they turn off all |
42 | lights, then find their parent 'zone' and turn on all lights that are inside that zone, i.e. | 42 | lights, then find their parent 'zone' and turn on all lights that are inside that zone, i.e. |
43 | are descendents of it in the scene graph. This produces true 'local' lighting for each cube | 43 | are descendents of it in the scene graph. This produces true 'local' lighting for each cube |
44 | in this example. You could use a similar technique to locally light all meshes in (e.g.) | 44 | in this example. You could use a similar technique to locally light all meshes in (e.g.) |
45 | a room, without the lights spilling out to other rooms. | 45 | a room, without the lights spilling out to other rooms. |
46 | 46 | ||
47 | This light manager is also an event receiver; this is purely for simplicity in this example, | 47 | This light manager is also an event receiver; this is purely for simplicity in this example, |
48 | it's neither necessary nor recommended for a real application. | 48 | it's neither necessary nor recommended for a real application. |
49 | */ | 49 | */ |
50 | class CMyLightManager : public scene::ILightManager, public IEventReceiver | 50 | class CMyLightManager : public scene::ILightManager, public IEventReceiver |
51 | { | 51 | { |
52 | typedef enum | 52 | typedef enum |
53 | { | 53 | { |
54 | NO_MANAGEMENT, | 54 | NO_MANAGEMENT, |
55 | LIGHTS_NEAREST_NODE, | 55 | LIGHTS_NEAREST_NODE, |
56 | LIGHTS_IN_ZONE | 56 | LIGHTS_IN_ZONE |
57 | } | 57 | } |
58 | LightManagementMode; | 58 | LightManagementMode; |
59 | 59 | ||
60 | LightManagementMode Mode; | 60 | LightManagementMode Mode; |
61 | LightManagementMode RequestedMode; | 61 | LightManagementMode RequestedMode; |
62 | 62 | ||
63 | // These data represent the state information that this light manager | 63 | // These data represent the state information that this light manager |
64 | // is interested in. | 64 | // is interested in. |
65 | scene::ISceneManager * SceneManager; | 65 | scene::ISceneManager * SceneManager; |
66 | core::array<scene::ISceneNode*> * SceneLightList; | 66 | core::array<scene::ISceneNode*> * SceneLightList; |
67 | scene::E_SCENE_NODE_RENDER_PASS CurrentRenderPass; | 67 | scene::E_SCENE_NODE_RENDER_PASS CurrentRenderPass; |
68 | scene::ISceneNode * CurrentSceneNode; | 68 | scene::ISceneNode * CurrentSceneNode; |
69 | 69 | ||
70 | public: | 70 | public: |
71 | CMyLightManager(scene::ISceneManager* sceneManager) | 71 | CMyLightManager(scene::ISceneManager* sceneManager) |
72 | : Mode(NO_MANAGEMENT), RequestedMode(NO_MANAGEMENT), | 72 | : Mode(NO_MANAGEMENT), RequestedMode(NO_MANAGEMENT), |
73 | SceneManager(sceneManager), SceneLightList(0), | 73 | SceneManager(sceneManager), SceneLightList(0), |
74 | CurrentRenderPass(scene::ESNRP_NONE), CurrentSceneNode(0) | 74 | CurrentRenderPass(scene::ESNRP_NONE), CurrentSceneNode(0) |
75 | { } | 75 | { } |
76 | 76 | ||
77 | // The input receiver interface, which just switches light management strategy | 77 | // The input receiver interface, which just switches light management strategy |
78 | bool OnEvent(const SEvent & event) | 78 | bool OnEvent(const SEvent & event) |
79 | { | 79 | { |
80 | bool handled = false; | 80 | bool handled = false; |
81 | 81 | ||
82 | if (event.EventType == irr::EET_KEY_INPUT_EVENT && event.KeyInput.PressedDown) | 82 | if (event.EventType == irr::EET_KEY_INPUT_EVENT && event.KeyInput.PressedDown) |
83 | { | 83 | { |
84 | handled = true; | 84 | handled = true; |
85 | switch(event.KeyInput.Key) | 85 | switch(event.KeyInput.Key) |
86 | { | 86 | { |
87 | case irr::KEY_KEY_1: | 87 | case irr::KEY_KEY_1: |
88 | RequestedMode = NO_MANAGEMENT; | 88 | RequestedMode = NO_MANAGEMENT; |
89 | break; | 89 | break; |
90 | case irr::KEY_KEY_2: | 90 | case irr::KEY_KEY_2: |
91 | RequestedMode = LIGHTS_NEAREST_NODE; | 91 | RequestedMode = LIGHTS_NEAREST_NODE; |
92 | break; | 92 | break; |
93 | case irr::KEY_KEY_3: | 93 | case irr::KEY_KEY_3: |
94 | RequestedMode = LIGHTS_IN_ZONE; | 94 | RequestedMode = LIGHTS_IN_ZONE; |
95 | break; | 95 | break; |
96 | default: | 96 | default: |
97 | handled = false; | 97 | handled = false; |
98 | break; | 98 | break; |
99 | } | 99 | } |
100 | 100 | ||
101 | if(NO_MANAGEMENT == RequestedMode) | 101 | if(NO_MANAGEMENT == RequestedMode) |
102 | SceneManager->setLightManager(0); // Show that it's safe to register the light manager | 102 | SceneManager->setLightManager(0); // Show that it's safe to register the light manager |
103 | else | 103 | else |
104 | SceneManager->setLightManager(this); | 104 | SceneManager->setLightManager(this); |
105 | } | 105 | } |
106 | 106 | ||
107 | return handled; | 107 | return handled; |
108 | } | 108 | } |
109 | 109 | ||
110 | 110 | ||
111 | // This is called before the first scene node is rendered. | 111 | // This is called before the first scene node is rendered. |
112 | virtual void OnPreRender(core::array<scene::ISceneNode*> & lightList) | 112 | virtual void OnPreRender(core::array<scene::ISceneNode*> & lightList) |
113 | { | 113 | { |
114 | // Update the mode; changing it here ensures that it's consistent throughout a render | 114 | // Update the mode; changing it here ensures that it's consistent throughout a render |
115 | Mode = RequestedMode; | 115 | Mode = RequestedMode; |
116 | 116 | ||
117 | // Store the light list. I am free to alter this list until the end of OnPostRender(). | 117 | // Store the light list. I am free to alter this list until the end of OnPostRender(). |
118 | SceneLightList = &lightList; | 118 | SceneLightList = &lightList; |
119 | } | 119 | } |
120 | 120 | ||
121 | // Called after the last scene node is rendered. | 121 | // Called after the last scene node is rendered. |
122 | virtual void OnPostRender() | 122 | virtual void OnPostRender() |
123 | { | 123 | { |
124 | // Since light management might be switched off in the event handler, we'll turn all | 124 | // Since light management might be switched off in the event handler, we'll turn all |
125 | // lights on to ensure that they are in a consistent state. You wouldn't normally have | 125 | // lights on to ensure that they are in a consistent state. You wouldn't normally have |
126 | // to do this when using a light manager, since you'd continue to do light management | 126 | // to do this when using a light manager, since you'd continue to do light management |
127 | // yourself. | 127 | // yourself. |
128 | for (u32 i = 0; i < SceneLightList->size(); i++) | 128 | for (u32 i = 0; i < SceneLightList->size(); i++) |
129 | (*SceneLightList)[i]->setVisible(true); | 129 | (*SceneLightList)[i]->setVisible(true); |
130 | } | 130 | } |
131 | 131 | ||
132 | virtual void OnRenderPassPreRender(scene::E_SCENE_NODE_RENDER_PASS renderPass) | 132 | virtual void OnRenderPassPreRender(scene::E_SCENE_NODE_RENDER_PASS renderPass) |
133 | { | 133 | { |
134 | // I don't have to do anything here except remember which render pass I am in. | 134 | // I don't have to do anything here except remember which render pass I am in. |
135 | CurrentRenderPass = renderPass; | 135 | CurrentRenderPass = renderPass; |
136 | } | 136 | } |
137 | 137 | ||
138 | virtual void OnRenderPassPostRender(scene::E_SCENE_NODE_RENDER_PASS renderPass) | 138 | virtual void OnRenderPassPostRender(scene::E_SCENE_NODE_RENDER_PASS renderPass) |
139 | { | 139 | { |
140 | // I only want solid nodes to be lit, so after the solid pass, turn all lights off. | 140 | // I only want solid nodes to be lit, so after the solid pass, turn all lights off. |
141 | if (scene::ESNRP_SOLID == renderPass) | 141 | if (scene::ESNRP_SOLID == renderPass) |
142 | { | 142 | { |
143 | for (u32 i = 0; i < SceneLightList->size(); ++i) | 143 | for (u32 i = 0; i < SceneLightList->size(); ++i) |
144 | (*SceneLightList)[i]->setVisible(false); | 144 | (*SceneLightList)[i]->setVisible(false); |
145 | } | 145 | } |
146 | } | 146 | } |
147 | 147 | ||
148 | // This is called before the specified scene node is rendered | 148 | // This is called before the specified scene node is rendered |
149 | virtual void OnNodePreRender(scene::ISceneNode* node) | 149 | virtual void OnNodePreRender(scene::ISceneNode* node) |
150 | { | 150 | { |
151 | CurrentSceneNode = node; | 151 | CurrentSceneNode = node; |
152 | 152 | ||
153 | // This light manager only considers solid objects, but you are free to manipulate | 153 | // This light manager only considers solid objects, but you are free to manipulate |
154 | // lights during any phase, depending on your requirements. | 154 | // lights during any phase, depending on your requirements. |
155 | if (scene::ESNRP_SOLID != CurrentRenderPass) | 155 | if (scene::ESNRP_SOLID != CurrentRenderPass) |
156 | return; | 156 | return; |
157 | 157 | ||
158 | // And in fact for this example, I only want to consider lighting for cube scene | 158 | // And in fact for this example, I only want to consider lighting for cube scene |
159 | // nodes. You will probably want to deal with lighting for (at least) mesh / | 159 | // nodes. You will probably want to deal with lighting for (at least) mesh / |
160 | // animated mesh scene nodes as well. | 160 | // animated mesh scene nodes as well. |
161 | if (node->getType() != scene::ESNT_CUBE) | 161 | if (node->getType() != scene::ESNT_CUBE) |
162 | return; | 162 | return; |
163 | 163 | ||
164 | if (LIGHTS_NEAREST_NODE == Mode) | 164 | if (LIGHTS_NEAREST_NODE == Mode) |
165 | { | 165 | { |
166 | // This is a naive implementation that prioritises every light in the scene | 166 | // This is a naive implementation that prioritises every light in the scene |
167 | // by its proximity to the node being rendered. This produces some flickering | 167 | // by its proximity to the node being rendered. This produces some flickering |
168 | // when lights orbit closer to a cube than its 'zone' lights. | 168 | // when lights orbit closer to a cube than its 'zone' lights. |
169 | const vector3df nodePosition = node->getAbsolutePosition(); | 169 | const vector3df nodePosition = node->getAbsolutePosition(); |
170 | 170 | ||
171 | // Sort the light list by prioritising them based on their distance from the node | 171 | // Sort the light list by prioritising them based on their distance from the node |
172 | // that's about to be rendered. | 172 | // that's about to be rendered. |
173 | array<LightDistanceElement> sortingArray; | 173 | array<LightDistanceElement> sortingArray; |
174 | sortingArray.reallocate(SceneLightList->size()); | 174 | sortingArray.reallocate(SceneLightList->size()); |
175 | 175 | ||
176 | u32 i; | 176 | u32 i; |
177 | for(i = 0; i < SceneLightList->size(); ++i) | 177 | for(i = 0; i < SceneLightList->size(); ++i) |
178 | { | 178 | { |
179 | scene::ISceneNode* lightNode = (*SceneLightList)[i]; | 179 | scene::ISceneNode* lightNode = (*SceneLightList)[i]; |
180 | const f64 distance = lightNode->getAbsolutePosition().getDistanceFromSQ(nodePosition); | 180 | const f64 distance = lightNode->getAbsolutePosition().getDistanceFromSQ(nodePosition); |
181 | sortingArray.push_back(LightDistanceElement(lightNode, distance)); | 181 | sortingArray.push_back(LightDistanceElement(lightNode, distance)); |
182 | } | 182 | } |
183 | 183 | ||
184 | sortingArray.sort(); | 184 | sortingArray.sort(); |
185 | 185 | ||
186 | // The list is now sorted by proximity to the node. | 186 | // The list is now sorted by proximity to the node. |
187 | // Turn on the three nearest lights, and turn the others off. | 187 | // Turn on the three nearest lights, and turn the others off. |
188 | for(i = 0; i < sortingArray.size(); ++i) | 188 | for(i = 0; i < sortingArray.size(); ++i) |
189 | sortingArray[i].node->setVisible(i < 3); | 189 | sortingArray[i].node->setVisible(i < 3); |
190 | } | 190 | } |
191 | else if(LIGHTS_IN_ZONE == Mode) | 191 | else if(LIGHTS_IN_ZONE == Mode) |
192 | { | 192 | { |
193 | // Empty scene nodes are used to represent 'zones'. For each solid mesh that | 193 | // Empty scene nodes are used to represent 'zones'. For each solid mesh that |
194 | // is being rendered, turn off all lights, then find its 'zone' parent, and turn | 194 | // is being rendered, turn off all lights, then find its 'zone' parent, and turn |
195 | // on all lights that are found under that node in the scene graph. | 195 | // on all lights that are found under that node in the scene graph. |
196 | // This is a general purpose algorithm that doesn't use any special | 196 | // This is a general purpose algorithm that doesn't use any special |
197 | // knowledge of how this particular scene graph is organised. | 197 | // knowledge of how this particular scene graph is organised. |
198 | for (u32 i = 0; i < SceneLightList->size(); ++i) | 198 | for (u32 i = 0; i < SceneLightList->size(); ++i) |
199 | { | 199 | { |
200 | if ((*SceneLightList)[i]->getType() != scene::ESNT_LIGHT) | 200 | if ((*SceneLightList)[i]->getType() != scene::ESNT_LIGHT) |
201 | continue; | 201 | continue; |
202 | scene::ILightSceneNode* lightNode = static_cast<scene::ILightSceneNode*>((*SceneLightList)[i]); | 202 | scene::ILightSceneNode* lightNode = static_cast<scene::ILightSceneNode*>((*SceneLightList)[i]); |
203 | video::SLight & lightData = lightNode->getLightData(); | 203 | video::SLight & lightData = lightNode->getLightData(); |
204 | 204 | ||
205 | if (video::ELT_DIRECTIONAL != lightData.Type) | 205 | if (video::ELT_DIRECTIONAL != lightData.Type) |
206 | lightNode->setVisible(false); | 206 | lightNode->setVisible(false); |
207 | } | 207 | } |
208 | 208 | ||
209 | scene::ISceneNode * parentZone = findZone(node); | 209 | scene::ISceneNode * parentZone = findZone(node); |
210 | if (parentZone) | 210 | if (parentZone) |
211 | turnOnZoneLights(parentZone); | 211 | turnOnZoneLights(parentZone); |
212 | } | 212 | } |
213 | } | 213 | } |
214 | 214 | ||
215 | // Called after the specified scene node is rendered | 215 | // Called after the specified scene node is rendered |
216 | virtual void OnNodePostRender(scene::ISceneNode* node) | 216 | virtual void OnNodePostRender(scene::ISceneNode* node) |
217 | { | 217 | { |
218 | // I don't need to do any light management after individual node rendering. | 218 | // I don't need to do any light management after individual node rendering. |
219 | } | 219 | } |
220 | 220 | ||
221 | private: | 221 | private: |
222 | 222 | ||
223 | // Find the empty scene node that is the parent of the specified node | 223 | // Find the empty scene node that is the parent of the specified node |
224 | scene::ISceneNode * findZone(scene::ISceneNode * node) | 224 | scene::ISceneNode * findZone(scene::ISceneNode * node) |
225 | { | 225 | { |
226 | if (!node) | 226 | if (!node) |
227 | return 0; | 227 | return 0; |
228 | 228 | ||
229 | if (node->getType() == scene::ESNT_EMPTY) | 229 | if (node->getType() == scene::ESNT_EMPTY) |
230 | return node; | 230 | return node; |
231 | 231 | ||
232 | return findZone(node->getParent()); | 232 | return findZone(node->getParent()); |
233 | } | 233 | } |
234 | 234 | ||
235 | // Turn on all lights that are children (directly or indirectly) of the | 235 | // Turn on all lights that are children (directly or indirectly) of the |
236 | // specified scene node. | 236 | // specified scene node. |
237 | void turnOnZoneLights(scene::ISceneNode * node) | 237 | void turnOnZoneLights(scene::ISceneNode * node) |
238 | { | 238 | { |
239 | core::list<scene::ISceneNode*> const & children = node->getChildren(); | 239 | core::list<scene::ISceneNode*> const & children = node->getChildren(); |
240 | for (core::list<scene::ISceneNode*>::ConstIterator child = children.begin(); | 240 | for (core::list<scene::ISceneNode*>::ConstIterator child = children.begin(); |
241 | child != children.end(); ++child) | 241 | child != children.end(); ++child) |
242 | { | 242 | { |
243 | if ((*child)->getType() == scene::ESNT_LIGHT) | 243 | if ((*child)->getType() == scene::ESNT_LIGHT) |
244 | (*child)->setVisible(true); | 244 | (*child)->setVisible(true); |
245 | else // Assume that lights don't have any children that are also lights | 245 | else // Assume that lights don't have any children that are also lights |
246 | turnOnZoneLights(*child); | 246 | turnOnZoneLights(*child); |
247 | } | 247 | } |
248 | } | 248 | } |
249 | 249 | ||
250 | 250 | ||
251 | // A utility class to aid in sorting scene nodes into a distance order | 251 | // A utility class to aid in sorting scene nodes into a distance order |
252 | class LightDistanceElement | 252 | class LightDistanceElement |
253 | { | 253 | { |
254 | public: | 254 | public: |
255 | LightDistanceElement() {}; | 255 | LightDistanceElement() {}; |
256 | 256 | ||
257 | LightDistanceElement(scene::ISceneNode* n, f64 d) | 257 | LightDistanceElement(scene::ISceneNode* n, f64 d) |
258 | : node(n), distance(d) { } | 258 | : node(n), distance(d) { } |
259 | 259 | ||
260 | scene::ISceneNode* node; | 260 | scene::ISceneNode* node; |
261 | f64 distance; | 261 | f64 distance; |
262 | 262 | ||
263 | // Lower distance elements are sorted to the start of the array | 263 | // Lower distance elements are sorted to the start of the array |
264 | bool operator < (const LightDistanceElement& other) const | 264 | bool operator < (const LightDistanceElement& other) const |
265 | { | 265 | { |
266 | return (distance < other.distance); | 266 | return (distance < other.distance); |
267 | } | 267 | } |
268 | }; | 268 | }; |
269 | }; | 269 | }; |
270 | 270 | ||
271 | 271 | ||
272 | /* | 272 | /* |
273 | */ | 273 | */ |
274 | int main(int argumentCount, char * argumentValues[]) | 274 | int main(int argumentCount, char * argumentValues[]) |
275 | { | 275 | { |
276 | // ask user for driver | 276 | // ask user for driver |
277 | video::E_DRIVER_TYPE driverType=driverChoiceConsole(); | 277 | video::E_DRIVER_TYPE driverType=driverChoiceConsole(); |
278 | if (driverType==video::EDT_COUNT) | 278 | if (driverType==video::EDT_COUNT) |
279 | return 1; | 279 | return 1; |
280 | 280 | ||
281 | IrrlichtDevice *device = createDevice(driverType, | 281 | IrrlichtDevice *device = createDevice(driverType, |
282 | dimension2d<u32>(640, 480), 32); | 282 | dimension2d<u32>(640, 480), 32); |
283 | 283 | ||
284 | if(!device) | 284 | if(!device) |
285 | return -1; | 285 | return -1; |
286 | 286 | ||
287 | f32 const lightRadius = 60.f; // Enough to reach the far side of each 'zone' | 287 | f32 const lightRadius = 60.f; // Enough to reach the far side of each 'zone' |
288 | 288 | ||
289 | video::IVideoDriver* driver = device->getVideoDriver(); | 289 | video::IVideoDriver* driver = device->getVideoDriver(); |
290 | scene::ISceneManager* smgr = device->getSceneManager(); | 290 | scene::ISceneManager* smgr = device->getSceneManager(); |
291 | gui::IGUIEnvironment* guienv = device->getGUIEnvironment(); | 291 | gui::IGUIEnvironment* guienv = device->getGUIEnvironment(); |
292 | 292 | ||
293 | gui::IGUISkin* skin = guienv->getSkin(); | 293 | gui::IGUISkin* skin = guienv->getSkin(); |
294 | if (skin) | 294 | if (skin) |
295 | { | 295 | { |
296 | skin->setColor(gui::EGDC_BUTTON_TEXT, video::SColor(255, 255, 255, 255)); | 296 | skin->setColor(gui::EGDC_BUTTON_TEXT, video::SColor(255, 255, 255, 255)); |
297 | gui::IGUIFont* font = guienv->getFont("../../media/fontlucida.png"); | 297 | gui::IGUIFont* font = guienv->getFont("../../media/fontlucida.png"); |
298 | if(font) | 298 | if(font) |
299 | skin->setFont(font); | 299 | skin->setFont(font); |
300 | } | 300 | } |
301 | 301 | ||
302 | guienv->addStaticText(L"1 - No light management", core::rect<s32>(10,10,200,30)); | 302 | guienv->addStaticText(L"1 - No light management", core::rect<s32>(10,10,200,30)); |
303 | guienv->addStaticText(L"2 - Closest 3 lights", core::rect<s32>(10,30,200,50)); | 303 | guienv->addStaticText(L"2 - Closest 3 lights", core::rect<s32>(10,30,200,50)); |
304 | guienv->addStaticText(L"3 - Lights in zone", core::rect<s32>(10,50,200,70)); | 304 | guienv->addStaticText(L"3 - Lights in zone", core::rect<s32>(10,50,200,70)); |
305 | 305 | ||
306 | /* | 306 | /* |
307 | Add several "zones". You could use this technique to light individual rooms, for example. | 307 | Add several "zones". You could use this technique to light individual rooms, for example. |
308 | */ | 308 | */ |
309 | for(f32 zoneX = -100.f; zoneX <= 100.f; zoneX += 50.f) | 309 | for(f32 zoneX = -100.f; zoneX <= 100.f; zoneX += 50.f) |
310 | for(f32 zoneY = -60.f; zoneY <= 60.f; zoneY += 60.f) | 310 | for(f32 zoneY = -60.f; zoneY <= 60.f; zoneY += 60.f) |
311 | { | 311 | { |
312 | // Start with an empty scene node, which we will use to represent a zone. | 312 | // Start with an empty scene node, which we will use to represent a zone. |
313 | scene::ISceneNode * zoneRoot = smgr->addEmptySceneNode(); | 313 | scene::ISceneNode * zoneRoot = smgr->addEmptySceneNode(); |
314 | zoneRoot->setPosition(vector3df(zoneX, zoneY, 0)); | 314 | zoneRoot->setPosition(vector3df(zoneX, zoneY, 0)); |
315 | 315 | ||
316 | // Each zone contains a rotating cube | 316 | // Each zone contains a rotating cube |
317 | scene::IMeshSceneNode * node = smgr->addCubeSceneNode(15, zoneRoot); | 317 | scene::IMeshSceneNode * node = smgr->addCubeSceneNode(15, zoneRoot); |
318 | scene::ISceneNodeAnimator * rotation = smgr->createRotationAnimator(vector3df(0.25f, 0.5f, 0.75f)); | 318 | scene::ISceneNodeAnimator * rotation = smgr->createRotationAnimator(vector3df(0.25f, 0.5f, 0.75f)); |
319 | node->addAnimator(rotation); | 319 | node->addAnimator(rotation); |
320 | rotation->drop(); | 320 | rotation->drop(); |
321 | 321 | ||
322 | // And each cube has three lights attached to it. The lights are attached to billboards so | 322 | // And each cube has three lights attached to it. The lights are attached to billboards so |
323 | // that we can see where they are. The billboards are attached to the cube, so that the | 323 | // that we can see where they are. The billboards are attached to the cube, so that the |
324 | // lights are indirect descendents of the same empty scene node as the cube. | 324 | // lights are indirect descendents of the same empty scene node as the cube. |
325 | scene::IBillboardSceneNode * billboard = smgr->addBillboardSceneNode(node); | 325 | scene::IBillboardSceneNode * billboard = smgr->addBillboardSceneNode(node); |
326 | billboard->setPosition(vector3df(0, -14, 30)); | 326 | billboard->setPosition(vector3df(0, -14, 30)); |
327 | billboard->setMaterialType(video::EMT_TRANSPARENT_ADD_COLOR ); | 327 | billboard->setMaterialType(video::EMT_TRANSPARENT_ADD_COLOR ); |
328 | billboard->setMaterialTexture(0, driver->getTexture("../../media/particle.bmp")); | 328 | billboard->setMaterialTexture(0, driver->getTexture("../../media/particle.bmp")); |
329 | billboard->setMaterialFlag(video::EMF_LIGHTING, false); | 329 | billboard->setMaterialFlag(video::EMF_LIGHTING, false); |
330 | smgr->addLightSceneNode(billboard, vector3df(0, 0, 0), video::SColorf(1, 0, 0), lightRadius); | 330 | smgr->addLightSceneNode(billboard, vector3df(0, 0, 0), video::SColorf(1, 0, 0), lightRadius); |
331 | 331 | ||
332 | billboard = smgr->addBillboardSceneNode(node); | 332 | billboard = smgr->addBillboardSceneNode(node); |
333 | billboard->setPosition(vector3df(-21, -14, -21)); | 333 | billboard->setPosition(vector3df(-21, -14, -21)); |
334 | billboard->setMaterialType(video::EMT_TRANSPARENT_ADD_COLOR ); | 334 | billboard->setMaterialType(video::EMT_TRANSPARENT_ADD_COLOR ); |
335 | billboard->setMaterialTexture(0, driver->getTexture("../../media/particle.bmp")); | 335 | billboard->setMaterialTexture(0, driver->getTexture("../../media/particle.bmp")); |
336 | billboard->setMaterialFlag(video::EMF_LIGHTING, false); | 336 | billboard->setMaterialFlag(video::EMF_LIGHTING, false); |
337 | smgr->addLightSceneNode(billboard, vector3df(0, 0, 0), video::SColorf(0, 1, 0), lightRadius); | 337 | smgr->addLightSceneNode(billboard, vector3df(0, 0, 0), video::SColorf(0, 1, 0), lightRadius); |
338 | 338 | ||
339 | billboard = smgr->addBillboardSceneNode(node); | 339 | billboard = smgr->addBillboardSceneNode(node); |
340 | billboard->setPosition(vector3df(21, -14, -21)); | 340 | billboard->setPosition(vector3df(21, -14, -21)); |
341 | billboard->setMaterialType(video::EMT_TRANSPARENT_ADD_COLOR ); | 341 | billboard->setMaterialType(video::EMT_TRANSPARENT_ADD_COLOR ); |
342 | billboard->setMaterialTexture(0, driver->getTexture("../../media/particle.bmp")); | 342 | billboard->setMaterialTexture(0, driver->getTexture("../../media/particle.bmp")); |
343 | billboard->setMaterialFlag(video::EMF_LIGHTING, false); | 343 | billboard->setMaterialFlag(video::EMF_LIGHTING, false); |
344 | smgr->addLightSceneNode(billboard, vector3df(0, 0, 0), video::SColorf(0, 0, 1), lightRadius); | 344 | smgr->addLightSceneNode(billboard, vector3df(0, 0, 0), video::SColorf(0, 0, 1), lightRadius); |
345 | 345 | ||
346 | // Each cube also has a smaller cube rotating around it, to show that the cubes are being | 346 | // Each cube also has a smaller cube rotating around it, to show that the cubes are being |
347 | // lit by the lights in their 'zone', not just lights that are their direct children. | 347 | // lit by the lights in their 'zone', not just lights that are their direct children. |
348 | node = smgr->addCubeSceneNode(5, node); | 348 | node = smgr->addCubeSceneNode(5, node); |
349 | node->setPosition(vector3df(0, 21, 0)); | 349 | node->setPosition(vector3df(0, 21, 0)); |
350 | } | 350 | } |
351 | 351 | ||
352 | smgr->addCameraSceneNode(0, vector3df(0,0,-130), vector3df(0,0,0)); | 352 | smgr->addCameraSceneNode(0, vector3df(0,0,-130), vector3df(0,0,0)); |
353 | 353 | ||
354 | CMyLightManager * myLightManager = new CMyLightManager(smgr); | 354 | CMyLightManager * myLightManager = new CMyLightManager(smgr); |
355 | smgr->setLightManager(0); // This is the default: we won't do light management until told to do it. | 355 | smgr->setLightManager(0); // This is the default: we won't do light management until told to do it. |
356 | device->setEventReceiver(myLightManager); | 356 | device->setEventReceiver(myLightManager); |
357 | 357 | ||
358 | int lastFps = -1; | 358 | int lastFps = -1; |
359 | 359 | ||
360 | while(device->run()) | 360 | while(device->run()) |
361 | { | 361 | { |
362 | driver->beginScene(true, true, video::SColor(255,100,101,140)); | 362 | driver->beginScene(true, true, video::SColor(255,100,101,140)); |
363 | smgr->drawAll(); | 363 | smgr->drawAll(); |
364 | guienv->drawAll(); | 364 | guienv->drawAll(); |
365 | driver->endScene(); | 365 | driver->endScene(); |
366 | 366 | ||
367 | int fps = driver->getFPS(); | 367 | int fps = driver->getFPS(); |
368 | if(fps != lastFps) | 368 | if(fps != lastFps) |
369 | { | 369 | { |
370 | lastFps = fps; | 370 | lastFps = fps; |
371 | core::stringw str = L"Managed Lights ["; | 371 | core::stringw str = L"Managed Lights ["; |
372 | str += driver->getName(); | 372 | str += driver->getName(); |
373 | str += "] FPS:"; | 373 | str += "] FPS:"; |
374 | str += fps; | 374 | str += fps; |
375 | device->setWindowCaption(str.c_str()); | 375 | device->setWindowCaption(str.c_str()); |
376 | } | 376 | } |
377 | } | 377 | } |
378 | 378 | ||
379 | myLightManager->drop(); // Drop my implicit reference | 379 | myLightManager->drop(); // Drop my implicit reference |
380 | device->drop(); | 380 | device->drop(); |
381 | return 0; | 381 | return 0; |
382 | } | 382 | } |
383 | 383 | ||
384 | /* | 384 | /* |
385 | **/ | 385 | **/ |
386 | 386 | ||