aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/examples/23.SMeshHandling
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/examples/23.SMeshHandling
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to '')
-rw-r--r--libraries/irrlicht-1.8/examples/23.SMeshHandling/Makefile76
-rw-r--r--libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling.dev118
-rw-r--r--libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling.vcproj264
-rw-r--r--libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc10.vcxproj374
-rw-r--r--libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc11.vcxproj382
-rw-r--r--libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc8.vcproj380
-rw-r--r--libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc9.vcproj374
-rw-r--r--libraries/irrlicht-1.8/examples/23.SMeshHandling/main.cpp852
8 files changed, 1410 insertions, 1410 deletions
diff --git a/libraries/irrlicht-1.8/examples/23.SMeshHandling/Makefile b/libraries/irrlicht-1.8/examples/23.SMeshHandling/Makefile
index eab5060..49901ed 100644
--- a/libraries/irrlicht-1.8/examples/23.SMeshHandling/Makefile
+++ b/libraries/irrlicht-1.8/examples/23.SMeshHandling/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
4Target = 23.SMeshHandling 4Target = 23.SMeshHandling
5Sources = main.cpp 5Sources = main.cpp
6 6
7# general compiler settings 7# general compiler settings
8CPPFLAGS = -I../../include -I/usr/X11R6/include 8CPPFLAGS = -I../../include -I/usr/X11R6/include
9CXXFLAGS = -O3 -ffast-math 9CXXFLAGS = -O3 -ffast-math
10#CXXFLAGS = -g -Wall 10#CXXFLAGS = -g -Wall
11 11
12#default target is Linux 12#default target is Linux
13all: all_linux 13all: all_linux
14 14
15ifeq ($(HOSTTYPE), x86_64) 15ifeq ($(HOSTTYPE), x86_64)
16LIBSELECT=64 16LIBSELECT=64
17endif 17endif
18 18
19# target specific settings 19# target specific settings
20all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor 20all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor
21all_linux clean_linux: SYSTEM=Linux 21all_linux clean_linux: SYSTEM=Linux
22all_win32: LDFLAGS = -L../../lib/Win32-gcc -lIrrlicht -lopengl32 -lm 22all_win32: LDFLAGS = -L../../lib/Win32-gcc -lIrrlicht -lopengl32 -lm
23all_win32 clean_win32: SYSTEM=Win32-gcc 23all_win32 clean_win32: SYSTEM=Win32-gcc
24all_win32 clean_win32: SUF=.exe 24all_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
26DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF) 26DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF)
27 27
28all_linux all_win32: 28all_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
32clean: clean_linux clean_win32 32clean: clean_linux clean_win32
33 $(warning Cleaning...) 33 $(warning Cleaning...)
34 34
35clean_linux clean_win32: 35clean_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/23.SMeshHandling/SMeshHandling.dev b/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling.dev
index 94043f3..f07bec2 100644
--- a/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling.dev
+++ b/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling.dev
@@ -1,59 +1,59 @@
1[Project] 1[Project]
2FileName=example.dev 2FileName=example.dev
3Name=Irrlicht Example 23 SMeshHandling 3Name=Irrlicht Example 23 SMeshHandling
4UnitCount=1 4UnitCount=1
5Type=1 5Type=1
6Ver=1 6Ver=1
7ObjFiles= 7ObjFiles=
8Includes=..\..\include 8Includes=..\..\include
9Libs= 9Libs=
10PrivateResource= 10PrivateResource=
11ResourceIncludes= 11ResourceIncludes=
12MakeIncludes= 12MakeIncludes=
13Compiler= 13Compiler=
14CppCompiler= 14CppCompiler=
15Linker=../../lib/Win32-gcc/libIrrlicht.a_@@_ 15Linker=../../lib/Win32-gcc/libIrrlicht.a_@@_
16IsCpp=1 16IsCpp=1
17Icon= 17Icon=
18ExeOutput=../../bin/Win32-gcc 18ExeOutput=../../bin/Win32-gcc
19ObjectOutput=obj 19ObjectOutput=obj
20OverrideOutput=1 20OverrideOutput=1
21OverrideOutputName=23.SMeshHandling.exe 21OverrideOutputName=23.SMeshHandling.exe
22HostApplication= 22HostApplication=
23Folders= 23Folders=
24CommandLine= 24CommandLine=
25IncludeVersionInfo=0 25IncludeVersionInfo=0
26SupportXPThemes=0 26SupportXPThemes=0
27CompilerSet=0 27CompilerSet=0
28CompilerSettings=0000000000000000000000 28CompilerSettings=0000000000000000000000
29UseCustomMakefile=0 29UseCustomMakefile=0
30CustomMakefile= 30CustomMakefile=
31 31
32[Unit1] 32[Unit1]
33FileName=main.cpp 33FileName=main.cpp
34CompileCpp=1 34CompileCpp=1
35Folder=Projekt1 35Folder=Projekt1
36Compile=1 36Compile=1
37Link=1 37Link=1
38Priority=1000 38Priority=1000
39OverrideBuildCmd=0 39OverrideBuildCmd=0
40BuildCmd= 40BuildCmd=
41 41
42[VersionInfo] 42[VersionInfo]
43Major=0 43Major=0
44Minor=1 44Minor=1
45Release=1 45Release=1
46Build=1 46Build=1
47LanguageID=1033 47LanguageID=1033
48CharsetID=1252 48CharsetID=1252
49CompanyName= 49CompanyName=
50FileVersion= 50FileVersion=
51FileDescription=Irrlicht Engine example compiled using DevCpp and gcc 51FileDescription=Irrlicht Engine example compiled using DevCpp and gcc
52InternalName= 52InternalName=
53LegalCopyright= 53LegalCopyright=
54LegalTrademarks= 54LegalTrademarks=
55OriginalFilename= 55OriginalFilename=
56ProductName= 56ProductName=
57ProductVersion= 57ProductVersion=
58AutoIncBuildNr=0 58AutoIncBuildNr=0
59 59
diff --git a/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling.vcproj b/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling.vcproj
index a63d583..83d82f2 100644
--- a/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling.vcproj
+++ b/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling.vcproj
@@ -1,132 +1,132 @@
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="23.SMeshHandling" 5 Name="23.SMeshHandling"
6 ProjectGUID="{6AEC2AA2-C9FF-4B7D-B07A-94A9D34B41D7}" 6 ProjectGUID="{6AEC2AA2-C9FF-4B7D-B07A-94A9D34B41D7}"
7 Keyword="Win32Proj"> 7 Keyword="Win32Proj">
8 <Platforms> 8 <Platforms>
9 <Platform 9 <Platform
10 Name="Win32"/> 10 Name="Win32"/>
11 </Platforms> 11 </Platforms>
12 <Configurations> 12 <Configurations>
13 <Configuration 13 <Configuration
14 Name="Debug|Win32" 14 Name="Debug|Win32"
15 OutputDirectory="Debug" 15 OutputDirectory="Debug"
16 IntermediateDirectory="Debug" 16 IntermediateDirectory="Debug"
17 ConfigurationType="1" 17 ConfigurationType="1"
18 CharacterSet="2"> 18 CharacterSet="2">
19 <Tool 19 <Tool
20 Name="VCCLCompilerTool" 20 Name="VCCLCompilerTool"
21 Optimization="0" 21 Optimization="0"
22 AdditionalIncludeDirectories="..\..\include" 22 AdditionalIncludeDirectories="..\..\include"
23 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS" 23 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
24 MinimalRebuild="TRUE" 24 MinimalRebuild="TRUE"
25 BasicRuntimeChecks="3" 25 BasicRuntimeChecks="3"
26 RuntimeLibrary="5" 26 RuntimeLibrary="5"
27 UsePrecompiledHeader="0" 27 UsePrecompiledHeader="0"
28 WarningLevel="3" 28 WarningLevel="3"
29 Detect64BitPortabilityProblems="TRUE" 29 Detect64BitPortabilityProblems="TRUE"
30 DebugInformationFormat="4"/> 30 DebugInformationFormat="4"/>
31 <Tool 31 <Tool
32 Name="VCCustomBuildTool"/> 32 Name="VCCustomBuildTool"/>
33 <Tool 33 <Tool
34 Name="VCLinkerTool" 34 Name="VCLinkerTool"
35 OutputFile="..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe" 35 OutputFile="..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe"
36 LinkIncremental="1" 36 LinkIncremental="1"
37 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" 37 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio"
38 GenerateDebugInformation="TRUE" 38 GenerateDebugInformation="TRUE"
39 ProgramDatabaseFile="$(OutDir)/SMeshHandling.pdb" 39 ProgramDatabaseFile="$(OutDir)/SMeshHandling.pdb"
40 SubSystem="1" 40 SubSystem="1"
41 TargetMachine="1"/> 41 TargetMachine="1"/>
42 <Tool 42 <Tool
43 Name="VCMIDLTool"/> 43 Name="VCMIDLTool"/>
44 <Tool 44 <Tool
45 Name="VCPostBuildEventTool"/> 45 Name="VCPostBuildEventTool"/>
46 <Tool 46 <Tool
47 Name="VCPreBuildEventTool"/> 47 Name="VCPreBuildEventTool"/>
48 <Tool 48 <Tool
49 Name="VCPreLinkEventTool"/> 49 Name="VCPreLinkEventTool"/>
50 <Tool 50 <Tool
51 Name="VCResourceCompilerTool"/> 51 Name="VCResourceCompilerTool"/>
52 <Tool 52 <Tool
53 Name="VCWebServiceProxyGeneratorTool"/> 53 Name="VCWebServiceProxyGeneratorTool"/>
54 <Tool 54 <Tool
55 Name="VCXMLDataGeneratorTool"/> 55 Name="VCXMLDataGeneratorTool"/>
56 <Tool 56 <Tool
57 Name="VCWebDeploymentTool"/> 57 Name="VCWebDeploymentTool"/>
58 <Tool 58 <Tool
59 Name="VCManagedWrapperGeneratorTool"/> 59 Name="VCManagedWrapperGeneratorTool"/>
60 <Tool 60 <Tool
61 Name="VCAuxiliaryManagedWrapperGeneratorTool"/> 61 Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
62 </Configuration> 62 </Configuration>
63 <Configuration 63 <Configuration
64 Name="Release|Win32" 64 Name="Release|Win32"
65 OutputDirectory="Release" 65 OutputDirectory="Release"
66 IntermediateDirectory="Release" 66 IntermediateDirectory="Release"
67 ConfigurationType="1" 67 ConfigurationType="1"
68 CharacterSet="2" 68 CharacterSet="2"
69 WholeProgramOptimization="TRUE"> 69 WholeProgramOptimization="TRUE">
70 <Tool 70 <Tool
71 Name="VCCLCompilerTool" 71 Name="VCCLCompilerTool"
72 AdditionalOptions="/QIfist /Oa" 72 AdditionalOptions="/QIfist /Oa"
73 Optimization="3" 73 Optimization="3"
74 GlobalOptimizations="TRUE" 74 GlobalOptimizations="TRUE"
75 InlineFunctionExpansion="2" 75 InlineFunctionExpansion="2"
76 EnableIntrinsicFunctions="TRUE" 76 EnableIntrinsicFunctions="TRUE"
77 FavorSizeOrSpeed="1" 77 FavorSizeOrSpeed="1"
78 OmitFramePointers="TRUE" 78 OmitFramePointers="TRUE"
79 AdditionalIncludeDirectories="..\..\include" 79 AdditionalIncludeDirectories="..\..\include"
80 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS" 80 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
81 RuntimeLibrary="4" 81 RuntimeLibrary="4"
82 BufferSecurityCheck="FALSE" 82 BufferSecurityCheck="FALSE"
83 UsePrecompiledHeader="0" 83 UsePrecompiledHeader="0"
84 WarningLevel="3" 84 WarningLevel="3"
85 Detect64BitPortabilityProblems="TRUE" 85 Detect64BitPortabilityProblems="TRUE"
86 DebugInformationFormat="0" 86 DebugInformationFormat="0"
87 CallingConvention="1"/> 87 CallingConvention="1"/>
88 <Tool 88 <Tool
89 Name="VCCustomBuildTool"/> 89 Name="VCCustomBuildTool"/>
90 <Tool 90 <Tool
91 Name="VCLinkerTool" 91 Name="VCLinkerTool"
92 OutputFile="..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe" 92 OutputFile="..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe"
93 LinkIncremental="1" 93 LinkIncremental="1"
94 SuppressStartupBanner="TRUE" 94 SuppressStartupBanner="TRUE"
95 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" 95 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio"
96 GenerateDebugInformation="FALSE" 96 GenerateDebugInformation="FALSE"
97 SubSystem="1" 97 SubSystem="1"
98 OptimizeReferences="2" 98 OptimizeReferences="2"
99 EnableCOMDATFolding="2" 99 EnableCOMDATFolding="2"
100 TargetMachine="1"/> 100 TargetMachine="1"/>
101 <Tool 101 <Tool
102 Name="VCMIDLTool"/> 102 Name="VCMIDLTool"/>
103 <Tool 103 <Tool
104 Name="VCPostBuildEventTool"/> 104 Name="VCPostBuildEventTool"/>
105 <Tool 105 <Tool
106 Name="VCPreBuildEventTool"/> 106 Name="VCPreBuildEventTool"/>
107 <Tool 107 <Tool
108 Name="VCPreLinkEventTool"/> 108 Name="VCPreLinkEventTool"/>
109 <Tool 109 <Tool
110 Name="VCResourceCompilerTool"/> 110 Name="VCResourceCompilerTool"/>
111 <Tool 111 <Tool
112 Name="VCWebServiceProxyGeneratorTool"/> 112 Name="VCWebServiceProxyGeneratorTool"/>
113 <Tool 113 <Tool
114 Name="VCXMLDataGeneratorTool"/> 114 Name="VCXMLDataGeneratorTool"/>
115 <Tool 115 <Tool
116 Name="VCWebDeploymentTool"/> 116 Name="VCWebDeploymentTool"/>
117 <Tool 117 <Tool
118 Name="VCManagedWrapperGeneratorTool"/> 118 Name="VCManagedWrapperGeneratorTool"/>
119 <Tool 119 <Tool
120 Name="VCAuxiliaryManagedWrapperGeneratorTool"/> 120 Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
121 </Configuration> 121 </Configuration>
122 </Configurations> 122 </Configurations>
123 <References> 123 <References>
124 </References> 124 </References>
125 <Files> 125 <Files>
126 <File 126 <File
127 RelativePath=".\main.cpp"> 127 RelativePath=".\main.cpp">
128 </File> 128 </File>
129 </Files> 129 </Files>
130 <Globals> 130 <Globals>
131 </Globals> 131 </Globals>
132</VisualStudioProject> 132</VisualStudioProject>
diff --git a/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc10.vcxproj b/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc10.vcxproj
index 51a6f9e..cad7367 100644
--- a/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc10.vcxproj
+++ b/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc10.vcxproj
@@ -1,188 +1,188 @@
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>23.SMeshHandling</ProjectName> 22 <ProjectName>23.SMeshHandling</ProjectName>
23 <ProjectGuid>{6AEC2AA2-C9FF-4B7D-B07A-94A9D34B41D7}</ProjectGuid> 23 <ProjectGuid>{6AEC2AA2-C9FF-4B7D-B07A-94A9D34B41D7}</ProjectGuid>
24 <RootNamespace>23.SMeshHandling</RootNamespace> 24 <RootNamespace>23.SMeshHandling</RootNamespace>
25 <Keyword>Win32Proj</Keyword> 25 <Keyword>Win32Proj</Keyword>
26 </PropertyGroup> 26 </PropertyGroup>
27 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 27 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> 28 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
29 <ConfigurationType>Application</ConfigurationType> 29 <ConfigurationType>Application</ConfigurationType>
30 <CharacterSet>MultiByte</CharacterSet> 30 <CharacterSet>MultiByte</CharacterSet>
31 </PropertyGroup> 31 </PropertyGroup>
32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> 32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
33 <ConfigurationType>Application</ConfigurationType> 33 <ConfigurationType>Application</ConfigurationType>
34 <CharacterSet>MultiByte</CharacterSet> 34 <CharacterSet>MultiByte</CharacterSet>
35 </PropertyGroup> 35 </PropertyGroup>
36 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> 36 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
37 <ConfigurationType>Application</ConfigurationType> 37 <ConfigurationType>Application</ConfigurationType>
38 <CharacterSet>MultiByte</CharacterSet> 38 <CharacterSet>MultiByte</CharacterSet>
39 </PropertyGroup> 39 </PropertyGroup>
40 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> 40 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
41 <ConfigurationType>Application</ConfigurationType> 41 <ConfigurationType>Application</ConfigurationType>
42 <CharacterSet>MultiByte</CharacterSet> 42 <CharacterSet>MultiByte</CharacterSet>
43 </PropertyGroup> 43 </PropertyGroup>
44 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 44 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
45 <ImportGroup Label="ExtensionSettings"> 45 <ImportGroup Label="ExtensionSettings">
46 </ImportGroup> 46 </ImportGroup>
47 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> 47 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
48 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 48 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
49 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> 49 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
50 </ImportGroup> 50 </ImportGroup>
51 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> 51 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
52 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 52 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
53 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> 53 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
54 </ImportGroup> 54 </ImportGroup>
55 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> 55 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> 57 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
58 </ImportGroup> 58 </ImportGroup>
59 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> 59 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
60 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 60 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> 61 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
62 </ImportGroup> 62 </ImportGroup>
63 <PropertyGroup Label="UserMacros" /> 63 <PropertyGroup Label="UserMacros" />
64 <PropertyGroup> 64 <PropertyGroup>
65 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> 65 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
66 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> 66 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir>
67 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> 67 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir>
68 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> 68 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
69 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> 69 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
70 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> 70 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir>
71 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> 71 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir>
72 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> 72 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
73 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> 73 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
74 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> 74 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
75 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> 75 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
76 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> 76 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
77 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> 77 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
78 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> 78 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
79 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> 79 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
80 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> 80 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
81 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> 81 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
82 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> 82 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
83 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> 83 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
84 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> 84 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
85 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> 85 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
86 </PropertyGroup> 86 </PropertyGroup>
87 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 87 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
88 <ClCompile> 88 <ClCompile>
89 <Optimization>Disabled</Optimization> 89 <Optimization>Disabled</Optimization>
90 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 90 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
91 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> 91 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
92 <MinimalRebuild>true</MinimalRebuild> 92 <MinimalRebuild>true</MinimalRebuild>
93 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> 93 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
94 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 94 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
95 <PrecompiledHeader> 95 <PrecompiledHeader>
96 </PrecompiledHeader> 96 </PrecompiledHeader>
97 <WarningLevel>Level3</WarningLevel> 97 <WarningLevel>Level3</WarningLevel>
98 <DebugInformationFormat>EditAndContinue</DebugInformationFormat> 98 <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
99 </ClCompile> 99 </ClCompile>
100 <Link> 100 <Link>
101 <OutputFile>..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe</OutputFile> 101 <OutputFile>..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe</OutputFile>
102 <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> 102 <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
103 <GenerateDebugInformation>true</GenerateDebugInformation> 103 <GenerateDebugInformation>true</GenerateDebugInformation>
104 <ProgramDatabaseFile>$(OutDir)SMeshHandling.pdb</ProgramDatabaseFile> 104 <ProgramDatabaseFile>$(OutDir)SMeshHandling.pdb</ProgramDatabaseFile>
105 <SubSystem>Console</SubSystem> 105 <SubSystem>Console</SubSystem>
106 <DataExecutionPrevention> 106 <DataExecutionPrevention>
107 </DataExecutionPrevention> 107 </DataExecutionPrevention>
108 </Link> 108 </Link>
109 </ItemDefinitionGroup> 109 </ItemDefinitionGroup>
110 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> 110 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
111 <ClCompile> 111 <ClCompile>
112 <Optimization>Disabled</Optimization> 112 <Optimization>Disabled</Optimization>
113 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 113 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
114 <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> 114 <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
115 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> 115 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
116 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 116 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
117 <PrecompiledHeader> 117 <PrecompiledHeader>
118 </PrecompiledHeader> 118 </PrecompiledHeader>
119 <WarningLevel>Level3</WarningLevel> 119 <WarningLevel>Level3</WarningLevel>
120 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> 120 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
121 </ClCompile> 121 </ClCompile>
122 <Link> 122 <Link>
123 <OutputFile>..\..\bin\Win64-VisualStudio\23.SMeshHandling.exe</OutputFile> 123 <OutputFile>..\..\bin\Win64-VisualStudio\23.SMeshHandling.exe</OutputFile>
124 <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> 124 <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
125 <GenerateDebugInformation>true</GenerateDebugInformation> 125 <GenerateDebugInformation>true</GenerateDebugInformation>
126 <ProgramDatabaseFile>$(OutDir)SMeshHandling.pdb</ProgramDatabaseFile> 126 <ProgramDatabaseFile>$(OutDir)SMeshHandling.pdb</ProgramDatabaseFile>
127 <SubSystem>Console</SubSystem> 127 <SubSystem>Console</SubSystem>
128 <DataExecutionPrevention> 128 <DataExecutionPrevention>
129 </DataExecutionPrevention> 129 </DataExecutionPrevention>
130 </Link> 130 </Link>
131 </ItemDefinitionGroup> 131 </ItemDefinitionGroup>
132 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 132 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
133 <ClCompile> 133 <ClCompile>
134 <IntrinsicFunctions>true</IntrinsicFunctions> 134 <IntrinsicFunctions>true</IntrinsicFunctions>
135 <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> 135 <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
136 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 136 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
137 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> 137 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
138 <ExceptionHandling>Sync</ExceptionHandling> 138 <ExceptionHandling>Sync</ExceptionHandling>
139 <PrecompiledHeader> 139 <PrecompiledHeader>
140 </PrecompiledHeader> 140 </PrecompiledHeader>
141 <WarningLevel>Level3</WarningLevel> 141 <WarningLevel>Level3</WarningLevel>
142 <DebugInformationFormat> 142 <DebugInformationFormat>
143 </DebugInformationFormat> 143 </DebugInformationFormat>
144 <CallingConvention>Cdecl</CallingConvention> 144 <CallingConvention>Cdecl</CallingConvention>
145 </ClCompile> 145 </ClCompile>
146 <Link> 146 <Link>
147 <OutputFile>..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe</OutputFile> 147 <OutputFile>..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe</OutputFile>
148 <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> 148 <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
149 <GenerateDebugInformation>false</GenerateDebugInformation> 149 <GenerateDebugInformation>false</GenerateDebugInformation>
150 <SubSystem>Console</SubSystem> 150 <SubSystem>Console</SubSystem>
151 <OptimizeReferences>true</OptimizeReferences> 151 <OptimizeReferences>true</OptimizeReferences>
152 <EnableCOMDATFolding>true</EnableCOMDATFolding> 152 <EnableCOMDATFolding>true</EnableCOMDATFolding>
153 <DataExecutionPrevention> 153 <DataExecutionPrevention>
154 </DataExecutionPrevention> 154 </DataExecutionPrevention>
155 </Link> 155 </Link>
156 </ItemDefinitionGroup> 156 </ItemDefinitionGroup>
157 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> 157 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
158 <ClCompile> 158 <ClCompile>
159 <IntrinsicFunctions>true</IntrinsicFunctions> 159 <IntrinsicFunctions>true</IntrinsicFunctions>
160 <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> 160 <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
161 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 161 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
162 <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> 162 <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
163 <ExceptionHandling>Sync</ExceptionHandling> 163 <ExceptionHandling>Sync</ExceptionHandling>
164 <PrecompiledHeader> 164 <PrecompiledHeader>
165 </PrecompiledHeader> 165 </PrecompiledHeader>
166 <WarningLevel>Level3</WarningLevel> 166 <WarningLevel>Level3</WarningLevel>
167 <DebugInformationFormat> 167 <DebugInformationFormat>
168 </DebugInformationFormat> 168 </DebugInformationFormat>
169 <CallingConvention>Cdecl</CallingConvention> 169 <CallingConvention>Cdecl</CallingConvention>
170 </ClCompile> 170 </ClCompile>
171 <Link> 171 <Link>
172 <OutputFile>..\..\bin\Win64-VisualStudio\23.SMeshHandling.exe</OutputFile> 172 <OutputFile>..\..\bin\Win64-VisualStudio\23.SMeshHandling.exe</OutputFile>
173 <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> 173 <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
174 <GenerateDebugInformation>false</GenerateDebugInformation> 174 <GenerateDebugInformation>false</GenerateDebugInformation>
175 <SubSystem>Console</SubSystem> 175 <SubSystem>Console</SubSystem>
176 <OptimizeReferences>true</OptimizeReferences> 176 <OptimizeReferences>true</OptimizeReferences>
177 <EnableCOMDATFolding>true</EnableCOMDATFolding> 177 <EnableCOMDATFolding>true</EnableCOMDATFolding>
178 <DataExecutionPrevention> 178 <DataExecutionPrevention>
179 </DataExecutionPrevention> 179 </DataExecutionPrevention>
180 </Link> 180 </Link>
181 </ItemDefinitionGroup> 181 </ItemDefinitionGroup>
182 <ItemGroup> 182 <ItemGroup>
183 <ClCompile Include="main.cpp" /> 183 <ClCompile Include="main.cpp" />
184 </ItemGroup> 184 </ItemGroup>
185 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 185 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
186 <ImportGroup Label="ExtensionTargets"> 186 <ImportGroup Label="ExtensionTargets">
187 </ImportGroup> 187 </ImportGroup>
188</Project> \ No newline at end of file 188</Project> \ No newline at end of file
diff --git a/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc11.vcxproj b/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc11.vcxproj
index 7f2a781..b71a7fa 100644
--- a/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc11.vcxproj
+++ b/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc11.vcxproj
@@ -1,192 +1,192 @@
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>23.SMeshHandling</ProjectName> 22 <ProjectName>23.SMeshHandling</ProjectName>
23 <ProjectGuid>{6AEC2AA2-C9FF-4B7D-B07A-94A9D34B41D7}</ProjectGuid> 23 <ProjectGuid>{6AEC2AA2-C9FF-4B7D-B07A-94A9D34B41D7}</ProjectGuid>
24 <RootNamespace>23.SMeshHandling</RootNamespace> 24 <RootNamespace>23.SMeshHandling</RootNamespace>
25 <Keyword>Win32Proj</Keyword> 25 <Keyword>Win32Proj</Keyword>
26 </PropertyGroup> 26 </PropertyGroup>
27 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 27 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> 28 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
29 <ConfigurationType>Application</ConfigurationType> 29 <ConfigurationType>Application</ConfigurationType>
30 <CharacterSet>MultiByte</CharacterSet> 30 <CharacterSet>MultiByte</CharacterSet>
31 <PlatformToolset>v110</PlatformToolset> 31 <PlatformToolset>v110</PlatformToolset>
32 </PropertyGroup> 32 </PropertyGroup>
33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> 33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
34 <ConfigurationType>Application</ConfigurationType> 34 <ConfigurationType>Application</ConfigurationType>
35 <CharacterSet>MultiByte</CharacterSet> 35 <CharacterSet>MultiByte</CharacterSet>
36 <PlatformToolset>v110</PlatformToolset> 36 <PlatformToolset>v110</PlatformToolset>
37 </PropertyGroup> 37 </PropertyGroup>
38 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> 38 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
39 <ConfigurationType>Application</ConfigurationType> 39 <ConfigurationType>Application</ConfigurationType>
40 <CharacterSet>MultiByte</CharacterSet> 40 <CharacterSet>MultiByte</CharacterSet>
41 <PlatformToolset>v110</PlatformToolset> 41 <PlatformToolset>v110</PlatformToolset>
42 </PropertyGroup> 42 </PropertyGroup>
43 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> 43 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
44 <ConfigurationType>Application</ConfigurationType> 44 <ConfigurationType>Application</ConfigurationType>
45 <CharacterSet>MultiByte</CharacterSet> 45 <CharacterSet>MultiByte</CharacterSet>
46 <PlatformToolset>v110</PlatformToolset> 46 <PlatformToolset>v110</PlatformToolset>
47 </PropertyGroup> 47 </PropertyGroup>
48 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 48 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
49 <ImportGroup Label="ExtensionSettings"> 49 <ImportGroup Label="ExtensionSettings">
50 </ImportGroup> 50 </ImportGroup>
51 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> 51 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
52 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 52 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
53 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> 53 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
54 </ImportGroup> 54 </ImportGroup>
55 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> 55 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> 57 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
58 </ImportGroup> 58 </ImportGroup>
59 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> 59 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
60 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 60 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> 61 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
62 </ImportGroup> 62 </ImportGroup>
63 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> 63 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
64 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 64 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> 65 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
66 </ImportGroup> 66 </ImportGroup>
67 <PropertyGroup Label="UserMacros" /> 67 <PropertyGroup Label="UserMacros" />
68 <PropertyGroup> 68 <PropertyGroup>
69 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> 69 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
70 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> 70 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir>
71 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> 71 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir>
72 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> 72 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
73 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> 73 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
74 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> 74 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir>
75 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> 75 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir>
76 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> 76 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
77 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> 77 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
78 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> 78 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
79 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> 79 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
80 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> 80 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
81 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> 81 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
82 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> 82 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
83 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> 83 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
84 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> 84 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
85 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> 85 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
86 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> 86 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
87 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> 87 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
88 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> 88 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
89 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> 89 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
90 </PropertyGroup> 90 </PropertyGroup>
91 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 91 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
92 <ClCompile> 92 <ClCompile>
93 <Optimization>Disabled</Optimization> 93 <Optimization>Disabled</Optimization>
94 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 94 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
95 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> 95 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
96 <MinimalRebuild>true</MinimalRebuild> 96 <MinimalRebuild>true</MinimalRebuild>
97 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> 97 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
98 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 98 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
99 <PrecompiledHeader> 99 <PrecompiledHeader>
100 </PrecompiledHeader> 100 </PrecompiledHeader>
101 <WarningLevel>Level3</WarningLevel> 101 <WarningLevel>Level3</WarningLevel>
102 <DebugInformationFormat>EditAndContinue</DebugInformationFormat> 102 <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
103 </ClCompile> 103 </ClCompile>
104 <Link> 104 <Link>
105 <OutputFile>..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe</OutputFile> 105 <OutputFile>..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe</OutputFile>
106 <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> 106 <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
107 <GenerateDebugInformation>true</GenerateDebugInformation> 107 <GenerateDebugInformation>true</GenerateDebugInformation>
108 <ProgramDatabaseFile>$(OutDir)SMeshHandling.pdb</ProgramDatabaseFile> 108 <ProgramDatabaseFile>$(OutDir)SMeshHandling.pdb</ProgramDatabaseFile>
109 <SubSystem>Console</SubSystem> 109 <SubSystem>Console</SubSystem>
110 <DataExecutionPrevention> 110 <DataExecutionPrevention>
111 </DataExecutionPrevention> 111 </DataExecutionPrevention>
112 </Link> 112 </Link>
113 </ItemDefinitionGroup> 113 </ItemDefinitionGroup>
114 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> 114 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
115 <ClCompile> 115 <ClCompile>
116 <Optimization>Disabled</Optimization> 116 <Optimization>Disabled</Optimization>
117 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 117 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
118 <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> 118 <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
119 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> 119 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
120 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 120 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
121 <PrecompiledHeader> 121 <PrecompiledHeader>
122 </PrecompiledHeader> 122 </PrecompiledHeader>
123 <WarningLevel>Level3</WarningLevel> 123 <WarningLevel>Level3</WarningLevel>
124 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> 124 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
125 </ClCompile> 125 </ClCompile>
126 <Link> 126 <Link>
127 <OutputFile>..\..\bin\Win64-VisualStudio\23.SMeshHandling.exe</OutputFile> 127 <OutputFile>..\..\bin\Win64-VisualStudio\23.SMeshHandling.exe</OutputFile>
128 <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> 128 <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
129 <GenerateDebugInformation>true</GenerateDebugInformation> 129 <GenerateDebugInformation>true</GenerateDebugInformation>
130 <ProgramDatabaseFile>$(OutDir)SMeshHandling.pdb</ProgramDatabaseFile> 130 <ProgramDatabaseFile>$(OutDir)SMeshHandling.pdb</ProgramDatabaseFile>
131 <SubSystem>Console</SubSystem> 131 <SubSystem>Console</SubSystem>
132 <DataExecutionPrevention> 132 <DataExecutionPrevention>
133 </DataExecutionPrevention> 133 </DataExecutionPrevention>
134 </Link> 134 </Link>
135 </ItemDefinitionGroup> 135 </ItemDefinitionGroup>
136 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 136 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
137 <ClCompile> 137 <ClCompile>
138 <IntrinsicFunctions>true</IntrinsicFunctions> 138 <IntrinsicFunctions>true</IntrinsicFunctions>
139 <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> 139 <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
140 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 140 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
141 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> 141 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
142 <ExceptionHandling>Sync</ExceptionHandling> 142 <ExceptionHandling>Sync</ExceptionHandling>
143 <PrecompiledHeader> 143 <PrecompiledHeader>
144 </PrecompiledHeader> 144 </PrecompiledHeader>
145 <WarningLevel>Level3</WarningLevel> 145 <WarningLevel>Level3</WarningLevel>
146 <DebugInformationFormat> 146 <DebugInformationFormat>
147 </DebugInformationFormat> 147 </DebugInformationFormat>
148 <CallingConvention>Cdecl</CallingConvention> 148 <CallingConvention>Cdecl</CallingConvention>
149 </ClCompile> 149 </ClCompile>
150 <Link> 150 <Link>
151 <OutputFile>..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe</OutputFile> 151 <OutputFile>..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe</OutputFile>
152 <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> 152 <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
153 <GenerateDebugInformation>false</GenerateDebugInformation> 153 <GenerateDebugInformation>false</GenerateDebugInformation>
154 <SubSystem>Console</SubSystem> 154 <SubSystem>Console</SubSystem>
155 <OptimizeReferences>true</OptimizeReferences> 155 <OptimizeReferences>true</OptimizeReferences>
156 <EnableCOMDATFolding>true</EnableCOMDATFolding> 156 <EnableCOMDATFolding>true</EnableCOMDATFolding>
157 <DataExecutionPrevention> 157 <DataExecutionPrevention>
158 </DataExecutionPrevention> 158 </DataExecutionPrevention>
159 </Link> 159 </Link>
160 </ItemDefinitionGroup> 160 </ItemDefinitionGroup>
161 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> 161 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
162 <ClCompile> 162 <ClCompile>
163 <IntrinsicFunctions>true</IntrinsicFunctions> 163 <IntrinsicFunctions>true</IntrinsicFunctions>
164 <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> 164 <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
165 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 165 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
166 <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> 166 <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
167 <ExceptionHandling>Sync</ExceptionHandling> 167 <ExceptionHandling>Sync</ExceptionHandling>
168 <PrecompiledHeader> 168 <PrecompiledHeader>
169 </PrecompiledHeader> 169 </PrecompiledHeader>
170 <WarningLevel>Level3</WarningLevel> 170 <WarningLevel>Level3</WarningLevel>
171 <DebugInformationFormat> 171 <DebugInformationFormat>
172 </DebugInformationFormat> 172 </DebugInformationFormat>
173 <CallingConvention>Cdecl</CallingConvention> 173 <CallingConvention>Cdecl</CallingConvention>
174 </ClCompile> 174 </ClCompile>
175 <Link> 175 <Link>
176 <OutputFile>..\..\bin\Win64-VisualStudio\23.SMeshHandling.exe</OutputFile> 176 <OutputFile>..\..\bin\Win64-VisualStudio\23.SMeshHandling.exe</OutputFile>
177 <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> 177 <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
178 <GenerateDebugInformation>false</GenerateDebugInformation> 178 <GenerateDebugInformation>false</GenerateDebugInformation>
179 <SubSystem>Console</SubSystem> 179 <SubSystem>Console</SubSystem>
180 <OptimizeReferences>true</OptimizeReferences> 180 <OptimizeReferences>true</OptimizeReferences>
181 <EnableCOMDATFolding>true</EnableCOMDATFolding> 181 <EnableCOMDATFolding>true</EnableCOMDATFolding>
182 <DataExecutionPrevention> 182 <DataExecutionPrevention>
183 </DataExecutionPrevention> 183 </DataExecutionPrevention>
184 </Link> 184 </Link>
185 </ItemDefinitionGroup> 185 </ItemDefinitionGroup>
186 <ItemGroup> 186 <ItemGroup>
187 <ClCompile Include="main.cpp" /> 187 <ClCompile Include="main.cpp" />
188 </ItemGroup> 188 </ItemGroup>
189 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 189 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
190 <ImportGroup Label="ExtensionTargets"> 190 <ImportGroup Label="ExtensionTargets">
191 </ImportGroup> 191 </ImportGroup>
192</Project> \ No newline at end of file 192</Project> \ No newline at end of file
diff --git a/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc8.vcproj b/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc8.vcproj
index ecc9135..6f20965 100644
--- a/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc8.vcproj
+++ b/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc8.vcproj
@@ -1,190 +1,190 @@
1<?xml version="1.0" encoding="Windows-1252"?> 1<?xml version="1.0" encoding="Windows-1252"?>
2<VisualStudioProject 2<VisualStudioProject
3 ProjectType="Visual C++" 3 ProjectType="Visual C++"
4 Version="8,00" 4 Version="8,00"
5 Name="23.SMeshHandling_vc8" 5 Name="23.SMeshHandling_vc8"
6 ProjectGUID="{6AEC2AA2-C9FF-4B7D-B07A-94A9D34B41D7}" 6 ProjectGUID="{6AEC2AA2-C9FF-4B7D-B07A-94A9D34B41D7}"
7 Keyword="Win32Proj" 7 Keyword="Win32Proj"
8 > 8 >
9 <Platforms> 9 <Platforms>
10 <Platform 10 <Platform
11 Name="Win32" 11 Name="Win32"
12 /> 12 />
13 </Platforms> 13 </Platforms>
14 <ToolFiles> 14 <ToolFiles>
15 </ToolFiles> 15 </ToolFiles>
16 <Configurations> 16 <Configurations>
17 <Configuration 17 <Configuration
18 Name="Debug|Win32" 18 Name="Debug|Win32"
19 OutputDirectory="Debug" 19 OutputDirectory="Debug"
20 IntermediateDirectory="Debug" 20 IntermediateDirectory="Debug"
21 ConfigurationType="1" 21 ConfigurationType="1"
22 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" 22 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
23 CharacterSet="2" 23 CharacterSet="2"
24 > 24 >
25 <Tool 25 <Tool
26 Name="VCPreBuildEventTool" 26 Name="VCPreBuildEventTool"
27 /> 27 />
28 <Tool 28 <Tool
29 Name="VCCustomBuildTool" 29 Name="VCCustomBuildTool"
30 /> 30 />
31 <Tool 31 <Tool
32 Name="VCXMLDataGeneratorTool" 32 Name="VCXMLDataGeneratorTool"
33 /> 33 />
34 <Tool 34 <Tool
35 Name="VCWebServiceProxyGeneratorTool" 35 Name="VCWebServiceProxyGeneratorTool"
36 /> 36 />
37 <Tool 37 <Tool
38 Name="VCMIDLTool" 38 Name="VCMIDLTool"
39 /> 39 />
40 <Tool 40 <Tool
41 Name="VCCLCompilerTool" 41 Name="VCCLCompilerTool"
42 Optimization="0" 42 Optimization="0"
43 AdditionalIncludeDirectories="..\..\include" 43 AdditionalIncludeDirectories="..\..\include"
44 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS" 44 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
45 MinimalRebuild="true" 45 MinimalRebuild="true"
46 BasicRuntimeChecks="3" 46 BasicRuntimeChecks="3"
47 RuntimeLibrary="1" 47 RuntimeLibrary="1"
48 UsePrecompiledHeader="0" 48 UsePrecompiledHeader="0"
49 WarningLevel="3" 49 WarningLevel="3"
50 Detect64BitPortabilityProblems="true" 50 Detect64BitPortabilityProblems="true"
51 DebugInformationFormat="4" 51 DebugInformationFormat="4"
52 /> 52 />
53 <Tool 53 <Tool
54 Name="VCManagedResourceCompilerTool" 54 Name="VCManagedResourceCompilerTool"
55 /> 55 />
56 <Tool 56 <Tool
57 Name="VCResourceCompilerTool" 57 Name="VCResourceCompilerTool"
58 /> 58 />
59 <Tool 59 <Tool
60 Name="VCPreLinkEventTool" 60 Name="VCPreLinkEventTool"
61 /> 61 />
62 <Tool 62 <Tool
63 Name="VCLinkerTool" 63 Name="VCLinkerTool"
64 OutputFile="..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe" 64 OutputFile="..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe"
65 LinkIncremental="2" 65 LinkIncremental="2"
66 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" 66 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio"
67 GenerateDebugInformation="true" 67 GenerateDebugInformation="true"
68 ProgramDatabaseFile="$(OutDir)/SMeshHandling.pdb" 68 ProgramDatabaseFile="$(OutDir)/SMeshHandling.pdb"
69 SubSystem="1" 69 SubSystem="1"
70 TargetMachine="1" 70 TargetMachine="1"
71 /> 71 />
72 <Tool 72 <Tool
73 Name="VCALinkTool" 73 Name="VCALinkTool"
74 /> 74 />
75 <Tool 75 <Tool
76 Name="VCManifestTool" 76 Name="VCManifestTool"
77 /> 77 />
78 <Tool 78 <Tool
79 Name="VCXDCMakeTool" 79 Name="VCXDCMakeTool"
80 /> 80 />
81 <Tool 81 <Tool
82 Name="VCBscMakeTool" 82 Name="VCBscMakeTool"
83 /> 83 />
84 <Tool 84 <Tool
85 Name="VCFxCopTool" 85 Name="VCFxCopTool"
86 /> 86 />
87 <Tool 87 <Tool
88 Name="VCAppVerifierTool" 88 Name="VCAppVerifierTool"
89 /> 89 />
90 <Tool 90 <Tool
91 Name="VCWebDeploymentTool" 91 Name="VCWebDeploymentTool"
92 /> 92 />
93 <Tool 93 <Tool
94 Name="VCPostBuildEventTool" 94 Name="VCPostBuildEventTool"
95 /> 95 />
96 </Configuration> 96 </Configuration>
97 <Configuration 97 <Configuration
98 Name="Release|Win32" 98 Name="Release|Win32"
99 OutputDirectory="Release" 99 OutputDirectory="Release"
100 IntermediateDirectory="Release" 100 IntermediateDirectory="Release"
101 ConfigurationType="1" 101 ConfigurationType="1"
102 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" 102 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
103 CharacterSet="2" 103 CharacterSet="2"
104 > 104 >
105 <Tool 105 <Tool
106 Name="VCPreBuildEventTool" 106 Name="VCPreBuildEventTool"
107 /> 107 />
108 <Tool 108 <Tool
109 Name="VCCustomBuildTool" 109 Name="VCCustomBuildTool"
110 /> 110 />
111 <Tool 111 <Tool
112 Name="VCXMLDataGeneratorTool" 112 Name="VCXMLDataGeneratorTool"
113 /> 113 />
114 <Tool 114 <Tool
115 Name="VCWebServiceProxyGeneratorTool" 115 Name="VCWebServiceProxyGeneratorTool"
116 /> 116 />
117 <Tool 117 <Tool
118 Name="VCMIDLTool" 118 Name="VCMIDLTool"
119 /> 119 />
120 <Tool 120 <Tool
121 Name="VCCLCompilerTool" 121 Name="VCCLCompilerTool"
122 EnableIntrinsicFunctions="true" 122 EnableIntrinsicFunctions="true"
123 FavorSizeOrSpeed="1" 123 FavorSizeOrSpeed="1"
124 AdditionalIncludeDirectories="..\..\include" 124 AdditionalIncludeDirectories="..\..\include"
125 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS" 125 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
126 RuntimeLibrary="0" 126 RuntimeLibrary="0"
127 BufferSecurityCheck="false" 127 BufferSecurityCheck="false"
128 UsePrecompiledHeader="0" 128 UsePrecompiledHeader="0"
129 WarningLevel="3" 129 WarningLevel="3"
130 Detect64BitPortabilityProblems="true" 130 Detect64BitPortabilityProblems="true"
131 DebugInformationFormat="0" 131 DebugInformationFormat="0"
132 CallingConvention="1" 132 CallingConvention="1"
133 /> 133 />
134 <Tool 134 <Tool
135 Name="VCManagedResourceCompilerTool" 135 Name="VCManagedResourceCompilerTool"
136 /> 136 />
137 <Tool 137 <Tool
138 Name="VCResourceCompilerTool" 138 Name="VCResourceCompilerTool"
139 /> 139 />
140 <Tool 140 <Tool
141 Name="VCPreLinkEventTool" 141 Name="VCPreLinkEventTool"
142 /> 142 />
143 <Tool 143 <Tool
144 Name="VCLinkerTool" 144 Name="VCLinkerTool"
145 OutputFile="..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe" 145 OutputFile="..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe"
146 LinkIncremental="1" 146 LinkIncremental="1"
147 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" 147 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio"
148 GenerateDebugInformation="false" 148 GenerateDebugInformation="false"
149 SubSystem="1" 149 SubSystem="1"
150 OptimizeReferences="2" 150 OptimizeReferences="2"
151 EnableCOMDATFolding="2" 151 EnableCOMDATFolding="2"
152 TargetMachine="1" 152 TargetMachine="1"
153 /> 153 />
154 <Tool 154 <Tool
155 Name="VCALinkTool" 155 Name="VCALinkTool"
156 /> 156 />
157 <Tool 157 <Tool
158 Name="VCManifestTool" 158 Name="VCManifestTool"
159 /> 159 />
160 <Tool 160 <Tool
161 Name="VCXDCMakeTool" 161 Name="VCXDCMakeTool"
162 /> 162 />
163 <Tool 163 <Tool
164 Name="VCBscMakeTool" 164 Name="VCBscMakeTool"
165 /> 165 />
166 <Tool 166 <Tool
167 Name="VCFxCopTool" 167 Name="VCFxCopTool"
168 /> 168 />
169 <Tool 169 <Tool
170 Name="VCAppVerifierTool" 170 Name="VCAppVerifierTool"
171 /> 171 />
172 <Tool 172 <Tool
173 Name="VCWebDeploymentTool" 173 Name="VCWebDeploymentTool"
174 /> 174 />
175 <Tool 175 <Tool
176 Name="VCPostBuildEventTool" 176 Name="VCPostBuildEventTool"
177 /> 177 />
178 </Configuration> 178 </Configuration>
179 </Configurations> 179 </Configurations>
180 <References> 180 <References>
181 </References> 181 </References>
182 <Files> 182 <Files>
183 <File 183 <File
184 RelativePath=".\main.cpp" 184 RelativePath=".\main.cpp"
185 > 185 >
186 </File> 186 </File>
187 </Files> 187 </Files>
188 <Globals> 188 <Globals>
189 </Globals> 189 </Globals>
190</VisualStudioProject> 190</VisualStudioProject>
diff --git a/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc9.vcproj b/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc9.vcproj
index b1b921e..e8f55df 100644
--- a/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc9.vcproj
+++ b/libraries/irrlicht-1.8/examples/23.SMeshHandling/SMeshHandling_vc9.vcproj
@@ -1,187 +1,187 @@
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="23.SMeshHandling_vc9" 5 Name="23.SMeshHandling_vc9"
6 ProjectGUID="{6AEC2AA2-C9FF-4B7D-B07A-94A9D34B41D7}" 6 ProjectGUID="{6AEC2AA2-C9FF-4B7D-B07A-94A9D34B41D7}"
7 RootNamespace="23.SMeshHandling_vc9" 7 RootNamespace="23.SMeshHandling_vc9"
8 Keyword="Win32Proj" 8 Keyword="Win32Proj"
9 TargetFrameworkVersion="131072" 9 TargetFrameworkVersion="131072"
10 > 10 >
11 <Platforms> 11 <Platforms>
12 <Platform 12 <Platform
13 Name="Win32" 13 Name="Win32"
14 /> 14 />
15 </Platforms> 15 </Platforms>
16 <ToolFiles> 16 <ToolFiles>
17 </ToolFiles> 17 </ToolFiles>
18 <Configurations> 18 <Configurations>
19 <Configuration 19 <Configuration
20 Name="Debug|Win32" 20 Name="Debug|Win32"
21 OutputDirectory="Debug" 21 OutputDirectory="Debug"
22 IntermediateDirectory="Debug" 22 IntermediateDirectory="Debug"
23 ConfigurationType="1" 23 ConfigurationType="1"
24 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" 24 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
25 CharacterSet="2" 25 CharacterSet="2"
26 > 26 >
27 <Tool 27 <Tool
28 Name="VCPreBuildEventTool" 28 Name="VCPreBuildEventTool"
29 /> 29 />
30 <Tool 30 <Tool
31 Name="VCCustomBuildTool" 31 Name="VCCustomBuildTool"
32 /> 32 />
33 <Tool 33 <Tool
34 Name="VCXMLDataGeneratorTool" 34 Name="VCXMLDataGeneratorTool"
35 /> 35 />
36 <Tool 36 <Tool
37 Name="VCWebServiceProxyGeneratorTool" 37 Name="VCWebServiceProxyGeneratorTool"
38 /> 38 />
39 <Tool 39 <Tool
40 Name="VCMIDLTool" 40 Name="VCMIDLTool"
41 /> 41 />
42 <Tool 42 <Tool
43 Name="VCCLCompilerTool" 43 Name="VCCLCompilerTool"
44 Optimization="0" 44 Optimization="0"
45 AdditionalIncludeDirectories="..\..\include" 45 AdditionalIncludeDirectories="..\..\include"
46 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS" 46 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
47 MinimalRebuild="true" 47 MinimalRebuild="true"
48 BasicRuntimeChecks="3" 48 BasicRuntimeChecks="3"
49 RuntimeLibrary="1" 49 RuntimeLibrary="1"
50 UsePrecompiledHeader="0" 50 UsePrecompiledHeader="0"
51 WarningLevel="3" 51 WarningLevel="3"
52 DebugInformationFormat="4" 52 DebugInformationFormat="4"
53 /> 53 />
54 <Tool 54 <Tool
55 Name="VCManagedResourceCompilerTool" 55 Name="VCManagedResourceCompilerTool"
56 /> 56 />
57 <Tool 57 <Tool
58 Name="VCResourceCompilerTool" 58 Name="VCResourceCompilerTool"
59 /> 59 />
60 <Tool 60 <Tool
61 Name="VCPreLinkEventTool" 61 Name="VCPreLinkEventTool"
62 /> 62 />
63 <Tool 63 <Tool
64 Name="VCLinkerTool" 64 Name="VCLinkerTool"
65 OutputFile="..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe" 65 OutputFile="..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe"
66 LinkIncremental="2" 66 LinkIncremental="2"
67 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" 67 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio"
68 GenerateDebugInformation="true" 68 GenerateDebugInformation="true"
69 ProgramDatabaseFile="$(OutDir)/SMeshHandling.pdb" 69 ProgramDatabaseFile="$(OutDir)/SMeshHandling.pdb"
70 SubSystem="1" 70 SubSystem="1"
71 RandomizedBaseAddress="1" 71 RandomizedBaseAddress="1"
72 DataExecutionPrevention="0" 72 DataExecutionPrevention="0"
73 TargetMachine="1" 73 TargetMachine="1"
74 /> 74 />
75 <Tool 75 <Tool
76 Name="VCALinkTool" 76 Name="VCALinkTool"
77 /> 77 />
78 <Tool 78 <Tool
79 Name="VCManifestTool" 79 Name="VCManifestTool"
80 /> 80 />
81 <Tool 81 <Tool
82 Name="VCXDCMakeTool" 82 Name="VCXDCMakeTool"
83 /> 83 />
84 <Tool 84 <Tool
85 Name="VCBscMakeTool" 85 Name="VCBscMakeTool"
86 /> 86 />
87 <Tool 87 <Tool
88 Name="VCFxCopTool" 88 Name="VCFxCopTool"
89 /> 89 />
90 <Tool 90 <Tool
91 Name="VCAppVerifierTool" 91 Name="VCAppVerifierTool"
92 /> 92 />
93 <Tool 93 <Tool
94 Name="VCPostBuildEventTool" 94 Name="VCPostBuildEventTool"
95 /> 95 />
96 </Configuration> 96 </Configuration>
97 <Configuration 97 <Configuration
98 Name="Release|Win32" 98 Name="Release|Win32"
99 OutputDirectory="Release" 99 OutputDirectory="Release"
100 IntermediateDirectory="Release" 100 IntermediateDirectory="Release"
101 ConfigurationType="1" 101 ConfigurationType="1"
102 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" 102 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
103 CharacterSet="2" 103 CharacterSet="2"
104 > 104 >
105 <Tool 105 <Tool
106 Name="VCPreBuildEventTool" 106 Name="VCPreBuildEventTool"
107 /> 107 />
108 <Tool 108 <Tool
109 Name="VCCustomBuildTool" 109 Name="VCCustomBuildTool"
110 /> 110 />
111 <Tool 111 <Tool
112 Name="VCXMLDataGeneratorTool" 112 Name="VCXMLDataGeneratorTool"
113 /> 113 />
114 <Tool 114 <Tool
115 Name="VCWebServiceProxyGeneratorTool" 115 Name="VCWebServiceProxyGeneratorTool"
116 /> 116 />
117 <Tool 117 <Tool
118 Name="VCMIDLTool" 118 Name="VCMIDLTool"
119 /> 119 />
120 <Tool 120 <Tool
121 Name="VCCLCompilerTool" 121 Name="VCCLCompilerTool"
122 EnableIntrinsicFunctions="true" 122 EnableIntrinsicFunctions="true"
123 FavorSizeOrSpeed="1" 123 FavorSizeOrSpeed="1"
124 AdditionalIncludeDirectories="..\..\include" 124 AdditionalIncludeDirectories="..\..\include"
125 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS" 125 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
126 ExceptionHandling="1" 126 ExceptionHandling="1"
127 UsePrecompiledHeader="0" 127 UsePrecompiledHeader="0"
128 WarningLevel="3" 128 WarningLevel="3"
129 DebugInformationFormat="0" 129 DebugInformationFormat="0"
130 CallingConvention="0" 130 CallingConvention="0"
131 /> 131 />
132 <Tool 132 <Tool
133 Name="VCManagedResourceCompilerTool" 133 Name="VCManagedResourceCompilerTool"
134 /> 134 />
135 <Tool 135 <Tool
136 Name="VCResourceCompilerTool" 136 Name="VCResourceCompilerTool"
137 /> 137 />
138 <Tool 138 <Tool
139 Name="VCPreLinkEventTool" 139 Name="VCPreLinkEventTool"
140 /> 140 />
141 <Tool 141 <Tool
142 Name="VCLinkerTool" 142 Name="VCLinkerTool"
143 OutputFile="..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe" 143 OutputFile="..\..\bin\Win32-VisualStudio\23.SMeshHandling.exe"
144 LinkIncremental="1" 144 LinkIncremental="1"
145 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" 145 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio"
146 GenerateDebugInformation="false" 146 GenerateDebugInformation="false"
147 SubSystem="1" 147 SubSystem="1"
148 OptimizeReferences="2" 148 OptimizeReferences="2"
149 EnableCOMDATFolding="2" 149 EnableCOMDATFolding="2"
150 RandomizedBaseAddress="1" 150 RandomizedBaseAddress="1"
151 DataExecutionPrevention="0" 151 DataExecutionPrevention="0"
152 TargetMachine="1" 152 TargetMachine="1"
153 /> 153 />
154 <Tool 154 <Tool
155 Name="VCALinkTool" 155 Name="VCALinkTool"
156 /> 156 />
157 <Tool 157 <Tool
158 Name="VCManifestTool" 158 Name="VCManifestTool"
159 /> 159 />
160 <Tool 160 <Tool
161 Name="VCXDCMakeTool" 161 Name="VCXDCMakeTool"
162 /> 162 />
163 <Tool 163 <Tool
164 Name="VCBscMakeTool" 164 Name="VCBscMakeTool"
165 /> 165 />
166 <Tool 166 <Tool
167 Name="VCFxCopTool" 167 Name="VCFxCopTool"
168 /> 168 />
169 <Tool 169 <Tool
170 Name="VCAppVerifierTool" 170 Name="VCAppVerifierTool"
171 /> 171 />
172 <Tool 172 <Tool
173 Name="VCPostBuildEventTool" 173 Name="VCPostBuildEventTool"
174 /> 174 />
175 </Configuration> 175 </Configuration>
176 </Configurations> 176 </Configurations>
177 <References> 177 <References>
178 </References> 178 </References>
179 <Files> 179 <Files>
180 <File 180 <File
181 RelativePath=".\main.cpp" 181 RelativePath=".\main.cpp"
182 > 182 >
183 </File> 183 </File>
184 </Files> 184 </Files>
185 <Globals> 185 <Globals>
186 </Globals> 186 </Globals>
187</VisualStudioProject> 187</VisualStudioProject>
diff --git a/libraries/irrlicht-1.8/examples/23.SMeshHandling/main.cpp b/libraries/irrlicht-1.8/examples/23.SMeshHandling/main.cpp
index c3c2ccf..d36fb24 100644
--- a/libraries/irrlicht-1.8/examples/23.SMeshHandling/main.cpp
+++ b/libraries/irrlicht-1.8/examples/23.SMeshHandling/main.cpp
@@ -1,426 +1,426 @@
1/** Example 023 SMeshBufferHandling 1/** Example 023 SMeshBufferHandling
2 2
3A tutorial by geoff. 3A tutorial by geoff.
4 4
5In this tutorial we'll learn how to create custom meshes and deal with them 5In this tutorial we'll learn how to create custom meshes and deal with them
6with Irrlicht. We'll create an interesting heightmap with some lighting effects. 6with Irrlicht. We'll create an interesting heightmap with some lighting effects.
7With keys 1,2,3 you can choose a different mesh layout, which is put into the 7With keys 1,2,3 you can choose a different mesh layout, which is put into the
8mesh buffers as desired. All positions, normals, etc. are updated accordingly. 8mesh buffers as desired. All positions, normals, etc. are updated accordingly.
9 9
10Ok, let's start with the headers (I think there's nothing to say about it) 10Ok, let's start with the headers (I think there's nothing to say about it)
11*/ 11*/
12 12
13#include <irrlicht.h> 13#include <irrlicht.h>
14#include "driverChoice.h" 14#include "driverChoice.h"
15 15
16#ifdef _MSC_VER 16#ifdef _MSC_VER
17#pragma comment(lib, "Irrlicht.lib") 17#pragma comment(lib, "Irrlicht.lib")
18#endif 18#endif
19 19
20//Namespaces for the engine 20//Namespaces for the engine
21using namespace irr; 21using namespace irr;
22using namespace video; 22using namespace video;
23using namespace core; 23using namespace core;
24using namespace scene; 24using namespace scene;
25using namespace io; 25using namespace io;
26using namespace gui; 26using namespace gui;
27 27
28/* This is the type of the functions which work out the colour. */ 28/* This is the type of the functions which work out the colour. */
29typedef SColor colour_func(f32 x, f32 y, f32 z); 29typedef SColor colour_func(f32 x, f32 y, f32 z);
30 30
31/* Here comes a set of functions which can be used for coloring the nodes while 31/* Here comes a set of functions which can be used for coloring the nodes while
32creating the mesh. */ 32creating the mesh. */
33 33
34// Greyscale, based on the height. 34// Greyscale, based on the height.
35SColor grey(f32, f32, f32 z) 35SColor grey(f32, f32, f32 z)
36{ 36{
37 u32 n = (u32)(255.f * z); 37 u32 n = (u32)(255.f * z);
38 return SColor(255, n, n, n); 38 return SColor(255, n, n, n);
39} 39}
40 40
41// Interpolation between blue and white, with red added in one 41// Interpolation between blue and white, with red added in one
42// direction and green in the other. 42// direction and green in the other.
43SColor yellow(f32 x, f32 y, f32) 43SColor yellow(f32 x, f32 y, f32)
44{ 44{
45 return SColor(255, 128 + (u32)(127.f * x), 128 + (u32)(127.f * y), 255); 45 return SColor(255, 128 + (u32)(127.f * x), 128 + (u32)(127.f * y), 255);
46} 46}
47 47
48// Pure white. 48// Pure white.
49SColor white(f32, f32, f32) { return SColor(255, 255, 255, 255); } 49SColor white(f32, f32, f32) { return SColor(255, 255, 255, 255); }
50 50
51/* The type of the functions which generate the heightmap. x and y 51/* The type of the functions which generate the heightmap. x and y
52range between -0.5 and 0.5, and s is the scale of the heightmap. */ 52range between -0.5 and 0.5, and s is the scale of the heightmap. */
53 53
54typedef f32 generate_func(s16 x, s16 y, f32 s); 54typedef f32 generate_func(s16 x, s16 y, f32 s);
55 55
56// An interesting sample function :-) 56// An interesting sample function :-)
57f32 eggbox(s16 x, s16 y, f32 s) 57f32 eggbox(s16 x, s16 y, f32 s)
58{ 58{
59 const f32 r = 4.f*sqrtf((f32)(x*x + y*y))/s; 59 const f32 r = 4.f*sqrtf((f32)(x*x + y*y))/s;
60 const f32 z = expf(-r * 2) * (cosf(0.2f * x) + cosf(0.2f * y)); 60 const f32 z = expf(-r * 2) * (cosf(0.2f * x) + cosf(0.2f * y));
61 return 0.25f+0.25f*z; 61 return 0.25f+0.25f*z;
62} 62}
63 63
64// A rather dumb sine function :-/ 64// A rather dumb sine function :-/
65f32 moresine(s16 x, s16 y, f32 s) 65f32 moresine(s16 x, s16 y, f32 s)
66{ 66{
67 const f32 xx=0.3f*(f32)x/s; 67 const f32 xx=0.3f*(f32)x/s;
68 const f32 yy=12*y/s; 68 const f32 yy=12*y/s;
69 const f32 z = sinf(xx*xx+yy)*sinf(xx+yy*yy); 69 const f32 z = sinf(xx*xx+yy)*sinf(xx+yy*yy);
70 return 0.25f + 0.25f * z; 70 return 0.25f + 0.25f * z;
71} 71}
72 72
73// A simple function 73// A simple function
74f32 justexp(s16 x, s16 y, f32 s) 74f32 justexp(s16 x, s16 y, f32 s)
75{ 75{
76 const f32 xx=6*x/s; 76 const f32 xx=6*x/s;
77 const f32 yy=6*y/s; 77 const f32 yy=6*y/s;
78 const f32 z = (xx*xx+yy*yy); 78 const f32 z = (xx*xx+yy*yy);
79 return 0.3f*z*cosf(xx*yy); 79 return 0.3f*z*cosf(xx*yy);
80} 80}
81 81
82/* A simple class for representing heightmaps. Most of this should be obvious. */ 82/* A simple class for representing heightmaps. Most of this should be obvious. */
83 83
84class HeightMap 84class HeightMap
85{ 85{
86private: 86private:
87 const u16 Width; 87 const u16 Width;
88 const u16 Height; 88 const u16 Height;
89 f32 s; 89 f32 s;
90 core::array<f32> data; 90 core::array<f32> data;
91public: 91public:
92 HeightMap(u16 _w, u16 _h) : Width(_w), Height(_h), s(0.f), data(0) 92 HeightMap(u16 _w, u16 _h) : Width(_w), Height(_h), s(0.f), data(0)
93 { 93 {
94 s = sqrtf((f32)(Width * Width + Height * Height)); 94 s = sqrtf((f32)(Width * Width + Height * Height));
95 data.set_used(Width * Height); 95 data.set_used(Width * Height);
96 } 96 }
97 97
98 // Fill the heightmap with values generated from f. 98 // Fill the heightmap with values generated from f.
99 void generate(generate_func f) 99 void generate(generate_func f)
100 { 100 {
101 u32 i=0; 101 u32 i=0;
102 for(u16 y = 0; y < Height; ++y) 102 for(u16 y = 0; y < Height; ++y)
103 for(u16 x = 0; x < Width; ++x) 103 for(u16 x = 0; x < Width; ++x)
104 set(i++, calc(f, x, y)); 104 set(i++, calc(f, x, y));
105 } 105 }
106 106
107 u16 height() const { return Height; } 107 u16 height() const { return Height; }
108 u16 width() const { return Width; } 108 u16 width() const { return Width; }
109 109
110 f32 calc(generate_func f, u16 x, u16 y) const 110 f32 calc(generate_func f, u16 x, u16 y) const
111 { 111 {
112 const f32 xx = (f32)x - Width*0.5f; 112 const f32 xx = (f32)x - Width*0.5f;
113 const f32 yy = (f32)y - Height*0.5f; 113 const f32 yy = (f32)y - Height*0.5f;
114 return f((u16)xx, (u16)yy, s); 114 return f((u16)xx, (u16)yy, s);
115 } 115 }
116 116
117 // The height at (x, y) is at position y * Width + x. 117 // The height at (x, y) is at position y * Width + x.
118 118
119 void set(u16 x, u16 y, f32 z) { data[y * Width + x] = z; } 119 void set(u16 x, u16 y, f32 z) { data[y * Width + x] = z; }
120 void set(u32 i, f32 z) { data[i] = z; } 120 void set(u32 i, f32 z) { data[i] = z; }
121 f32 get(u16 x, u16 y) const { return data[y * Width + x]; } 121 f32 get(u16 x, u16 y) const { return data[y * Width + x]; }
122 122
123 /* The only difficult part. This considers the normal at (x, y) to 123 /* The only difficult part. This considers the normal at (x, y) to
124 be the cross product of the vectors between the adjacent points 124 be the cross product of the vectors between the adjacent points
125 in the horizontal and vertical directions. 125 in the horizontal and vertical directions.
126 126
127 s is a scaling factor, which is necessary if the height units are 127 s is a scaling factor, which is necessary if the height units are
128 different from the coordinate units; for example, if your map has 128 different from the coordinate units; for example, if your map has
129 heights in metres and the coordinates are in units of a 129 heights in metres and the coordinates are in units of a
130 kilometer. */ 130 kilometer. */
131 131
132 vector3df getnormal(u16 x, u16 y, f32 s) const 132 vector3df getnormal(u16 x, u16 y, f32 s) const
133 { 133 {
134 const f32 zc = get(x, y); 134 const f32 zc = get(x, y);
135 f32 zl, zr, zu, zd; 135 f32 zl, zr, zu, zd;
136 136
137 if (x == 0) 137 if (x == 0)
138 { 138 {
139 zr = get(x + 1, y); 139 zr = get(x + 1, y);
140 zl = zc + zc - zr; 140 zl = zc + zc - zr;
141 } 141 }
142 else if (x == Width - 1) 142 else if (x == Width - 1)
143 { 143 {
144 zl = get(x - 1, y); 144 zl = get(x - 1, y);
145 zr = zc + zc - zl; 145 zr = zc + zc - zl;
146 } 146 }
147 else 147 else
148 { 148 {
149 zr = get(x + 1, y); 149 zr = get(x + 1, y);
150 zl = get(x - 1, y); 150 zl = get(x - 1, y);
151 } 151 }
152 152
153 if (y == 0) 153 if (y == 0)
154 { 154 {
155 zd = get(x, y + 1); 155 zd = get(x, y + 1);
156 zu = zc + zc - zd; 156 zu = zc + zc - zd;
157 } 157 }
158 else if (y == Height - 1) 158 else if (y == Height - 1)
159 { 159 {
160 zu = get(x, y - 1); 160 zu = get(x, y - 1);
161 zd = zc + zc - zu; 161 zd = zc + zc - zu;
162 } 162 }
163 else 163 else
164 { 164 {
165 zd = get(x, y + 1); 165 zd = get(x, y + 1);
166 zu = get(x, y - 1); 166 zu = get(x, y - 1);
167 } 167 }
168 168
169 return vector3df(s * 2 * (zl - zr), 4, s * 2 * (zd - zu)).normalize(); 169 return vector3df(s * 2 * (zl - zr), 4, s * 2 * (zd - zu)).normalize();
170 } 170 }
171}; 171};
172 172
173/* A class which generates a mesh from a heightmap. */ 173/* A class which generates a mesh from a heightmap. */
174class TMesh 174class TMesh
175{ 175{
176private: 176private:
177 u16 Width; 177 u16 Width;
178 u16 Height; 178 u16 Height;
179 f32 Scale; 179 f32 Scale;
180public: 180public:
181 SMesh* Mesh; 181 SMesh* Mesh;
182 182
183 TMesh() : Mesh(0), Width(0), Height(0), Scale(1.f) 183 TMesh() : Mesh(0), Width(0), Height(0), Scale(1.f)
184 { 184 {
185 Mesh = new SMesh(); 185 Mesh = new SMesh();
186 } 186 }
187 187
188 ~TMesh() 188 ~TMesh()
189 { 189 {
190 Mesh->drop(); 190 Mesh->drop();
191 } 191 }
192 192
193 // Unless the heightmap is small, it won't all fit into a single 193 // Unless the heightmap is small, it won't all fit into a single
194 // SMeshBuffer. This function chops it into pieces and generates a 194 // SMeshBuffer. This function chops it into pieces and generates a
195 // buffer from each one. 195 // buffer from each one.
196 196
197 void init(const HeightMap &hm, f32 scale, colour_func cf, IVideoDriver *driver) 197 void init(const HeightMap &hm, f32 scale, colour_func cf, IVideoDriver *driver)
198 { 198 {
199 Scale = scale; 199 Scale = scale;
200 200
201 const u32 mp = driver -> getMaximalPrimitiveCount(); 201 const u32 mp = driver -> getMaximalPrimitiveCount();
202 Width = hm.width(); 202 Width = hm.width();
203 Height = hm.height(); 203 Height = hm.height();
204 204
205 const u32 sw = mp / (6 * Height); // the width of each piece 205 const u32 sw = mp / (6 * Height); // the width of each piece
206 206
207 u32 i=0; 207 u32 i=0;
208 for(u32 y0 = 0; y0 < Height; y0 += sw) 208 for(u32 y0 = 0; y0 < Height; y0 += sw)
209 { 209 {
210 u16 y1 = y0 + sw; 210 u16 y1 = y0 + sw;
211 if (y1 >= Height) 211 if (y1 >= Height)
212 y1 = Height - 1; // the last one might be narrower 212 y1 = Height - 1; // the last one might be narrower
213 addstrip(hm, cf, y0, y1, i); 213 addstrip(hm, cf, y0, y1, i);
214 ++i; 214 ++i;
215 } 215 }
216 if (i<Mesh->getMeshBufferCount()) 216 if (i<Mesh->getMeshBufferCount())
217 { 217 {
218 // clear the rest 218 // clear the rest
219 for (u32 j=i; j<Mesh->getMeshBufferCount(); ++j) 219 for (u32 j=i; j<Mesh->getMeshBufferCount(); ++j)
220 { 220 {
221 Mesh->getMeshBuffer(j)->drop(); 221 Mesh->getMeshBuffer(j)->drop();
222 } 222 }
223 Mesh->MeshBuffers.erase(i,Mesh->getMeshBufferCount()-i); 223 Mesh->MeshBuffers.erase(i,Mesh->getMeshBufferCount()-i);
224 } 224 }
225 // set dirty flag to make sure that hardware copies of this 225 // set dirty flag to make sure that hardware copies of this
226 // buffer are also updated, see IMesh::setHardwareMappingHint 226 // buffer are also updated, see IMesh::setHardwareMappingHint
227 Mesh->setDirty(); 227 Mesh->setDirty();
228 Mesh->recalculateBoundingBox(); 228 Mesh->recalculateBoundingBox();
229 } 229 }
230 230
231 // Generate a SMeshBuffer which represents all the vertices and 231 // Generate a SMeshBuffer which represents all the vertices and
232 // indices for values of y between y0 and y1, and add it to the 232 // indices for values of y between y0 and y1, and add it to the
233 // mesh. 233 // mesh.
234 234
235 void addstrip(const HeightMap &hm, colour_func cf, u16 y0, u16 y1, u32 bufNum) 235 void addstrip(const HeightMap &hm, colour_func cf, u16 y0, u16 y1, u32 bufNum)
236 { 236 {
237 SMeshBuffer *buf = 0; 237 SMeshBuffer *buf = 0;
238 if (bufNum<Mesh->getMeshBufferCount()) 238 if (bufNum<Mesh->getMeshBufferCount())
239 { 239 {
240 buf = (SMeshBuffer*)Mesh->getMeshBuffer(bufNum); 240 buf = (SMeshBuffer*)Mesh->getMeshBuffer(bufNum);
241 } 241 }
242 else 242 else
243 { 243 {
244 // create new buffer 244 // create new buffer
245 buf = new SMeshBuffer(); 245 buf = new SMeshBuffer();
246 Mesh->addMeshBuffer(buf); 246 Mesh->addMeshBuffer(buf);
247 // to simplify things we drop here but continue using buf 247 // to simplify things we drop here but continue using buf
248 buf->drop(); 248 buf->drop();
249 } 249 }
250 buf->Vertices.set_used((1 + y1 - y0) * Width); 250 buf->Vertices.set_used((1 + y1 - y0) * Width);
251 251
252 u32 i=0; 252 u32 i=0;
253 for (u16 y = y0; y <= y1; ++y) 253 for (u16 y = y0; y <= y1; ++y)
254 { 254 {
255 for (u16 x = 0; x < Width; ++x) 255 for (u16 x = 0; x < Width; ++x)
256 { 256 {
257 const f32 z = hm.get(x, y); 257 const f32 z = hm.get(x, y);
258 const f32 xx = (f32)x/(f32)Width; 258 const f32 xx = (f32)x/(f32)Width;
259 const f32 yy = (f32)y/(f32)Height; 259 const f32 yy = (f32)y/(f32)Height;
260 260
261 S3DVertex& v = buf->Vertices[i++]; 261 S3DVertex& v = buf->Vertices[i++];
262 v.Pos.set(x, Scale * z, y); 262 v.Pos.set(x, Scale * z, y);
263 v.Normal.set(hm.getnormal(x, y, Scale)); 263 v.Normal.set(hm.getnormal(x, y, Scale));
264 v.Color=cf(xx, yy, z); 264 v.Color=cf(xx, yy, z);
265 v.TCoords.set(xx, yy); 265 v.TCoords.set(xx, yy);
266 } 266 }
267 } 267 }
268 268
269 buf->Indices.set_used(6 * (Width - 1) * (y1 - y0)); 269 buf->Indices.set_used(6 * (Width - 1) * (y1 - y0));
270 i=0; 270 i=0;
271 for(u16 y = y0; y < y1; ++y) 271 for(u16 y = y0; y < y1; ++y)
272 { 272 {
273 for(u16 x = 0; x < Width - 1; ++x) 273 for(u16 x = 0; x < Width - 1; ++x)
274 { 274 {
275 const u16 n = (y-y0) * Width + x; 275 const u16 n = (y-y0) * Width + x;
276 buf->Indices[i]=n; 276 buf->Indices[i]=n;
277 buf->Indices[++i]=n + Width; 277 buf->Indices[++i]=n + Width;
278 buf->Indices[++i]=n + Width + 1; 278 buf->Indices[++i]=n + Width + 1;
279 buf->Indices[++i]=n + Width + 1; 279 buf->Indices[++i]=n + Width + 1;
280 buf->Indices[++i]=n + 1; 280 buf->Indices[++i]=n + 1;
281 buf->Indices[++i]=n; 281 buf->Indices[++i]=n;
282 ++i; 282 ++i;
283 } 283 }
284 } 284 }
285 285
286 buf->recalculateBoundingBox(); 286 buf->recalculateBoundingBox();
287 } 287 }
288}; 288};
289 289
290/* 290/*
291Our event receiver implementation, taken from tutorial 4. 291Our event receiver implementation, taken from tutorial 4.
292*/ 292*/
293class MyEventReceiver : public IEventReceiver 293class MyEventReceiver : public IEventReceiver
294{ 294{
295public: 295public:
296 // This is the one method that we have to implement 296 // This is the one method that we have to implement
297 virtual bool OnEvent(const SEvent& event) 297 virtual bool OnEvent(const SEvent& event)
298 { 298 {
299 // Remember whether each key is down or up 299 // Remember whether each key is down or up
300 if (event.EventType == irr::EET_KEY_INPUT_EVENT) 300 if (event.EventType == irr::EET_KEY_INPUT_EVENT)
301 KeyIsDown[event.KeyInput.Key] = event.KeyInput.PressedDown; 301 KeyIsDown[event.KeyInput.Key] = event.KeyInput.PressedDown;
302 302
303 return false; 303 return false;
304 } 304 }
305 305
306 // This is used to check whether a key is being held down 306 // This is used to check whether a key is being held down
307 virtual bool IsKeyDown(EKEY_CODE keyCode) const 307 virtual bool IsKeyDown(EKEY_CODE keyCode) const
308 { 308 {
309 return KeyIsDown[keyCode]; 309 return KeyIsDown[keyCode];
310 } 310 }
311 311
312 MyEventReceiver() 312 MyEventReceiver()
313 { 313 {
314 for (u32 i=0; i<KEY_KEY_CODES_COUNT; ++i) 314 for (u32 i=0; i<KEY_KEY_CODES_COUNT; ++i)
315 KeyIsDown[i] = false; 315 KeyIsDown[i] = false;
316 } 316 }
317 317
318private: 318private:
319 // We use this array to store the current state of each key 319 // We use this array to store the current state of each key
320 bool KeyIsDown[KEY_KEY_CODES_COUNT]; 320 bool KeyIsDown[KEY_KEY_CODES_COUNT];
321}; 321};
322 322
323/* 323/*
324Much of this is code taken from some of the examples. We merely set 324Much of this is code taken from some of the examples. We merely set
325up a mesh from a heightmap, light it with a moving light, and allow 325up a mesh from a heightmap, light it with a moving light, and allow
326the user to navigate around it. 326the user to navigate around it.
327*/ 327*/
328 328
329int main(int argc, char* argv[]) 329int main(int argc, char* argv[])
330{ 330{
331 // ask user for driver 331 // ask user for driver
332 video::E_DRIVER_TYPE driverType=driverChoiceConsole(); 332 video::E_DRIVER_TYPE driverType=driverChoiceConsole();
333 if (driverType==video::EDT_COUNT) 333 if (driverType==video::EDT_COUNT)
334 return 1; 334 return 1;
335 335
336 MyEventReceiver receiver; 336 MyEventReceiver receiver;
337 IrrlichtDevice* device = createDevice(driverType, 337 IrrlichtDevice* device = createDevice(driverType,
338 core::dimension2du(800, 600), 32, false, false, false, 338 core::dimension2du(800, 600), 32, false, false, false,
339 &receiver); 339 &receiver);
340 340
341 if(device == 0) 341 if(device == 0)
342 return 1; 342 return 1;
343 343
344 IVideoDriver *driver = device->getVideoDriver(); 344 IVideoDriver *driver = device->getVideoDriver();
345 ISceneManager *smgr = device->getSceneManager(); 345 ISceneManager *smgr = device->getSceneManager();
346 device->setWindowCaption(L"Irrlicht Example for SMesh usage."); 346 device->setWindowCaption(L"Irrlicht Example for SMesh usage.");
347 347
348 /* 348 /*
349 Create the custom mesh and initialize with a heightmap 349 Create the custom mesh and initialize with a heightmap
350 */ 350 */
351 TMesh mesh; 351 TMesh mesh;
352 HeightMap hm = HeightMap(255, 255); 352 HeightMap hm = HeightMap(255, 255);
353 hm.generate(eggbox); 353 hm.generate(eggbox);
354 mesh.init(hm, 50.f, grey, driver); 354 mesh.init(hm, 50.f, grey, driver);
355 355
356 // Add the mesh to the scene graph 356 // Add the mesh to the scene graph
357 IMeshSceneNode* meshnode = smgr -> addMeshSceneNode(mesh.Mesh); 357 IMeshSceneNode* meshnode = smgr -> addMeshSceneNode(mesh.Mesh);
358 meshnode->setMaterialFlag(video::EMF_BACK_FACE_CULLING, false); 358 meshnode->setMaterialFlag(video::EMF_BACK_FACE_CULLING, false);
359 359
360 // light is just for nice effects 360 // light is just for nice effects
361 ILightSceneNode *node = smgr->addLightSceneNode(0, vector3df(0,100,0), 361 ILightSceneNode *node = smgr->addLightSceneNode(0, vector3df(0,100,0),
362 SColorf(1.0f, 0.6f, 0.7f, 1.0f), 500.0f); 362 SColorf(1.0f, 0.6f, 0.7f, 1.0f), 500.0f);
363 if (node) 363 if (node)
364 { 364 {
365 node->getLightData().Attenuation.set(0.f, 1.f/500.f, 0.f); 365 node->getLightData().Attenuation.set(0.f, 1.f/500.f, 0.f);
366 ISceneNodeAnimator* anim = smgr->createFlyCircleAnimator(vector3df(0,150,0),250.0f); 366 ISceneNodeAnimator* anim = smgr->createFlyCircleAnimator(vector3df(0,150,0),250.0f);
367 if (anim) 367 if (anim)
368 { 368 {
369 node->addAnimator(anim); 369 node->addAnimator(anim);
370 anim->drop(); 370 anim->drop();
371 } 371 }
372 } 372 }
373 373
374 ICameraSceneNode* camera = smgr->addCameraSceneNodeFPS(); 374 ICameraSceneNode* camera = smgr->addCameraSceneNodeFPS();
375 if (camera) 375 if (camera)
376 { 376 {
377 camera->setPosition(vector3df(-20.f, 150.f, -20.f)); 377 camera->setPosition(vector3df(-20.f, 150.f, -20.f));
378 camera->setTarget(vector3df(200.f, -80.f, 150.f)); 378 camera->setTarget(vector3df(200.f, -80.f, 150.f));
379 camera->setFarValue(20000.0f); 379 camera->setFarValue(20000.0f);
380 } 380 }
381 381
382 /* 382 /*
383 Just a usual render loop with event handling. The custom mesh is 383 Just a usual render loop with event handling. The custom mesh is
384 a usual part of the scene graph which gets rendered by drawAll. 384 a usual part of the scene graph which gets rendered by drawAll.
385 */ 385 */
386 while(device->run()) 386 while(device->run())
387 { 387 {
388 if(!device->isWindowActive()) 388 if(!device->isWindowActive())
389 { 389 {
390 device->sleep(100); 390 device->sleep(100);
391 continue; 391 continue;
392 } 392 }
393 393
394 if(receiver.IsKeyDown(irr::KEY_KEY_W)) 394 if(receiver.IsKeyDown(irr::KEY_KEY_W))
395 { 395 {
396 meshnode->setMaterialFlag(video::EMF_WIREFRAME, !meshnode->getMaterial(0).Wireframe); 396 meshnode->setMaterialFlag(video::EMF_WIREFRAME, !meshnode->getMaterial(0).Wireframe);
397 } 397 }
398 else if(receiver.IsKeyDown(irr::KEY_KEY_1)) 398 else if(receiver.IsKeyDown(irr::KEY_KEY_1))
399 { 399 {
400 hm.generate(eggbox); 400 hm.generate(eggbox);
401 mesh.init(hm, 50.f, grey, driver); 401 mesh.init(hm, 50.f, grey, driver);
402 } 402 }
403 else if(receiver.IsKeyDown(irr::KEY_KEY_2)) 403 else if(receiver.IsKeyDown(irr::KEY_KEY_2))
404 { 404 {
405 hm.generate(moresine); 405 hm.generate(moresine);
406 mesh.init(hm, 50.f, yellow, driver); 406 mesh.init(hm, 50.f, yellow, driver);
407 } 407 }
408 else if(receiver.IsKeyDown(irr::KEY_KEY_3)) 408 else if(receiver.IsKeyDown(irr::KEY_KEY_3))
409 { 409 {
410 hm.generate(justexp); 410 hm.generate(justexp);
411 mesh.init(hm, 50.f, yellow, driver); 411 mesh.init(hm, 50.f, yellow, driver);
412 } 412 }
413 413
414 driver->beginScene(true, true, SColor(0xff000000)); 414 driver->beginScene(true, true, SColor(0xff000000));
415 smgr->drawAll(); 415 smgr->drawAll();
416 driver->endScene(); 416 driver->endScene();
417 } 417 }
418 418
419 device->drop(); 419 device->drop();
420 420
421 return 0; 421 return 0;
422} 422}
423 423
424/* 424/*
425That's it! Just compile and play around with the program. 425That's it! Just compile and play around with the program.
426**/ 426**/