diff options
Diffstat (limited to 'libraries/irrlicht-1.8/examples/14.Win32Window')
9 files changed, 1696 insertions, 1696 deletions
diff --git a/libraries/irrlicht-1.8/examples/14.Win32Window/Makefile b/libraries/irrlicht-1.8/examples/14.Win32Window/Makefile index e76f2ff..eb4cc1c 100644 --- a/libraries/irrlicht-1.8/examples/14.Win32Window/Makefile +++ b/libraries/irrlicht-1.8/examples/14.Win32Window/Makefile | |||
@@ -1,38 +1,38 @@ | |||
1 | # Makefile for Irrlicht Examples | 1 | # Makefile for Irrlicht Examples |
2 | # It's usually sufficient to change just the target name and source file list | 2 | # It's usually sufficient to change just the target name and source file list |
3 | # and be sure that CXX is set to a valid compiler | 3 | # and be sure that CXX is set to a valid compiler |
4 | Target = 14.Win32Window | 4 | Target = 14.Win32Window |
5 | Sources = main.cpp | 5 | Sources = main.cpp |
6 | 6 | ||
7 | # general compiler settings | 7 | # general compiler settings |
8 | CPPFLAGS = -I../../include -I/usr/X11R6/include | 8 | CPPFLAGS = -I../../include -I/usr/X11R6/include |
9 | CXXFLAGS = -O3 -ffast-math | 9 | CXXFLAGS = -O3 -ffast-math |
10 | #CXXFLAGS = -g -Wall | 10 | #CXXFLAGS = -g -Wall |
11 | 11 | ||
12 | #default target is Linux | 12 | #default target is Linux |
13 | all: all_linux | 13 | all: all_linux |
14 | 14 | ||
15 | ifeq ($(HOSTTYPE), x86_64) | 15 | ifeq ($(HOSTTYPE), x86_64) |
16 | LIBSELECT=64 | 16 | LIBSELECT=64 |
17 | endif | 17 | endif |
18 | 18 | ||
19 | # target specific settings | 19 | # target specific settings |
20 | all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor | 20 | all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor |
21 | all_linux clean_linux: SYSTEM=Linux | 21 | all_linux clean_linux: SYSTEM=Linux |
22 | all_win32: LDFLAGS = -L../../lib/Win32-gcc -lIrrlicht -lopengl32 -lm | 22 | all_win32: LDFLAGS = -L../../lib/Win32-gcc -lIrrlicht -lopengl32 -lm |
23 | all_win32 clean_win32: SYSTEM=Win32-gcc | 23 | all_win32 clean_win32: SYSTEM=Win32-gcc |
24 | all_win32 clean_win32: SUF=.exe | 24 | all_win32 clean_win32: SUF=.exe |
25 | # name of the binary - only valid for targets which set SYSTEM | 25 | # name of the binary - only valid for targets which set SYSTEM |
26 | DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF) | 26 | DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF) |
27 | 27 | ||
28 | all_linux all_win32: | 28 | all_linux all_win32: |
29 | $(warning Building...) | 29 | $(warning Building...) |
30 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(Sources) -o $(DESTPATH) $(LDFLAGS) | 30 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(Sources) -o $(DESTPATH) $(LDFLAGS) |
31 | 31 | ||
32 | clean: clean_linux clean_win32 | 32 | clean: clean_linux clean_win32 |
33 | $(warning Cleaning...) | 33 | $(warning Cleaning...) |
34 | 34 | ||
35 | clean_linux clean_win32: | 35 | clean_linux clean_win32: |
36 | @$(RM) $(DESTPATH) | 36 | @$(RM) $(DESTPATH) |
37 | 37 | ||
38 | .PHONY: all all_win32 clean clean_linux clean_win32 | 38 | .PHONY: all all_win32 clean clean_linux clean_win32 |
diff --git a/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window.dev b/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window.dev index 6192563..542ce3e 100644 --- a/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window.dev +++ b/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window.dev | |||
@@ -1,59 +1,59 @@ | |||
1 | [Project] | 1 | [Project] |
2 | FileName=example.dev | 2 | FileName=example.dev |
3 | Name=Irrlicht Example 14 Win32 Window | 3 | Name=Irrlicht Example 14 Win32 Window |
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=14.Win32Window.exe | 21 | OverrideOutputName=14.Win32Window.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/14.Win32Window/Win32Window.vcproj b/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window.vcproj index c8576c7..47e89dc 100644 --- a/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window.vcproj +++ b/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window.vcproj | |||
@@ -1,165 +1,165 @@ | |||
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="14.Win32Window" | 5 | Name="14.Win32Window" |
6 | ProjectGUID="{3A73BAFE-60DE-4E40-9E37-710760BC25C6}" | 6 | ProjectGUID="{3A73BAFE-60DE-4E40-9E37-710760BC25C6}" |
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/Win32Window.pch" | 30 | PrecompiledHeaderFile=".\Debug/Win32Window.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 | AdditionalDependencies="opengl32.lib" | 42 | AdditionalDependencies="opengl32.lib" |
43 | OutputFile="..\..\bin\Win32-VisualStudio\14.Win32Window.exe" | 43 | OutputFile="..\..\bin\Win32-VisualStudio\14.Win32Window.exe" |
44 | LinkIncremental="0" | 44 | LinkIncremental="0" |
45 | SuppressStartupBanner="TRUE" | 45 | SuppressStartupBanner="TRUE" |
46 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 46 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
47 | GenerateDebugInformation="TRUE" | 47 | GenerateDebugInformation="TRUE" |
48 | ProgramDatabaseFile=".\Debug/Win32Window.pdb" | 48 | ProgramDatabaseFile=".\Debug/Win32Window.pdb" |
49 | SubSystem="1" | 49 | SubSystem="1" |
50 | TargetMachine="1"/> | 50 | TargetMachine="1"/> |
51 | <Tool | 51 | <Tool |
52 | Name="VCMIDLTool" | 52 | Name="VCMIDLTool" |
53 | TypeLibraryName=".\Debug/Win32Window.tlb" | 53 | TypeLibraryName=".\Debug/Win32Window.tlb" |
54 | HeaderFileName=""/> | 54 | HeaderFileName=""/> |
55 | <Tool | 55 | <Tool |
56 | Name="VCPostBuildEventTool"/> | 56 | Name="VCPostBuildEventTool"/> |
57 | <Tool | 57 | <Tool |
58 | Name="VCPreBuildEventTool"/> | 58 | Name="VCPreBuildEventTool"/> |
59 | <Tool | 59 | <Tool |
60 | Name="VCPreLinkEventTool"/> | 60 | Name="VCPreLinkEventTool"/> |
61 | <Tool | 61 | <Tool |
62 | Name="VCResourceCompilerTool" | 62 | Name="VCResourceCompilerTool" |
63 | PreprocessorDefinitions="_DEBUG" | 63 | PreprocessorDefinitions="_DEBUG" |
64 | Culture="3079"/> | 64 | Culture="3079"/> |
65 | <Tool | 65 | <Tool |
66 | Name="VCWebServiceProxyGeneratorTool"/> | 66 | Name="VCWebServiceProxyGeneratorTool"/> |
67 | <Tool | 67 | <Tool |
68 | Name="VCXMLDataGeneratorTool"/> | 68 | Name="VCXMLDataGeneratorTool"/> |
69 | <Tool | 69 | <Tool |
70 | Name="VCWebDeploymentTool"/> | 70 | Name="VCWebDeploymentTool"/> |
71 | <Tool | 71 | <Tool |
72 | Name="VCManagedWrapperGeneratorTool"/> | 72 | Name="VCManagedWrapperGeneratorTool"/> |
73 | <Tool | 73 | <Tool |
74 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> | 74 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> |
75 | </Configuration> | 75 | </Configuration> |
76 | <Configuration | 76 | <Configuration |
77 | Name="Release|Win32" | 77 | Name="Release|Win32" |
78 | OutputDirectory=".\Release" | 78 | OutputDirectory=".\Release" |
79 | IntermediateDirectory=".\Release" | 79 | IntermediateDirectory=".\Release" |
80 | ConfigurationType="1" | 80 | ConfigurationType="1" |
81 | UseOfMFC="0" | 81 | UseOfMFC="0" |
82 | ATLMinimizesCRunTimeLibraryUsage="FALSE" | 82 | ATLMinimizesCRunTimeLibraryUsage="FALSE" |
83 | CharacterSet="2"> | 83 | CharacterSet="2"> |
84 | <Tool | 84 | <Tool |
85 | Name="VCCLCompilerTool" | 85 | Name="VCCLCompilerTool" |
86 | Optimization="2" | 86 | Optimization="2" |
87 | InlineFunctionExpansion="1" | 87 | InlineFunctionExpansion="1" |
88 | AdditionalIncludeDirectories="..\..\include" | 88 | AdditionalIncludeDirectories="..\..\include" |
89 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" | 89 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" |
90 | StringPooling="TRUE" | 90 | StringPooling="TRUE" |
91 | RuntimeLibrary="4" | 91 | RuntimeLibrary="4" |
92 | EnableFunctionLevelLinking="TRUE" | 92 | EnableFunctionLevelLinking="TRUE" |
93 | UsePrecompiledHeader="2" | 93 | UsePrecompiledHeader="2" |
94 | PrecompiledHeaderFile=".\Release/Win32Window.pch" | 94 | PrecompiledHeaderFile=".\Release/Win32Window.pch" |
95 | AssemblerListingLocation=".\Release/" | 95 | AssemblerListingLocation=".\Release/" |
96 | ObjectFile=".\Release/" | 96 | ObjectFile=".\Release/" |
97 | ProgramDataBaseFileName=".\Release/" | 97 | ProgramDataBaseFileName=".\Release/" |
98 | WarningLevel="3" | 98 | WarningLevel="3" |
99 | SuppressStartupBanner="TRUE" | 99 | SuppressStartupBanner="TRUE" |
100 | CompileAs="0"/> | 100 | CompileAs="0"/> |
101 | <Tool | 101 | <Tool |
102 | Name="VCCustomBuildTool"/> | 102 | Name="VCCustomBuildTool"/> |
103 | <Tool | 103 | <Tool |
104 | Name="VCLinkerTool" | 104 | Name="VCLinkerTool" |
105 | AdditionalDependencies="opengl32.lib" | 105 | AdditionalDependencies="opengl32.lib" |
106 | OutputFile="..\..\bin\Win32-VisualStudio\14.Win32Window.exe" | 106 | OutputFile="..\..\bin\Win32-VisualStudio\14.Win32Window.exe" |
107 | LinkIncremental="0" | 107 | LinkIncremental="0" |
108 | SuppressStartupBanner="TRUE" | 108 | SuppressStartupBanner="TRUE" |
109 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 109 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
110 | ProgramDatabaseFile=".\Release/Win32Window.pdb" | 110 | ProgramDatabaseFile=".\Release/Win32Window.pdb" |
111 | SubSystem="1" | 111 | SubSystem="1" |
112 | TargetMachine="1"/> | 112 | TargetMachine="1"/> |
113 | <Tool | 113 | <Tool |
114 | Name="VCMIDLTool" | 114 | Name="VCMIDLTool" |
115 | TypeLibraryName=".\Release/Win32Window.tlb" | 115 | TypeLibraryName=".\Release/Win32Window.tlb" |
116 | HeaderFileName=""/> | 116 | HeaderFileName=""/> |
117 | <Tool | 117 | <Tool |
118 | Name="VCPostBuildEventTool"/> | 118 | Name="VCPostBuildEventTool"/> |
119 | <Tool | 119 | <Tool |
120 | Name="VCPreBuildEventTool"/> | 120 | Name="VCPreBuildEventTool"/> |
121 | <Tool | 121 | <Tool |
122 | Name="VCPreLinkEventTool"/> | 122 | Name="VCPreLinkEventTool"/> |
123 | <Tool | 123 | <Tool |
124 | Name="VCResourceCompilerTool" | 124 | Name="VCResourceCompilerTool" |
125 | PreprocessorDefinitions="NDEBUG" | 125 | PreprocessorDefinitions="NDEBUG" |
126 | Culture="3079"/> | 126 | Culture="3079"/> |
127 | <Tool | 127 | <Tool |
128 | Name="VCWebServiceProxyGeneratorTool"/> | 128 | Name="VCWebServiceProxyGeneratorTool"/> |
129 | <Tool | 129 | <Tool |
130 | Name="VCXMLDataGeneratorTool"/> | 130 | Name="VCXMLDataGeneratorTool"/> |
131 | <Tool | 131 | <Tool |
132 | Name="VCWebDeploymentTool"/> | 132 | Name="VCWebDeploymentTool"/> |
133 | <Tool | 133 | <Tool |
134 | Name="VCManagedWrapperGeneratorTool"/> | 134 | Name="VCManagedWrapperGeneratorTool"/> |
135 | <Tool | 135 | <Tool |
136 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> | 136 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> |
137 | </Configuration> | 137 | </Configuration> |
138 | </Configurations> | 138 | </Configurations> |
139 | <References> | 139 | <References> |
140 | </References> | 140 | </References> |
141 | <Files> | 141 | <Files> |
142 | <File | 142 | <File |
143 | RelativePath="main.cpp"> | 143 | RelativePath="main.cpp"> |
144 | <FileConfiguration | 144 | <FileConfiguration |
145 | Name="Debug|Win32"> | 145 | Name="Debug|Win32"> |
146 | <Tool | 146 | <Tool |
147 | Name="VCCLCompilerTool" | 147 | Name="VCCLCompilerTool" |
148 | Optimization="0" | 148 | Optimization="0" |
149 | AdditionalIncludeDirectories="" | 149 | AdditionalIncludeDirectories="" |
150 | PreprocessorDefinitions="" | 150 | PreprocessorDefinitions="" |
151 | BasicRuntimeChecks="3"/> | 151 | BasicRuntimeChecks="3"/> |
152 | </FileConfiguration> | 152 | </FileConfiguration> |
153 | <FileConfiguration | 153 | <FileConfiguration |
154 | Name="Release|Win32"> | 154 | Name="Release|Win32"> |
155 | <Tool | 155 | <Tool |
156 | Name="VCCLCompilerTool" | 156 | Name="VCCLCompilerTool" |
157 | Optimization="2" | 157 | Optimization="2" |
158 | AdditionalIncludeDirectories="" | 158 | AdditionalIncludeDirectories="" |
159 | PreprocessorDefinitions=""/> | 159 | PreprocessorDefinitions=""/> |
160 | </FileConfiguration> | 160 | </FileConfiguration> |
161 | </File> | 161 | </File> |
162 | </Files> | 162 | </Files> |
163 | <Globals> | 163 | <Globals> |
164 | </Globals> | 164 | </Globals> |
165 | </VisualStudioProject> | 165 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc10.vcxproj b/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc10.vcxproj index f18c583..6ce6dcf 100644 --- a/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc10.vcxproj +++ b/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc10.vcxproj | |||
@@ -1,235 +1,235 @@ | |||
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>14.Win32Window</ProjectName> | 22 | <ProjectName>14.Win32Window</ProjectName> |
23 | <ProjectGuid>{772FBE05-D05A-467B-9842-BEC409EEA8D0}</ProjectGuid> | 23 | <ProjectGuid>{772FBE05-D05A-467B-9842-BEC409EEA8D0}</ProjectGuid> |
24 | <RootNamespace>Win32Window</RootNamespace> | 24 | <RootNamespace>Win32Window</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 | <UseOfMfc>false</UseOfMfc> | 29 | <UseOfMfc>false</UseOfMfc> |
30 | <CharacterSet>MultiByte</CharacterSet> | 30 | <CharacterSet>MultiByte</CharacterSet> |
31 | </PropertyGroup> | 31 | </PropertyGroup> |
32 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | 32 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
33 | <ConfigurationType>Application</ConfigurationType> | 33 | <ConfigurationType>Application</ConfigurationType> |
34 | <UseOfMfc>false</UseOfMfc> | 34 | <UseOfMfc>false</UseOfMfc> |
35 | <CharacterSet>MultiByte</CharacterSet> | 35 | <CharacterSet>MultiByte</CharacterSet> |
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 | <UseOfMfc>false</UseOfMfc> | 39 | <UseOfMfc>false</UseOfMfc> |
40 | <CharacterSet>MultiByte</CharacterSet> | 40 | <CharacterSet>MultiByte</CharacterSet> |
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 | <UseOfMfc>false</UseOfMfc> | 44 | <UseOfMfc>false</UseOfMfc> |
45 | <CharacterSet>MultiByte</CharacterSet> | 45 | <CharacterSet>MultiByte</CharacterSet> |
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/Win32Window.tlb</TypeLibraryName> | 92 | <TypeLibraryName>.\Debug/Win32Window.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>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> | 112 | <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
113 | <OutputFile>..\..\bin\Win32-VisualStudio\14.Win32Window.exe</OutputFile> | 113 | <OutputFile>..\..\bin\Win32-VisualStudio\14.Win32Window.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/Win32Window.tlb</TypeLibraryName> | 123 | <TypeLibraryName>.\Debug/Win32Window.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>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> | 143 | <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
144 | <OutputFile>..\..\bin\Win64-VisualStudio\14.Win32Window.exe</OutputFile> | 144 | <OutputFile>..\..\bin\Win64-VisualStudio\14.Win32Window.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/Win32Window.tlb</TypeLibraryName> | 154 | <TypeLibraryName>.\Release/Win32Window.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 | <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> | 175 | <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
176 | <OutputFile>..\..\bin\Win32-VisualStudio\14.Win32Window.exe</OutputFile> | 176 | <OutputFile>..\..\bin\Win32-VisualStudio\14.Win32Window.exe</OutputFile> |
177 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 177 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
178 | <SubSystem>Console</SubSystem> | 178 | <SubSystem>Console</SubSystem> |
179 | <DataExecutionPrevention> | 179 | <DataExecutionPrevention> |
180 | </DataExecutionPrevention> | 180 | </DataExecutionPrevention> |
181 | </Link> | 181 | </Link> |
182 | </ItemDefinitionGroup> | 182 | </ItemDefinitionGroup> |
183 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | 183 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
184 | <Midl> | 184 | <Midl> |
185 | <TypeLibraryName>.\Release/Win32Window.tlb</TypeLibraryName> | 185 | <TypeLibraryName>.\Release/Win32Window.tlb</TypeLibraryName> |
186 | <HeaderFileName> | 186 | <HeaderFileName> |
187 | </HeaderFileName> | 187 | </HeaderFileName> |
188 | </Midl> | 188 | </Midl> |
189 | <ClCompile> | 189 | <ClCompile> |
190 | <Optimization>MaxSpeed</Optimization> | 190 | <Optimization>MaxSpeed</Optimization> |
191 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | 191 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> |
192 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 192 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
193 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 193 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
194 | <StringPooling>true</StringPooling> | 194 | <StringPooling>true</StringPooling> |
195 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 195 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
196 | <FunctionLevelLinking>true</FunctionLevelLinking> | 196 | <FunctionLevelLinking>true</FunctionLevelLinking> |
197 | <PrecompiledHeader> | 197 | <PrecompiledHeader> |
198 | </PrecompiledHeader> | 198 | </PrecompiledHeader> |
199 | <WarningLevel>Level3</WarningLevel> | 199 | <WarningLevel>Level3</WarningLevel> |
200 | </ClCompile> | 200 | </ClCompile> |
201 | <ResourceCompile> | 201 | <ResourceCompile> |
202 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 202 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
203 | <Culture>0x0c07</Culture> | 203 | <Culture>0x0c07</Culture> |
204 | </ResourceCompile> | 204 | </ResourceCompile> |
205 | <Link> | 205 | <Link> |
206 | <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> | 206 | <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
207 | <OutputFile>..\..\bin\Win64-VisualStudio\14.Win32Window.exe</OutputFile> | 207 | <OutputFile>..\..\bin\Win64-VisualStudio\14.Win32Window.exe</OutputFile> |
208 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 208 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
209 | <SubSystem>Console</SubSystem> | 209 | <SubSystem>Console</SubSystem> |
210 | <DataExecutionPrevention> | 210 | <DataExecutionPrevention> |
211 | </DataExecutionPrevention> | 211 | </DataExecutionPrevention> |
212 | </Link> | 212 | </Link> |
213 | </ItemDefinitionGroup> | 213 | </ItemDefinitionGroup> |
214 | <ItemGroup> | 214 | <ItemGroup> |
215 | <ClCompile Include="main.cpp"> | 215 | <ClCompile Include="main.cpp"> |
216 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization> | 216 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization> |
217 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Disabled</Optimization> | 217 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Disabled</Optimization> |
218 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 218 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
219 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 219 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
220 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 220 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
221 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 221 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
222 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks> | 222 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks> |
223 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">EnableFastChecks</BasicRuntimeChecks> | 223 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">EnableFastChecks</BasicRuntimeChecks> |
224 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MaxSpeed</Optimization> | 224 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MaxSpeed</Optimization> |
225 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MaxSpeed</Optimization> | 225 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MaxSpeed</Optimization> |
226 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 226 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
227 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 227 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
228 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 228 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
229 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 229 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
230 | </ClCompile> | 230 | </ClCompile> |
231 | </ItemGroup> | 231 | </ItemGroup> |
232 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 232 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
233 | <ImportGroup Label="ExtensionTargets"> | 233 | <ImportGroup Label="ExtensionTargets"> |
234 | </ImportGroup> | 234 | </ImportGroup> |
235 | </Project> \ No newline at end of file | 235 | </Project> \ No newline at end of file |
diff --git a/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc11.vcxproj b/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc11.vcxproj index 07a2fce..aa4f193 100644 --- a/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc11.vcxproj +++ b/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc11.vcxproj | |||
@@ -1,239 +1,239 @@ | |||
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>14.Win32Window</ProjectName> | 22 | <ProjectName>14.Win32Window</ProjectName> |
23 | <ProjectGuid>{772FBE05-D05A-467B-9842-BEC409EEA8D0}</ProjectGuid> | 23 | <ProjectGuid>{772FBE05-D05A-467B-9842-BEC409EEA8D0}</ProjectGuid> |
24 | <RootNamespace>Win32Window</RootNamespace> | 24 | <RootNamespace>Win32Window</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 | <UseOfMfc>false</UseOfMfc> | 29 | <UseOfMfc>false</UseOfMfc> |
30 | <CharacterSet>MultiByte</CharacterSet> | 30 | <CharacterSet>MultiByte</CharacterSet> |
31 | <PlatformToolset>v110</PlatformToolset> | 31 | <PlatformToolset>v110</PlatformToolset> |
32 | </PropertyGroup> | 32 | </PropertyGroup> |
33 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | 33 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
34 | <ConfigurationType>Application</ConfigurationType> | 34 | <ConfigurationType>Application</ConfigurationType> |
35 | <UseOfMfc>false</UseOfMfc> | 35 | <UseOfMfc>false</UseOfMfc> |
36 | <CharacterSet>MultiByte</CharacterSet> | 36 | <CharacterSet>MultiByte</CharacterSet> |
37 | <PlatformToolset>v110</PlatformToolset> | 37 | <PlatformToolset>v110</PlatformToolset> |
38 | </PropertyGroup> | 38 | </PropertyGroup> |
39 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | 39 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
40 | <ConfigurationType>Application</ConfigurationType> | 40 | <ConfigurationType>Application</ConfigurationType> |
41 | <UseOfMfc>false</UseOfMfc> | 41 | <UseOfMfc>false</UseOfMfc> |
42 | <CharacterSet>MultiByte</CharacterSet> | 42 | <CharacterSet>MultiByte</CharacterSet> |
43 | <PlatformToolset>v110</PlatformToolset> | 43 | <PlatformToolset>v110</PlatformToolset> |
44 | </PropertyGroup> | 44 | </PropertyGroup> |
45 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | 45 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
46 | <ConfigurationType>Application</ConfigurationType> | 46 | <ConfigurationType>Application</ConfigurationType> |
47 | <UseOfMfc>false</UseOfMfc> | 47 | <UseOfMfc>false</UseOfMfc> |
48 | <CharacterSet>MultiByte</CharacterSet> | 48 | <CharacterSet>MultiByte</CharacterSet> |
49 | <PlatformToolset>v110</PlatformToolset> | 49 | <PlatformToolset>v110</PlatformToolset> |
50 | </PropertyGroup> | 50 | </PropertyGroup> |
51 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 51 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
52 | <ImportGroup Label="ExtensionSettings"> | 52 | <ImportGroup Label="ExtensionSettings"> |
53 | </ImportGroup> | 53 | </ImportGroup> |
54 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | 54 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|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)'=='Release|x64'" Label="PropertySheets"> | 58 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|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 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | 62 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" 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 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> | 66 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> |
67 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 67 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
68 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 68 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
69 | </ImportGroup> | 69 | </ImportGroup> |
70 | <PropertyGroup Label="UserMacros" /> | 70 | <PropertyGroup Label="UserMacros" /> |
71 | <PropertyGroup> | 71 | <PropertyGroup> |
72 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | 72 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
73 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 73 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
74 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 74 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
75 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 75 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
76 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 76 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
77 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 77 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
78 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 78 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
79 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 79 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
80 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 80 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
81 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 81 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
82 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 82 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
83 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 83 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
84 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 84 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
85 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 85 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
86 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 86 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
87 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 87 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
88 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 88 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
89 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 89 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
90 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 90 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
91 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 91 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
92 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 92 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
93 | </PropertyGroup> | 93 | </PropertyGroup> |
94 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | 94 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
95 | <Midl> | 95 | <Midl> |
96 | <TypeLibraryName>.\Debug/Win32Window.tlb</TypeLibraryName> | 96 | <TypeLibraryName>.\Debug/Win32Window.tlb</TypeLibraryName> |
97 | <HeaderFileName> | 97 | <HeaderFileName> |
98 | </HeaderFileName> | 98 | </HeaderFileName> |
99 | </Midl> | 99 | </Midl> |
100 | <ClCompile> | 100 | <ClCompile> |
101 | <Optimization>Disabled</Optimization> | 101 | <Optimization>Disabled</Optimization> |
102 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 102 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
103 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 103 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
104 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 104 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
105 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 105 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
106 | <PrecompiledHeader> | 106 | <PrecompiledHeader> |
107 | </PrecompiledHeader> | 107 | </PrecompiledHeader> |
108 | <WarningLevel>Level3</WarningLevel> | 108 | <WarningLevel>Level3</WarningLevel> |
109 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | 109 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
110 | </ClCompile> | 110 | </ClCompile> |
111 | <ResourceCompile> | 111 | <ResourceCompile> |
112 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 112 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
113 | <Culture>0x0c07</Culture> | 113 | <Culture>0x0c07</Culture> |
114 | </ResourceCompile> | 114 | </ResourceCompile> |
115 | <Link> | 115 | <Link> |
116 | <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> | 116 | <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
117 | <OutputFile>..\..\bin\Win32-VisualStudio\14.Win32Window.exe</OutputFile> | 117 | <OutputFile>..\..\bin\Win32-VisualStudio\14.Win32Window.exe</OutputFile> |
118 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 118 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
119 | <GenerateDebugInformation>true</GenerateDebugInformation> | 119 | <GenerateDebugInformation>true</GenerateDebugInformation> |
120 | <SubSystem>Console</SubSystem> | 120 | <SubSystem>Console</SubSystem> |
121 | <DataExecutionPrevention> | 121 | <DataExecutionPrevention> |
122 | </DataExecutionPrevention> | 122 | </DataExecutionPrevention> |
123 | </Link> | 123 | </Link> |
124 | </ItemDefinitionGroup> | 124 | </ItemDefinitionGroup> |
125 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | 125 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
126 | <Midl> | 126 | <Midl> |
127 | <TypeLibraryName>.\Debug/Win32Window.tlb</TypeLibraryName> | 127 | <TypeLibraryName>.\Debug/Win32Window.tlb</TypeLibraryName> |
128 | <HeaderFileName> | 128 | <HeaderFileName> |
129 | </HeaderFileName> | 129 | </HeaderFileName> |
130 | </Midl> | 130 | </Midl> |
131 | <ClCompile> | 131 | <ClCompile> |
132 | <Optimization>Disabled</Optimization> | 132 | <Optimization>Disabled</Optimization> |
133 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 133 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
134 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 134 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
135 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 135 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
136 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 136 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
137 | <PrecompiledHeader> | 137 | <PrecompiledHeader> |
138 | </PrecompiledHeader> | 138 | </PrecompiledHeader> |
139 | <WarningLevel>Level3</WarningLevel> | 139 | <WarningLevel>Level3</WarningLevel> |
140 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | 140 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
141 | </ClCompile> | 141 | </ClCompile> |
142 | <ResourceCompile> | 142 | <ResourceCompile> |
143 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 143 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
144 | <Culture>0x0c07</Culture> | 144 | <Culture>0x0c07</Culture> |
145 | </ResourceCompile> | 145 | </ResourceCompile> |
146 | <Link> | 146 | <Link> |
147 | <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> | 147 | <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
148 | <OutputFile>..\..\bin\Win64-VisualStudio\14.Win32Window.exe</OutputFile> | 148 | <OutputFile>..\..\bin\Win64-VisualStudio\14.Win32Window.exe</OutputFile> |
149 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 149 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
150 | <GenerateDebugInformation>true</GenerateDebugInformation> | 150 | <GenerateDebugInformation>true</GenerateDebugInformation> |
151 | <SubSystem>Console</SubSystem> | 151 | <SubSystem>Console</SubSystem> |
152 | <DataExecutionPrevention> | 152 | <DataExecutionPrevention> |
153 | </DataExecutionPrevention> | 153 | </DataExecutionPrevention> |
154 | </Link> | 154 | </Link> |
155 | </ItemDefinitionGroup> | 155 | </ItemDefinitionGroup> |
156 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | 156 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
157 | <Midl> | 157 | <Midl> |
158 | <TypeLibraryName>.\Release/Win32Window.tlb</TypeLibraryName> | 158 | <TypeLibraryName>.\Release/Win32Window.tlb</TypeLibraryName> |
159 | <HeaderFileName> | 159 | <HeaderFileName> |
160 | </HeaderFileName> | 160 | </HeaderFileName> |
161 | </Midl> | 161 | </Midl> |
162 | <ClCompile> | 162 | <ClCompile> |
163 | <Optimization>MaxSpeed</Optimization> | 163 | <Optimization>MaxSpeed</Optimization> |
164 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | 164 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> |
165 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 165 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
166 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 166 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
167 | <StringPooling>true</StringPooling> | 167 | <StringPooling>true</StringPooling> |
168 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 168 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
169 | <FunctionLevelLinking>true</FunctionLevelLinking> | 169 | <FunctionLevelLinking>true</FunctionLevelLinking> |
170 | <PrecompiledHeader> | 170 | <PrecompiledHeader> |
171 | </PrecompiledHeader> | 171 | </PrecompiledHeader> |
172 | <WarningLevel>Level3</WarningLevel> | 172 | <WarningLevel>Level3</WarningLevel> |
173 | </ClCompile> | 173 | </ClCompile> |
174 | <ResourceCompile> | 174 | <ResourceCompile> |
175 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 175 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
176 | <Culture>0x0c07</Culture> | 176 | <Culture>0x0c07</Culture> |
177 | </ResourceCompile> | 177 | </ResourceCompile> |
178 | <Link> | 178 | <Link> |
179 | <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> | 179 | <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
180 | <OutputFile>..\..\bin\Win32-VisualStudio\14.Win32Window.exe</OutputFile> | 180 | <OutputFile>..\..\bin\Win32-VisualStudio\14.Win32Window.exe</OutputFile> |
181 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 181 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
182 | <SubSystem>Console</SubSystem> | 182 | <SubSystem>Console</SubSystem> |
183 | <DataExecutionPrevention> | 183 | <DataExecutionPrevention> |
184 | </DataExecutionPrevention> | 184 | </DataExecutionPrevention> |
185 | </Link> | 185 | </Link> |
186 | </ItemDefinitionGroup> | 186 | </ItemDefinitionGroup> |
187 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | 187 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
188 | <Midl> | 188 | <Midl> |
189 | <TypeLibraryName>.\Release/Win32Window.tlb</TypeLibraryName> | 189 | <TypeLibraryName>.\Release/Win32Window.tlb</TypeLibraryName> |
190 | <HeaderFileName> | 190 | <HeaderFileName> |
191 | </HeaderFileName> | 191 | </HeaderFileName> |
192 | </Midl> | 192 | </Midl> |
193 | <ClCompile> | 193 | <ClCompile> |
194 | <Optimization>MaxSpeed</Optimization> | 194 | <Optimization>MaxSpeed</Optimization> |
195 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | 195 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> |
196 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 196 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
197 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 197 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
198 | <StringPooling>true</StringPooling> | 198 | <StringPooling>true</StringPooling> |
199 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 199 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
200 | <FunctionLevelLinking>true</FunctionLevelLinking> | 200 | <FunctionLevelLinking>true</FunctionLevelLinking> |
201 | <PrecompiledHeader> | 201 | <PrecompiledHeader> |
202 | </PrecompiledHeader> | 202 | </PrecompiledHeader> |
203 | <WarningLevel>Level3</WarningLevel> | 203 | <WarningLevel>Level3</WarningLevel> |
204 | </ClCompile> | 204 | </ClCompile> |
205 | <ResourceCompile> | 205 | <ResourceCompile> |
206 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 206 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
207 | <Culture>0x0c07</Culture> | 207 | <Culture>0x0c07</Culture> |
208 | </ResourceCompile> | 208 | </ResourceCompile> |
209 | <Link> | 209 | <Link> |
210 | <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> | 210 | <AdditionalDependencies>opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
211 | <OutputFile>..\..\bin\Win64-VisualStudio\14.Win32Window.exe</OutputFile> | 211 | <OutputFile>..\..\bin\Win64-VisualStudio\14.Win32Window.exe</OutputFile> |
212 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 212 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
213 | <SubSystem>Console</SubSystem> | 213 | <SubSystem>Console</SubSystem> |
214 | <DataExecutionPrevention> | 214 | <DataExecutionPrevention> |
215 | </DataExecutionPrevention> | 215 | </DataExecutionPrevention> |
216 | </Link> | 216 | </Link> |
217 | </ItemDefinitionGroup> | 217 | </ItemDefinitionGroup> |
218 | <ItemGroup> | 218 | <ItemGroup> |
219 | <ClCompile Include="main.cpp"> | 219 | <ClCompile Include="main.cpp"> |
220 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization> | 220 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization> |
221 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Disabled</Optimization> | 221 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Disabled</Optimization> |
222 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 222 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
223 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 223 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
224 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 224 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
225 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 225 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
226 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks> | 226 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks> |
227 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">EnableFastChecks</BasicRuntimeChecks> | 227 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">EnableFastChecks</BasicRuntimeChecks> |
228 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MaxSpeed</Optimization> | 228 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MaxSpeed</Optimization> |
229 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MaxSpeed</Optimization> | 229 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MaxSpeed</Optimization> |
230 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 230 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
231 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 231 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
232 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 232 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
233 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 233 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
234 | </ClCompile> | 234 | </ClCompile> |
235 | </ItemGroup> | 235 | </ItemGroup> |
236 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 236 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
237 | <ImportGroup Label="ExtensionTargets"> | 237 | <ImportGroup Label="ExtensionTargets"> |
238 | </ImportGroup> | 238 | </ImportGroup> |
239 | </Project> \ No newline at end of file | 239 | </Project> \ No newline at end of file |
diff --git a/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc8.vcproj b/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc8.vcproj index efbf43d..18f73e0 100644 --- a/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc8.vcproj +++ b/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc8.vcproj | |||
@@ -1,232 +1,232 @@ | |||
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="14.Win32Window_vc8" | 5 | Name="14.Win32Window_vc8" |
6 | ProjectGUID="{772FBE05-D05A-467B-9842-BEC409EEA8D0}" | 6 | ProjectGUID="{772FBE05-D05A-467B-9842-BEC409EEA8D0}" |
7 | RootNamespace="Win32Window_vc8" | 7 | RootNamespace="Win32Window_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/Win32Window.tlb" | 41 | TypeLibraryName=".\Debug/Win32Window.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/Win32Window.pch" | 52 | PrecompiledHeaderFile=".\Debug/Win32Window.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 | AdditionalDependencies="kernel32.lib user32.lib gdi32.lib opengl32.lib" | 74 | AdditionalDependencies="kernel32.lib user32.lib gdi32.lib opengl32.lib" |
75 | OutputFile="..\..\bin\Win32-VisualStudio\14.Win32Window.exe" | 75 | OutputFile="..\..\bin\Win32-VisualStudio\14.Win32Window.exe" |
76 | LinkIncremental="0" | 76 | LinkIncremental="0" |
77 | SuppressStartupBanner="true" | 77 | SuppressStartupBanner="true" |
78 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 78 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
79 | GenerateDebugInformation="true" | 79 | GenerateDebugInformation="true" |
80 | ProgramDatabaseFile=".\Debug/Win32Window.pdb" | 80 | ProgramDatabaseFile=".\Debug/Win32Window.pdb" |
81 | SubSystem="1" | 81 | SubSystem="1" |
82 | TargetMachine="1" | 82 | TargetMachine="1" |
83 | /> | 83 | /> |
84 | <Tool | 84 | <Tool |
85 | Name="VCALinkTool" | 85 | Name="VCALinkTool" |
86 | /> | 86 | /> |
87 | <Tool | 87 | <Tool |
88 | Name="VCManifestTool" | 88 | Name="VCManifestTool" |
89 | /> | 89 | /> |
90 | <Tool | 90 | <Tool |
91 | Name="VCXDCMakeTool" | 91 | Name="VCXDCMakeTool" |
92 | /> | 92 | /> |
93 | <Tool | 93 | <Tool |
94 | Name="VCBscMakeTool" | 94 | Name="VCBscMakeTool" |
95 | /> | 95 | /> |
96 | <Tool | 96 | <Tool |
97 | Name="VCFxCopTool" | 97 | Name="VCFxCopTool" |
98 | /> | 98 | /> |
99 | <Tool | 99 | <Tool |
100 | Name="VCAppVerifierTool" | 100 | Name="VCAppVerifierTool" |
101 | /> | 101 | /> |
102 | <Tool | 102 | <Tool |
103 | Name="VCWebDeploymentTool" | 103 | Name="VCWebDeploymentTool" |
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/Win32Window.tlb" | 133 | TypeLibraryName=".\Release/Win32Window.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/Win32Window.pch" | 146 | PrecompiledHeaderFile=".\Release/Win32Window.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\14.Win32Window.exe" | 167 | OutputFile="..\..\bin\Win32-VisualStudio\14.Win32Window.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/Win32Window.pdb" | 171 | ProgramDatabaseFile=".\Release/Win32Window.pdb" |
172 | SubSystem="1" | 172 | SubSystem="1" |
173 | TargetMachine="1" | 173 | TargetMachine="1" |
174 | /> | 174 | /> |
175 | <Tool | 175 | <Tool |
176 | Name="VCALinkTool" | 176 | Name="VCALinkTool" |
177 | /> | 177 | /> |
178 | <Tool | 178 | <Tool |
179 | Name="VCManifestTool" | 179 | Name="VCManifestTool" |
180 | /> | 180 | /> |
181 | <Tool | 181 | <Tool |
182 | Name="VCXDCMakeTool" | 182 | Name="VCXDCMakeTool" |
183 | /> | 183 | /> |
184 | <Tool | 184 | <Tool |
185 | Name="VCBscMakeTool" | 185 | Name="VCBscMakeTool" |
186 | /> | 186 | /> |
187 | <Tool | 187 | <Tool |
188 | Name="VCFxCopTool" | 188 | Name="VCFxCopTool" |
189 | /> | 189 | /> |
190 | <Tool | 190 | <Tool |
191 | Name="VCAppVerifierTool" | 191 | Name="VCAppVerifierTool" |
192 | /> | 192 | /> |
193 | <Tool | 193 | <Tool |
194 | Name="VCWebDeploymentTool" | 194 | Name="VCWebDeploymentTool" |
195 | /> | 195 | /> |
196 | <Tool | 196 | <Tool |
197 | Name="VCPostBuildEventTool" | 197 | Name="VCPostBuildEventTool" |
198 | /> | 198 | /> |
199 | </Configuration> | 199 | </Configuration> |
200 | </Configurations> | 200 | </Configurations> |
201 | <References> | 201 | <References> |
202 | </References> | 202 | </References> |
203 | <Files> | 203 | <Files> |
204 | <File | 204 | <File |
205 | RelativePath="main.cpp" | 205 | RelativePath="main.cpp" |
206 | > | 206 | > |
207 | <FileConfiguration | 207 | <FileConfiguration |
208 | Name="Debug|Win32" | 208 | Name="Debug|Win32" |
209 | > | 209 | > |
210 | <Tool | 210 | <Tool |
211 | Name="VCCLCompilerTool" | 211 | Name="VCCLCompilerTool" |
212 | Optimization="0" | 212 | Optimization="0" |
213 | AdditionalIncludeDirectories="" | 213 | AdditionalIncludeDirectories="" |
214 | PreprocessorDefinitions="" | 214 | PreprocessorDefinitions="" |
215 | BasicRuntimeChecks="3" | 215 | BasicRuntimeChecks="3" |
216 | /> | 216 | /> |
217 | </FileConfiguration> | 217 | </FileConfiguration> |
218 | <FileConfiguration | 218 | <FileConfiguration |
219 | Name="Release|Win32" | 219 | Name="Release|Win32" |
220 | > | 220 | > |
221 | <Tool | 221 | <Tool |
222 | Name="VCCLCompilerTool" | 222 | Name="VCCLCompilerTool" |
223 | Optimization="2" | 223 | Optimization="2" |
224 | AdditionalIncludeDirectories="" | 224 | AdditionalIncludeDirectories="" |
225 | PreprocessorDefinitions="" | 225 | PreprocessorDefinitions="" |
226 | /> | 226 | /> |
227 | </FileConfiguration> | 227 | </FileConfiguration> |
228 | </File> | 228 | </File> |
229 | </Files> | 229 | </Files> |
230 | <Globals> | 230 | <Globals> |
231 | </Globals> | 231 | </Globals> |
232 | </VisualStudioProject> | 232 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc9.vcproj b/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc9.vcproj index 2902fba..d7d0b17 100644 --- a/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc9.vcproj +++ b/libraries/irrlicht-1.8/examples/14.Win32Window/Win32Window_vc9.vcproj | |||
@@ -1,232 +1,232 @@ | |||
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="14.Win32Window_vc9" | 5 | Name="14.Win32Window_vc9" |
6 | ProjectGUID="{772FBE05-D05A-467B-9842-BEC409EEA8D0}" | 6 | ProjectGUID="{772FBE05-D05A-467B-9842-BEC409EEA8D0}" |
7 | RootNamespace="Win32Window_vc9" | 7 | RootNamespace="Win32Window_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/Win32Window.tlb" | 42 | TypeLibraryName=".\Debug/Win32Window.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/Win32Window.pch" | 53 | PrecompiledHeaderFile=".\Debug/Win32Window.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="kernel32.lib user32.lib gdi32.lib opengl32.lib" | 75 | AdditionalDependencies="kernel32.lib user32.lib gdi32.lib opengl32.lib" |
76 | OutputFile="..\..\bin\Win32-VisualStudio\14.Win32Window.exe" | 76 | OutputFile="..\..\bin\Win32-VisualStudio\14.Win32Window.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/Win32Window.pdb" | 81 | ProgramDatabaseFile=".\Debug/Win32Window.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/Win32Window.tlb" | 133 | TypeLibraryName=".\Release/Win32Window.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/Win32Window.pch" | 146 | PrecompiledHeaderFile=".\Release/Win32Window.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 | AdditionalDependencies="opengl32.lib" | 167 | AdditionalDependencies="opengl32.lib" |
168 | OutputFile="..\..\bin\Win32-VisualStudio\14.Win32Window.exe" | 168 | OutputFile="..\..\bin\Win32-VisualStudio\14.Win32Window.exe" |
169 | LinkIncremental="0" | 169 | LinkIncremental="0" |
170 | SuppressStartupBanner="true" | 170 | SuppressStartupBanner="true" |
171 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 171 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
172 | ProgramDatabaseFile=".\Release/Win32Window.pdb" | 172 | ProgramDatabaseFile=".\Release/Win32Window.pdb" |
173 | SubSystem="1" | 173 | SubSystem="1" |
174 | RandomizedBaseAddress="1" | 174 | RandomizedBaseAddress="1" |
175 | DataExecutionPrevention="0" | 175 | DataExecutionPrevention="0" |
176 | TargetMachine="1" | 176 | TargetMachine="1" |
177 | /> | 177 | /> |
178 | <Tool | 178 | <Tool |
179 | Name="VCALinkTool" | 179 | Name="VCALinkTool" |
180 | /> | 180 | /> |
181 | <Tool | 181 | <Tool |
182 | Name="VCManifestTool" | 182 | Name="VCManifestTool" |
183 | /> | 183 | /> |
184 | <Tool | 184 | <Tool |
185 | Name="VCXDCMakeTool" | 185 | Name="VCXDCMakeTool" |
186 | /> | 186 | /> |
187 | <Tool | 187 | <Tool |
188 | Name="VCBscMakeTool" | 188 | Name="VCBscMakeTool" |
189 | /> | 189 | /> |
190 | <Tool | 190 | <Tool |
191 | Name="VCFxCopTool" | 191 | Name="VCFxCopTool" |
192 | /> | 192 | /> |
193 | <Tool | 193 | <Tool |
194 | Name="VCAppVerifierTool" | 194 | Name="VCAppVerifierTool" |
195 | /> | 195 | /> |
196 | <Tool | 196 | <Tool |
197 | Name="VCPostBuildEventTool" | 197 | Name="VCPostBuildEventTool" |
198 | /> | 198 | /> |
199 | </Configuration> | 199 | </Configuration> |
200 | </Configurations> | 200 | </Configurations> |
201 | <References> | 201 | <References> |
202 | </References> | 202 | </References> |
203 | <Files> | 203 | <Files> |
204 | <File | 204 | <File |
205 | RelativePath="main.cpp" | 205 | RelativePath="main.cpp" |
206 | > | 206 | > |
207 | <FileConfiguration | 207 | <FileConfiguration |
208 | Name="Debug|Win32" | 208 | Name="Debug|Win32" |
209 | > | 209 | > |
210 | <Tool | 210 | <Tool |
211 | Name="VCCLCompilerTool" | 211 | Name="VCCLCompilerTool" |
212 | Optimization="0" | 212 | Optimization="0" |
213 | AdditionalIncludeDirectories="" | 213 | AdditionalIncludeDirectories="" |
214 | PreprocessorDefinitions="" | 214 | PreprocessorDefinitions="" |
215 | BasicRuntimeChecks="3" | 215 | BasicRuntimeChecks="3" |
216 | /> | 216 | /> |
217 | </FileConfiguration> | 217 | </FileConfiguration> |
218 | <FileConfiguration | 218 | <FileConfiguration |
219 | Name="Release|Win32" | 219 | Name="Release|Win32" |
220 | > | 220 | > |
221 | <Tool | 221 | <Tool |
222 | Name="VCCLCompilerTool" | 222 | Name="VCCLCompilerTool" |
223 | Optimization="2" | 223 | Optimization="2" |
224 | AdditionalIncludeDirectories="" | 224 | AdditionalIncludeDirectories="" |
225 | PreprocessorDefinitions="" | 225 | PreprocessorDefinitions="" |
226 | /> | 226 | /> |
227 | </FileConfiguration> | 227 | </FileConfiguration> |
228 | </File> | 228 | </File> |
229 | </Files> | 229 | </Files> |
230 | <Globals> | 230 | <Globals> |
231 | </Globals> | 231 | </Globals> |
232 | </VisualStudioProject> | 232 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/14.Win32Window/main.cpp b/libraries/irrlicht-1.8/examples/14.Win32Window/main.cpp index 33d111e..e43357b 100644 --- a/libraries/irrlicht-1.8/examples/14.Win32Window/main.cpp +++ b/libraries/irrlicht-1.8/examples/14.Win32Window/main.cpp | |||
@@ -1,251 +1,251 @@ | |||
1 | /** Example 014 Win32 Window | 1 | /** Example 014 Win32 Window |
2 | 2 | ||
3 | This example only runs under MS Windows and demonstrates that Irrlicht can | 3 | This example only runs under MS Windows and demonstrates that Irrlicht can |
4 | render inside a win32 window. MFC and .NET Windows.Forms windows are possible, | 4 | render inside a win32 window. MFC and .NET Windows.Forms windows are possible, |
5 | too. | 5 | too. |
6 | 6 | ||
7 | In the beginning, we create a windows window using the windows API. I'm not | 7 | In the beginning, we create a windows window using the windows API. I'm not |
8 | going to explain this code, because it is windows specific. See the MSDN or a | 8 | going to explain this code, because it is windows specific. See the MSDN or a |
9 | windows book for details. | 9 | windows book for details. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <irrlicht.h> | 12 | #include <irrlicht.h> |
13 | #ifndef _IRR_WINDOWS_ | 13 | #ifndef _IRR_WINDOWS_ |
14 | #error Windows only example | 14 | #error Windows only example |
15 | #else | 15 | #else |
16 | #include <windows.h> // this example only runs with windows | 16 | #include <windows.h> // this example only runs with windows |
17 | #include <iostream> | 17 | #include <iostream> |
18 | #include "driverChoice.h" | 18 | #include "driverChoice.h" |
19 | 19 | ||
20 | using namespace irr; | 20 | using namespace irr; |
21 | 21 | ||
22 | #pragma comment(lib, "irrlicht.lib") | 22 | #pragma comment(lib, "irrlicht.lib") |
23 | 23 | ||
24 | HWND hOKButton; | 24 | HWND hOKButton; |
25 | HWND hWnd; | 25 | HWND hWnd; |
26 | 26 | ||
27 | static LRESULT CALLBACK CustomWndProc(HWND hWnd, UINT message, | 27 | static LRESULT CALLBACK CustomWndProc(HWND hWnd, UINT message, |
28 | WPARAM wParam, LPARAM lParam) | 28 | WPARAM wParam, LPARAM lParam) |
29 | { | 29 | { |
30 | switch (message) | 30 | switch (message) |
31 | { | 31 | { |
32 | case WM_COMMAND: | 32 | case WM_COMMAND: |
33 | { | 33 | { |
34 | HWND hwndCtl = (HWND)lParam; | 34 | HWND hwndCtl = (HWND)lParam; |
35 | int code = HIWORD(wParam); | 35 | int code = HIWORD(wParam); |
36 | 36 | ||
37 | if (hwndCtl == hOKButton) | 37 | if (hwndCtl == hOKButton) |
38 | { | 38 | { |
39 | DestroyWindow(hWnd); | 39 | DestroyWindow(hWnd); |
40 | PostQuitMessage(0); | 40 | PostQuitMessage(0); |
41 | return 0; | 41 | return 0; |
42 | } | 42 | } |
43 | } | 43 | } |
44 | break; | 44 | break; |
45 | case WM_DESTROY: | 45 | case WM_DESTROY: |
46 | PostQuitMessage(0); | 46 | PostQuitMessage(0); |
47 | return 0; | 47 | return 0; |
48 | 48 | ||
49 | } | 49 | } |
50 | 50 | ||
51 | return DefWindowProc(hWnd, message, wParam, lParam); | 51 | return DefWindowProc(hWnd, message, wParam, lParam); |
52 | } | 52 | } |
53 | 53 | ||
54 | 54 | ||
55 | /* | 55 | /* |
56 | Now ask for the driver and create the Windows specific window. | 56 | Now ask for the driver and create the Windows specific window. |
57 | */ | 57 | */ |
58 | int main() | 58 | int main() |
59 | { | 59 | { |
60 | // ask user for driver | 60 | // ask user for driver |
61 | video::E_DRIVER_TYPE driverType=driverChoiceConsole(); | 61 | video::E_DRIVER_TYPE driverType=driverChoiceConsole(); |
62 | if (driverType==video::EDT_COUNT) | 62 | if (driverType==video::EDT_COUNT) |
63 | return 1; | 63 | return 1; |
64 | 64 | ||
65 | printf("Select the render window (some dead window may exist too):\n"\ | 65 | printf("Select the render window (some dead window may exist too):\n"\ |
66 | " (a) Window with button (via CreationParam)\n"\ | 66 | " (a) Window with button (via CreationParam)\n"\ |
67 | " (b) Window with button (via beginScene)\n"\ | 67 | " (b) Window with button (via beginScene)\n"\ |
68 | " (c) Own Irrlicht window (default behavior)\n"\ | 68 | " (c) Own Irrlicht window (default behavior)\n"\ |
69 | " (otherKey) exit\n\n"); | 69 | " (otherKey) exit\n\n"); |
70 | 70 | ||
71 | char key; | 71 | char key; |
72 | std::cin >> key; | 72 | std::cin >> key; |
73 | if (key != 'a' && key != 'b' && key != 'c') | 73 | if (key != 'a' && key != 'b' && key != 'c') |
74 | return 1; | 74 | return 1; |
75 | 75 | ||
76 | HINSTANCE hInstance = 0; | 76 | HINSTANCE hInstance = 0; |
77 | // create dialog | 77 | // create dialog |
78 | 78 | ||
79 | const char* Win32ClassName = "CIrrlichtWindowsTestDialog"; | 79 | const char* Win32ClassName = "CIrrlichtWindowsTestDialog"; |
80 | 80 | ||
81 | WNDCLASSEX wcex; | 81 | WNDCLASSEX wcex; |
82 | wcex.cbSize = sizeof(WNDCLASSEX); | 82 | wcex.cbSize = sizeof(WNDCLASSEX); |
83 | wcex.style = CS_HREDRAW | CS_VREDRAW; | 83 | wcex.style = CS_HREDRAW | CS_VREDRAW; |
84 | wcex.lpfnWndProc = (WNDPROC)CustomWndProc; | 84 | wcex.lpfnWndProc = (WNDPROC)CustomWndProc; |
85 | wcex.cbClsExtra = 0; | 85 | wcex.cbClsExtra = 0; |
86 | wcex.cbWndExtra = DLGWINDOWEXTRA; | 86 | wcex.cbWndExtra = DLGWINDOWEXTRA; |
87 | wcex.hInstance = hInstance; | 87 | wcex.hInstance = hInstance; |
88 | wcex.hIcon = NULL; | 88 | wcex.hIcon = NULL; |
89 | wcex.hCursor = LoadCursor(NULL, IDC_ARROW); | 89 | wcex.hCursor = LoadCursor(NULL, IDC_ARROW); |
90 | wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW); | 90 | wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW); |
91 | wcex.lpszMenuName = 0; | 91 | wcex.lpszMenuName = 0; |
92 | wcex.lpszClassName = Win32ClassName; | 92 | wcex.lpszClassName = Win32ClassName; |
93 | wcex.hIconSm = 0; | 93 | wcex.hIconSm = 0; |
94 | 94 | ||
95 | RegisterClassEx(&wcex); | 95 | RegisterClassEx(&wcex); |
96 | 96 | ||
97 | DWORD style = WS_SYSMENU | WS_BORDER | WS_CAPTION | | 97 | DWORD style = WS_SYSMENU | WS_BORDER | WS_CAPTION | |
98 | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_MAXIMIZEBOX | WS_MINIMIZEBOX | WS_SIZEBOX; | 98 | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_MAXIMIZEBOX | WS_MINIMIZEBOX | WS_SIZEBOX; |
99 | 99 | ||
100 | int windowWidth = 440; | 100 | int windowWidth = 440; |
101 | int windowHeight = 380; | 101 | int windowHeight = 380; |
102 | 102 | ||
103 | hWnd = CreateWindow( Win32ClassName, "Irrlicht Win32 window example", | 103 | hWnd = CreateWindow( Win32ClassName, "Irrlicht Win32 window example", |
104 | style, 100, 100, windowWidth, windowHeight, | 104 | style, 100, 100, windowWidth, windowHeight, |
105 | NULL, NULL, hInstance, NULL); | 105 | NULL, NULL, hInstance, NULL); |
106 | 106 | ||
107 | RECT clientRect; | 107 | RECT clientRect; |
108 | GetClientRect(hWnd, &clientRect); | 108 | GetClientRect(hWnd, &clientRect); |
109 | windowWidth = clientRect.right; | 109 | windowWidth = clientRect.right; |
110 | windowHeight = clientRect.bottom; | 110 | windowHeight = clientRect.bottom; |
111 | 111 | ||
112 | // create ok button | 112 | // create ok button |
113 | 113 | ||
114 | hOKButton = CreateWindow("BUTTON", "OK - Close", WS_CHILD | WS_VISIBLE | BS_TEXT, | 114 | hOKButton = CreateWindow("BUTTON", "OK - Close", WS_CHILD | WS_VISIBLE | BS_TEXT, |
115 | windowWidth - 160, windowHeight - 40, 150, 30, hWnd, NULL, hInstance, NULL); | 115 | windowWidth - 160, windowHeight - 40, 150, 30, hWnd, NULL, hInstance, NULL); |
116 | 116 | ||
117 | // create some text | 117 | // create some text |
118 | 118 | ||
119 | CreateWindow("STATIC", "This is Irrlicht running inside a standard Win32 window.\n"\ | 119 | CreateWindow("STATIC", "This is Irrlicht running inside a standard Win32 window.\n"\ |
120 | "Also mixing with MFC and .NET Windows.Forms is possible.", | 120 | "Also mixing with MFC and .NET Windows.Forms is possible.", |
121 | WS_CHILD | WS_VISIBLE, 20, 20, 400, 40, hWnd, NULL, hInstance, NULL); | 121 | WS_CHILD | WS_VISIBLE, 20, 20, 400, 40, hWnd, NULL, hInstance, NULL); |
122 | 122 | ||
123 | // create window to put irrlicht in | 123 | // create window to put irrlicht in |
124 | 124 | ||
125 | HWND hIrrlichtWindow = CreateWindow("BUTTON", "", | 125 | HWND hIrrlichtWindow = CreateWindow("BUTTON", "", |
126 | WS_CHILD | WS_VISIBLE | BS_OWNERDRAW, | 126 | WS_CHILD | WS_VISIBLE | BS_OWNERDRAW, |
127 | 50, 80, 320, 220, hWnd, NULL, hInstance, NULL); | 127 | 50, 80, 320, 220, hWnd, NULL, hInstance, NULL); |
128 | video::SExposedVideoData videodata((key=='b')?hIrrlichtWindow:0); | 128 | video::SExposedVideoData videodata((key=='b')?hIrrlichtWindow:0); |
129 | 129 | ||
130 | /* | 130 | /* |
131 | So now that we have some window, we can create an Irrlicht device | 131 | So now that we have some window, we can create an Irrlicht device |
132 | inside of it. We use Irrlicht createEx() function for this. We only | 132 | inside of it. We use Irrlicht createEx() function for this. We only |
133 | need the handle (HWND) to that window, set it as windowsID parameter | 133 | need the handle (HWND) to that window, set it as windowsID parameter |
134 | and start up the engine as usual. That's it. | 134 | and start up the engine as usual. That's it. |
135 | */ | 135 | */ |
136 | // create irrlicht device in the button window | 136 | // create irrlicht device in the button window |
137 | 137 | ||
138 | irr::SIrrlichtCreationParameters param; | 138 | irr::SIrrlichtCreationParameters param; |
139 | param.DriverType = driverType; | 139 | param.DriverType = driverType; |
140 | if (key=='a') | 140 | if (key=='a') |
141 | param.WindowId = reinterpret_cast<void*>(hIrrlichtWindow); | 141 | param.WindowId = reinterpret_cast<void*>(hIrrlichtWindow); |
142 | 142 | ||
143 | irr::IrrlichtDevice* device = irr::createDeviceEx(param); | 143 | irr::IrrlichtDevice* device = irr::createDeviceEx(param); |
144 | if (!device) | 144 | if (!device) |
145 | return 1; | 145 | return 1; |
146 | 146 | ||
147 | // setup a simple 3d scene | 147 | // setup a simple 3d scene |
148 | 148 | ||
149 | irr::scene::ISceneManager* smgr = device->getSceneManager(); | 149 | irr::scene::ISceneManager* smgr = device->getSceneManager(); |
150 | video::IVideoDriver* driver = device->getVideoDriver(); | 150 | video::IVideoDriver* driver = device->getVideoDriver(); |
151 | 151 | ||
152 | if (driverType==video::EDT_OPENGL) | 152 | if (driverType==video::EDT_OPENGL) |
153 | { | 153 | { |
154 | HDC HDc=GetDC(hIrrlichtWindow); | 154 | HDC HDc=GetDC(hIrrlichtWindow); |
155 | PIXELFORMATDESCRIPTOR pfd={0}; | 155 | PIXELFORMATDESCRIPTOR pfd={0}; |
156 | pfd.nSize=sizeof(PIXELFORMATDESCRIPTOR); | 156 | pfd.nSize=sizeof(PIXELFORMATDESCRIPTOR); |
157 | int pf = GetPixelFormat(HDc); | 157 | int pf = GetPixelFormat(HDc); |
158 | DescribePixelFormat(HDc, pf, sizeof(PIXELFORMATDESCRIPTOR), &pfd); | 158 | DescribePixelFormat(HDc, pf, sizeof(PIXELFORMATDESCRIPTOR), &pfd); |
159 | pfd.dwFlags |= PFD_DOUBLEBUFFER | PFD_SUPPORT_OPENGL | PFD_DRAW_TO_WINDOW; | 159 | pfd.dwFlags |= PFD_DOUBLEBUFFER | PFD_SUPPORT_OPENGL | PFD_DRAW_TO_WINDOW; |
160 | pfd.cDepthBits=16; | 160 | pfd.cDepthBits=16; |
161 | pf = ChoosePixelFormat(HDc, &pfd); | 161 | pf = ChoosePixelFormat(HDc, &pfd); |
162 | SetPixelFormat(HDc, pf, &pfd); | 162 | SetPixelFormat(HDc, pf, &pfd); |
163 | videodata.OpenGLWin32.HDc = HDc; | 163 | videodata.OpenGLWin32.HDc = HDc; |
164 | videodata.OpenGLWin32.HRc=wglCreateContext(HDc); | 164 | videodata.OpenGLWin32.HRc=wglCreateContext(HDc); |
165 | wglShareLists((HGLRC)driver->getExposedVideoData().OpenGLWin32.HRc, (HGLRC)videodata.OpenGLWin32.HRc); | 165 | wglShareLists((HGLRC)driver->getExposedVideoData().OpenGLWin32.HRc, (HGLRC)videodata.OpenGLWin32.HRc); |
166 | } | 166 | } |
167 | scene::ICameraSceneNode* cam = smgr->addCameraSceneNode(); | 167 | scene::ICameraSceneNode* cam = smgr->addCameraSceneNode(); |
168 | cam->setTarget(core::vector3df(0,0,0)); | 168 | cam->setTarget(core::vector3df(0,0,0)); |
169 | 169 | ||
170 | scene::ISceneNodeAnimator* anim = | 170 | scene::ISceneNodeAnimator* anim = |
171 | smgr->createFlyCircleAnimator(core::vector3df(0,15,0), 30.0f); | 171 | smgr->createFlyCircleAnimator(core::vector3df(0,15,0), 30.0f); |
172 | cam->addAnimator(anim); | 172 | cam->addAnimator(anim); |
173 | anim->drop(); | 173 | anim->drop(); |
174 | 174 | ||
175 | scene::ISceneNode* cube = smgr->addCubeSceneNode(20); | 175 | scene::ISceneNode* cube = smgr->addCubeSceneNode(20); |
176 | 176 | ||
177 | cube->setMaterialTexture(0, driver->getTexture("../../media/wall.bmp")); | 177 | cube->setMaterialTexture(0, driver->getTexture("../../media/wall.bmp")); |
178 | cube->setMaterialTexture(1, driver->getTexture("../../media/water.jpg")); | 178 | cube->setMaterialTexture(1, driver->getTexture("../../media/water.jpg")); |
179 | cube->setMaterialFlag( video::EMF_LIGHTING, false ); | 179 | cube->setMaterialFlag( video::EMF_LIGHTING, false ); |
180 | cube->setMaterialType( video::EMT_REFLECTION_2_LAYER ); | 180 | cube->setMaterialType( video::EMT_REFLECTION_2_LAYER ); |
181 | 181 | ||
182 | smgr->addSkyBoxSceneNode( | 182 | smgr->addSkyBoxSceneNode( |
183 | driver->getTexture("../../media/irrlicht2_up.jpg"), | 183 | driver->getTexture("../../media/irrlicht2_up.jpg"), |
184 | driver->getTexture("../../media/irrlicht2_dn.jpg"), | 184 | driver->getTexture("../../media/irrlicht2_dn.jpg"), |
185 | driver->getTexture("../../media/irrlicht2_lf.jpg"), | 185 | driver->getTexture("../../media/irrlicht2_lf.jpg"), |
186 | driver->getTexture("../../media/irrlicht2_rt.jpg"), | 186 | driver->getTexture("../../media/irrlicht2_rt.jpg"), |
187 | driver->getTexture("../../media/irrlicht2_ft.jpg"), | 187 | driver->getTexture("../../media/irrlicht2_ft.jpg"), |
188 | driver->getTexture("../../media/irrlicht2_bk.jpg")); | 188 | driver->getTexture("../../media/irrlicht2_bk.jpg")); |
189 | 189 | ||
190 | // show and execute dialog | 190 | // show and execute dialog |
191 | 191 | ||
192 | ShowWindow(hWnd , SW_SHOW); | 192 | ShowWindow(hWnd , SW_SHOW); |
193 | UpdateWindow(hWnd); | 193 | UpdateWindow(hWnd); |
194 | 194 | ||
195 | // do message queue | 195 | // do message queue |
196 | 196 | ||
197 | /* | 197 | /* |
198 | Now the only thing missing is the drawing loop using | 198 | Now the only thing missing is the drawing loop using |
199 | IrrlichtDevice::run(). We do this as usual. But instead of this, there | 199 | IrrlichtDevice::run(). We do this as usual. But instead of this, there |
200 | is another possibility: You can also simply use your own message loop | 200 | is another possibility: You can also simply use your own message loop |
201 | using GetMessage, DispatchMessage and whatever. Calling | 201 | using GetMessage, DispatchMessage and whatever. Calling |
202 | Device->run() will cause Irrlicht to dispatch messages internally too. | 202 | Device->run() will cause Irrlicht to dispatch messages internally too. |
203 | You need not call Device->run() if you want to do your own message | 203 | You need not call Device->run() if you want to do your own message |
204 | dispatching loop, but Irrlicht will not be able to fetch user input | 204 | dispatching loop, but Irrlicht will not be able to fetch user input |
205 | then and you have to do it on your own using the window messages, | 205 | then and you have to do it on your own using the window messages, |
206 | DirectInput, or whatever. | 206 | DirectInput, or whatever. |
207 | */ | 207 | */ |
208 | 208 | ||
209 | while (device->run()) | 209 | while (device->run()) |
210 | { | 210 | { |
211 | driver->beginScene(true, true, 0, videodata); | 211 | driver->beginScene(true, true, 0, videodata); |
212 | smgr->drawAll(); | 212 | smgr->drawAll(); |
213 | driver->endScene(); | 213 | driver->endScene(); |
214 | } | 214 | } |
215 | 215 | ||
216 | /* | 216 | /* |
217 | The alternative, own message dispatching loop without Device->run() | 217 | The alternative, own message dispatching loop without Device->run() |
218 | would look like this: | 218 | would look like this: |
219 | */ | 219 | */ |
220 | 220 | ||
221 | /*MSG msg; | 221 | /*MSG msg; |
222 | while (true) | 222 | while (true) |
223 | { | 223 | { |
224 | if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) | 224 | if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) |
225 | { | 225 | { |
226 | TranslateMessage(&msg); | 226 | TranslateMessage(&msg); |
227 | DispatchMessage(&msg); | 227 | DispatchMessage(&msg); |
228 | 228 | ||
229 | if (msg.message == WM_QUIT) | 229 | if (msg.message == WM_QUIT) |
230 | break; | 230 | break; |
231 | } | 231 | } |
232 | 232 | ||
233 | // advance virtual time | 233 | // advance virtual time |
234 | device->getTimer()->tick(); | 234 | device->getTimer()->tick(); |
235 | 235 | ||
236 | // draw engine picture | 236 | // draw engine picture |
237 | driver->beginScene(true, true, 0, (key=='c')?hIrrlichtWindow:0); | 237 | driver->beginScene(true, true, 0, (key=='c')?hIrrlichtWindow:0); |
238 | smgr->drawAll(); | 238 | smgr->drawAll(); |
239 | driver->endScene(); | 239 | driver->endScene(); |
240 | }*/ | 240 | }*/ |
241 | 241 | ||
242 | device->closeDevice(); | 242 | device->closeDevice(); |
243 | device->drop(); | 243 | device->drop(); |
244 | 244 | ||
245 | return 0; | 245 | return 0; |
246 | } | 246 | } |
247 | #endif // if windows | 247 | #endif // if windows |
248 | 248 | ||
249 | /* | 249 | /* |
250 | That's it, Irrlicht now runs in your own windows window. | 250 | That's it, Irrlicht now runs in your own windows window. |
251 | **/ | 251 | **/ |
diff --git a/libraries/irrlicht-1.8/examples/14.Win32Window/tutorial.html b/libraries/irrlicht-1.8/examples/14.Win32Window/tutorial.html index 6c5d5ba..11d27d5 100644 --- a/libraries/irrlicht-1.8/examples/14.Win32Window/tutorial.html +++ b/libraries/irrlicht-1.8/examples/14.Win32Window/tutorial.html | |||
@@ -1,247 +1,247 @@ | |||
1 | <html> | 1 | <html> |
2 | <head> | 2 | <head> |
3 | <title>Irrlicht Engine Tutorial</title> | 3 | <title>Irrlicht Engine Tutorial</title> |
4 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 4 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
5 | </head> | 5 | </head> |
6 | 6 | ||
7 | <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> | 7 | <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> |
8 | <br> | 8 | <br> |
9 | <table width="95%" border="0" cellspacing="0" cellpadding="2" align="center"> | 9 | <table width="95%" border="0" cellspacing="0" cellpadding="2" align="center"> |
10 | <tr> | 10 | <tr> |
11 | <td bgcolor="#666699" width="10"><b><a href="http://irrlicht.sourceforge.net" target="_blank"><img src="../../media/irrlichtlogo.jpg" width="88" height="31" border="0"></a></b></td> | 11 | <td bgcolor="#666699" width="10"><b><a href="http://irrlicht.sourceforge.net" target="_blank"><img src="../../media/irrlichtlogo.jpg" width="88" height="31" border="0"></a></b></td> |
12 | <td bgcolor="#666699" width="100%"> | 12 | <td bgcolor="#666699" width="100%"> |
13 | <div align="center"> | 13 | <div align="center"> |
14 | <div align="left"><b><font color="#FFFFFF">Tutorial 14. Win32 Window</font></b></div> | 14 | <div align="left"><b><font color="#FFFFFF">Tutorial 14. Win32 Window</font></b></div> |
15 | </div> | 15 | </div> |
16 | </td> | 16 | </td> |
17 | </tr> | 17 | </tr> |
18 | <tr bgcolor="#eeeeff"> | 18 | <tr bgcolor="#eeeeff"> |
19 | <td height="90" colspan="2"> | 19 | <td height="90" colspan="2"> |
20 | <div align="left"> | 20 | <div align="left"> |
21 | <p> This example only runs in Windows and demonstrates that Irrlicht can | 21 | <p> This example only runs in Windows and demonstrates that Irrlicht can |
22 | run inside a win32 window. MFC and .NET Windows.Forms windows are possible | 22 | run inside a win32 window. MFC and .NET Windows.Forms windows are possible |
23 | too. </p> | 23 | too. </p> |
24 | <p>The program which is described here will look like this:</p> | 24 | <p>The program which is described here will look like this:</p> |
25 | <p align="center"><img src="../../media/014shot.jpg" width="256" height="200"><br> | 25 | <p align="center"><img src="../../media/014shot.jpg" width="256" height="200"><br> |
26 | </p> | 26 | </p> |
27 | </div> | 27 | </div> |
28 | </td> | 28 | </td> |
29 | </tr> | 29 | </tr> |
30 | </table> | 30 | </table> |
31 | <br> | 31 | <br> |
32 | <table width="95%" border="0" cellspacing="0" cellpadding="2" align="center"> | 32 | <table width="95%" border="0" cellspacing="0" cellpadding="2" align="center"> |
33 | <tr> | 33 | <tr> |
34 | <td bgcolor="#666699"> <b><font color="#FFFFFF">Lets start!</font></b></td> | 34 | <td bgcolor="#666699"> <b><font color="#FFFFFF">Lets start!</font></b></td> |
35 | </tr> | 35 | </tr> |
36 | <tr> | 36 | <tr> |
37 | <td height="90" bgcolor="#eeeeff" valign="top"> <div align="left"> | 37 | <td height="90" bgcolor="#eeeeff" valign="top"> <div align="left"> |
38 | <div align="left"> | 38 | <div align="left"> |
39 | <p> In the begining, we create a windows window using the windows API. | 39 | <p> In the begining, we create a windows window using the windows API. |
40 | I'm not going to explain this code, because it is windows specific. | 40 | I'm not going to explain this code, because it is windows specific. |
41 | See the MSDN or a windows book for details.</p> | 41 | See the MSDN or a windows book for details.</p> |
42 | <table width="95%" border="0" cellspacing="2" cellpadding="0" bgcolor="#CCCCCC" align="center"> | 42 | <table width="95%" border="0" cellspacing="2" cellpadding="0" bgcolor="#CCCCCC" align="center"> |
43 | <tr> | 43 | <tr> |
44 | <td><pre>#include <irrlicht.h> | 44 | <td><pre>#include <irrlicht.h> |
45 | #include <windows.h> <font color="#006600">// this example only runs with windows</font> | 45 | #include <windows.h> <font color="#006600">// this example only runs with windows</font> |
46 | 46 | ||
47 | using namespace irr; | 47 | using namespace irr; |
48 | 48 | ||
49 | #pragma comment(lib, "irrlicht.lib") | 49 | #pragma comment(lib, "irrlicht.lib") |
50 | 50 | ||
51 | HWND hOKButton; | 51 | HWND hOKButton; |
52 | HWND hWnd; | 52 | HWND hWnd; |
53 | 53 | ||
54 | static LRESULT CALLBACK CustomWndProc(HWND hWnd, UINT message, | 54 | static LRESULT CALLBACK CustomWndProc(HWND hWnd, UINT message, |
55 | WPARAM wParam, LPARAM lParam) | 55 | WPARAM wParam, LPARAM lParam) |
56 | { | 56 | { |
57 | switch (message) | 57 | switch (message) |
58 | { | 58 | { |
59 | case WM_COMMAND: | 59 | case WM_COMMAND: |
60 | { | 60 | { |
61 | HWND hwndCtl = (HWND)lParam; | 61 | HWND hwndCtl = (HWND)lParam; |
62 | int code = HIWORD(wParam); | 62 | int code = HIWORD(wParam); |
63 | 63 | ||
64 | if (hwndCtl == hOKButton) | 64 | if (hwndCtl == hOKButton) |
65 | { | 65 | { |
66 | DestroyWindow(hWnd); | 66 | DestroyWindow(hWnd); |
67 | PostQuitMessage(0); | 67 | PostQuitMessage(0); |
68 | return 0; | 68 | return 0; |
69 | } | 69 | } |
70 | } | 70 | } |
71 | break; | 71 | break; |
72 | case WM_DESTROY: | 72 | case WM_DESTROY: |
73 | PostQuitMessage(0); | 73 | PostQuitMessage(0); |
74 | return 0; | 74 | return 0; |
75 | 75 | ||
76 | } | 76 | } |
77 | 77 | ||
78 | return DefWindowProc(hWnd, message, wParam, lParam); | 78 | return DefWindowProc(hWnd, message, wParam, lParam); |
79 | } | 79 | } |
80 | 80 | ||
81 | int main() | 81 | int main() |
82 | <font color="#006600">//int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hpre, LPSTR cmd, int cc)</font> | 82 | <font color="#006600">//int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hpre, LPSTR cmd, int cc)</font> |
83 | { | 83 | { |
84 | HINSTANCE hInstance = 0; | 84 | HINSTANCE hInstance = 0; |
85 | <font color="#006600"> // create dialog</font> | 85 | <font color="#006600"> // create dialog</font> |
86 | 86 | ||
87 | const char* Win32ClassName = "CIrrlichtWindowsTestDialog"; | 87 | const char* Win32ClassName = "CIrrlichtWindowsTestDialog"; |
88 | 88 | ||
89 | WNDCLASSEX wcex; | 89 | WNDCLASSEX wcex; |
90 | wcex.cbSize = sizeof(WNDCLASSEX); | 90 | wcex.cbSize = sizeof(WNDCLASSEX); |
91 | wcex.style = CS_HREDRAW | CS_VREDRAW; | 91 | wcex.style = CS_HREDRAW | CS_VREDRAW; |
92 | wcex.lpfnWndProc = (WNDPROC)CustomWndProc; | 92 | wcex.lpfnWndProc = (WNDPROC)CustomWndProc; |
93 | wcex.cbClsExtra = 0; | 93 | wcex.cbClsExtra = 0; |
94 | wcex.cbWndExtra = DLGWINDOWEXTRA; | 94 | wcex.cbWndExtra = DLGWINDOWEXTRA; |
95 | wcex.hInstance = hInstance; | 95 | wcex.hInstance = hInstance; |
96 | wcex.hIcon = NULL; | 96 | wcex.hIcon = NULL; |
97 | wcex.hCursor = LoadCursor(NULL, IDC_ARROW); | 97 | wcex.hCursor = LoadCursor(NULL, IDC_ARROW); |
98 | wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW); | 98 | wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW); |
99 | wcex.lpszMenuName = 0; | 99 | wcex.lpszMenuName = 0; |
100 | wcex.lpszClassName = Win32ClassName; | 100 | wcex.lpszClassName = Win32ClassName; |
101 | wcex.hIconSm = 0; | 101 | wcex.hIconSm = 0; |
102 | 102 | ||
103 | RegisterClassEx(&wcex); | 103 | RegisterClassEx(&wcex); |
104 | 104 | ||
105 | DWORD style = WS_SYSMENU | WS_BORDER | WS_CAPTION | | 105 | DWORD style = WS_SYSMENU | WS_BORDER | WS_CAPTION | |
106 | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_MAXIMIZEBOX | 106 | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_MAXIMIZEBOX |
107 | | WS_MINIMIZEBOX | WS_SIZEBOX; | 107 | | WS_MINIMIZEBOX | WS_SIZEBOX; |
108 | 108 | ||
109 | int windowWidth = 440; | 109 | int windowWidth = 440; |
110 | int windowHeight = 380; | 110 | int windowHeight = 380; |
111 | 111 | ||
112 | hWnd = CreateWindow( Win32ClassName, "Irrlicht Win32 window example", | 112 | hWnd = CreateWindow( Win32ClassName, "Irrlicht Win32 window example", |
113 | style, 100, 100, windowWidth, windowHeight, | 113 | style, 100, 100, windowWidth, windowHeight, |
114 | NULL, NULL, hInstance, NULL); | 114 | NULL, NULL, hInstance, NULL); |
115 | 115 | ||
116 | RECT clientRect; | 116 | RECT clientRect; |
117 | GetClientRect(hWnd, &clientRect); | 117 | GetClientRect(hWnd, &clientRect); |
118 | windowWidth = clientRect.right; | 118 | windowWidth = clientRect.right; |
119 | windowHeight = clientRect.bottom; | 119 | windowHeight = clientRect.bottom; |
120 | 120 | ||
121 | <font color="#006600"> // create ok butt</font>on | 121 | <font color="#006600"> // create ok butt</font>on |
122 | 122 | ||
123 | hOKButton = CreateWindow( | 123 | hOKButton = CreateWindow( |
124 | "BUTTON", "OK - Close", WS_CHILD | WS_VISIBLE | BS_TEXT, | 124 | "BUTTON", "OK - Close", WS_CHILD | WS_VISIBLE | BS_TEXT, |
125 | windowWidth - 160, windowHeight - 40, 150, 30, hWnd, NULL, | 125 | windowWidth - 160, windowHeight - 40, 150, 30, hWnd, NULL, |
126 | hInstance, NULL); | 126 | hInstance, NULL); |
127 | 127 | ||
128 | <font color="#006600"> // create some text</font> | 128 | <font color="#006600"> // create some text</font> |
129 | 129 | ||
130 | CreateWindow("STATIC", | 130 | CreateWindow("STATIC", |
131 | "This is Irrlicht running inside a standard Win32 window.\n"\ | 131 | "This is Irrlicht running inside a standard Win32 window.\n"\ |
132 | "Also mixing with MFC and .NET Windows.Forms is possible.", | 132 | "Also mixing with MFC and .NET Windows.Forms is possible.", |
133 | WS_CHILD | WS_VISIBLE, 20, 20, 400, 40, hWnd, NULL, hInstance, NULL); | 133 | WS_CHILD | WS_VISIBLE, 20, 20, 400, 40, hWnd, NULL, hInstance, NULL); |
134 | 134 | ||
135 | <font color="#006600"> // create window to put irrlicht in</font> | 135 | <font color="#006600"> // create window to put irrlicht in</font> |
136 | 136 | ||
137 | HWND hIrrlichtWindow =<br /> CreateWindow("BUTTON", "", WS_CHILD | WS_VISIBLE | BS_OWNERDRAW, | 137 | HWND hIrrlichtWindow =<br /> CreateWindow("BUTTON", "", WS_CHILD | WS_VISIBLE | BS_OWNERDRAW, |
138 | 50, 80, 320, 220, hWnd, NULL, hInstance, NULL); | 138 | 50, 80, 320, 220, hWnd, NULL, hInstance, NULL); |
139 | 139 | ||
140 | </pre></td> | 140 | </pre></td> |
141 | </tr> | 141 | </tr> |
142 | </table> | 142 | </table> |
143 | <p>So now that we have some window, we can create an Irrlicht device | 143 | <p>So now that we have some window, we can create an Irrlicht device |
144 | inside of it. We use Irrlicht createEx() function for this. We only | 144 | inside of it. We use Irrlicht createEx() function for this. We only |
145 | need the handle (HWND) to that window, set it as windowsID parameter | 145 | need the handle (HWND) to that window, set it as windowsID parameter |
146 | and start up the engine as usual. That's it.</p> | 146 | and start up the engine as usual. That's it.</p> |
147 | <table width="95%" border="0" cellspacing="2" cellpadding="0" bgcolor="#CCCCCC" align="center"> | 147 | <table width="95%" border="0" cellspacing="2" cellpadding="0" bgcolor="#CCCCCC" align="center"> |
148 | <tr> | 148 | <tr> |
149 | <td><pre><font color="#006600"> // create irrlicht device in the button window</font> | 149 | <td><pre><font color="#006600"> // create irrlicht device in the button window</font> |
150 | 150 | ||
151 | irr::SIrrlichtCreationParameters param; | 151 | irr::SIrrlichtCreationParameters param; |
152 | param.WindowId = reinterpret_cast<s32>(hIrrlichtWindow); // hColorButton | 152 | param.WindowId = reinterpret_cast<s32>(hIrrlichtWindow); // hColorButton |
153 | param.DriverType = video::EDT_OPENGL; | 153 | param.DriverType = video::EDT_OPENGL; |
154 | 154 | ||
155 | irr::IrrlichtDevice* device = irr::createDeviceEx(param); | 155 | irr::IrrlichtDevice* device = irr::createDeviceEx(param); |
156 | 156 | ||
157 | <font color="#006600"> // setup a simple 3d scene</font> | 157 | <font color="#006600"> // setup a simple 3d scene</font> |
158 | 158 | ||
159 | irr::scene::ISceneManager* smgr = device->getSceneManager(); | 159 | irr::scene::ISceneManager* smgr = device->getSceneManager(); |
160 | video::IVideoDriver* driver = device->getVideoDriver(); | 160 | video::IVideoDriver* driver = device->getVideoDriver(); |
161 | 161 | ||
162 | scene::ICameraSceneNode* cam = smgr->addCameraSceneNode(); | 162 | scene::ICameraSceneNode* cam = smgr->addCameraSceneNode(); |
163 | cam->setTarget(core::vector3df(0,0,0)); | 163 | cam->setTarget(core::vector3df(0,0,0)); |
164 | 164 | ||
165 | scene::ISceneNodeAnimator* anim = | 165 | scene::ISceneNodeAnimator* anim = |
166 | smgr->createFlyCircleAnimator(core::vector3df(0,10,0), 30.0f); | 166 | smgr->createFlyCircleAnimator(core::vector3df(0,10,0), 30.0f); |
167 | cam->addAnimator(anim); | 167 | cam->addAnimator(anim); |
168 | anim->drop(); | 168 | anim->drop(); |
169 | 169 | ||
170 | scene::ISceneNode* cube = smgr->addCubeSceneNode(25); | 170 | scene::ISceneNode* cube = smgr->addCubeSceneNode(25); |
171 | cube->setMaterialFlag(video::EMF_LIGHTING, false); | 171 | cube->setMaterialFlag(video::EMF_LIGHTING, false); |
172 | 172 | ||
173 | cube->setMaterialTexture(0, driver->getTexture("../../media/rockwall.bmp")); | 173 | cube->setMaterialTexture(0, driver->getTexture("../../media/rockwall.bmp")); |
174 | 174 | ||
175 | smgr->addSkyBoxSceneNode( | 175 | smgr->addSkyBoxSceneNode( |
176 | driver->getTexture("../../media/irrlicht2_up.jpg"), | 176 | driver->getTexture("../../media/irrlicht2_up.jpg"), |
177 | driver->getTexture("../../media/irrlicht2_dn.jpg"), | 177 | driver->getTexture("../../media/irrlicht2_dn.jpg"), |
178 | driver->getTexture("../../media/irrlicht2_lf.jpg"), | 178 | driver->getTexture("../../media/irrlicht2_lf.jpg"), |
179 | driver->getTexture("../../media/irrlicht2_rt.jpg"), | 179 | driver->getTexture("../../media/irrlicht2_rt.jpg"), |
180 | driver->getTexture("../../media/irrlicht2_ft.jpg"), | 180 | driver->getTexture("../../media/irrlicht2_ft.jpg"), |
181 | driver->getTexture("../../media/irrlicht2_bk.jpg")); | 181 | driver->getTexture("../../media/irrlicht2_bk.jpg")); |
182 | 182 | ||
183 | <font color="#006600"> // show and execute dialog</font> | 183 | <font color="#006600"> // show and execute dialog</font> |
184 | 184 | ||
185 | ShowWindow(hWnd , SW_SHOW); | 185 | ShowWindow(hWnd , SW_SHOW); |
186 | UpdateWindow(hWnd); | 186 | UpdateWindow(hWnd); |
187 | </pre></td> | 187 | </pre></td> |
188 | </tr> | 188 | </tr> |
189 | </table> | 189 | </table> |
190 | <p>Now the only thing missing is the drawing loop using IrrlichtDevice::run(). | 190 | <p>Now the only thing missing is the drawing loop using IrrlichtDevice::run(). |
191 | We do this as usual. But instead of this, there is another possibility: | 191 | We do this as usual. But instead of this, there is another possibility: |
192 | You can also simply use your own message loop using GetMessage, DispatchMessage | 192 | You can also simply use your own message loop using GetMessage, DispatchMessage |
193 | and whatever. Calling<br /> | 193 | and whatever. Calling<br /> |
194 | Device->run() will cause Irrlicht to dispatch messages internally | 194 | Device->run() will cause Irrlicht to dispatch messages internally |
195 | too. You need not call Device->run() if you want to do your own | 195 | too. You need not call Device->run() if you want to do your own |
196 | message dispatching loop, but Irrlicht will not be able to fetch user | 196 | message dispatching loop, but Irrlicht will not be able to fetch user |
197 | input then and you have to do it on your own using the window messages, | 197 | input then and you have to do it on your own using the window messages, |
198 | DirectInput, or whatever.</p> | 198 | DirectInput, or whatever.</p> |
199 | <table width="95%" border="0" cellspacing="2" cellpadding="0" bgcolor="#CCCCCC" align="center"> | 199 | <table width="95%" border="0" cellspacing="2" cellpadding="0" bgcolor="#CCCCCC" align="center"> |
200 | <tr> | 200 | <tr> |
201 | <td><pre> while (device->run()) | 201 | <td><pre> while (device->run()) |
202 | { | 202 | { |
203 | driver->beginScene(true, true, 0); | 203 | driver->beginScene(true, true, 0); |
204 | smgr->drawAll(); | 204 | smgr->drawAll(); |
205 | driver->endScene(); | 205 | driver->endScene(); |
206 | } | 206 | } |
207 | 207 | ||
208 | <font color="#006600"> // the alternative, own message dispatching loop without Device->run() would | 208 | <font color="#006600"> // the alternative, own message dispatching loop without Device->run() would |
209 | // look like this:</font> | 209 | // look like this:</font> |
210 | 210 | ||
211 | <font color="#006600">/*MSG msg; | 211 | <font color="#006600">/*MSG msg; |
212 | while (true) | 212 | while (true) |
213 | { | 213 | { |
214 | if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) | 214 | if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) |
215 | { | 215 | { |
216 | TranslateMessage(&msg); | 216 | TranslateMessage(&msg); |
217 | DispatchMessage(&msg); | 217 | DispatchMessage(&msg); |
218 | 218 | ||
219 | if (msg.message == WM_QUIT) | 219 | if (msg.message == WM_QUIT) |
220 | break; | 220 | break; |
221 | } | 221 | } |
222 | 222 | ||
223 | // advance virtual time | 223 | // advance virtual time |
224 | device->getTimer()->tick(); | 224 | device->getTimer()->tick(); |
225 | 225 | ||
226 | // draw engine picture | 226 | // draw engine picture |
227 | driver->beginScene(true, true, 0); | 227 | driver->beginScene(true, true, 0); |
228 | smgr->drawAll(); | 228 | smgr->drawAll(); |
229 | driver->endScene(); | 229 | driver->endScene(); |
230 | }*/</font> | 230 | }*/</font> |
231 | 231 | ||
232 | device->closeDevice(); | 232 | device->closeDevice(); |
233 | device->drop(); | 233 | device->drop(); |
234 | 234 | ||
235 | return 0; | 235 | return 0; |
236 | }</pre></td> | 236 | }</pre></td> |
237 | </tr> | 237 | </tr> |
238 | </table> | 238 | </table> |
239 | <p> That's it, Irrlicht now runs in your own windows window.</p> | 239 | <p> That's it, Irrlicht now runs in your own windows window.</p> |
240 | </div> | 240 | </div> |
241 | </div> | 241 | </div> |
242 | </td> | 242 | </td> |
243 | </tr> | 243 | </tr> |
244 | </table> | 244 | </table> |
245 | <p> </p> | 245 | <p> </p> |
246 | </body> | 246 | </body> |
247 | </html> | 247 | </html> |