diff options
Diffstat (limited to 'libraries/irrlicht-1.8/examples/19.MouseAndJoystick')
8 files changed, 1462 insertions, 1462 deletions
diff --git a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/Makefile b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/Makefile index 2462ea8..0fb9e19 100644 --- a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/Makefile +++ b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/Makefile | |||
@@ -1,39 +1,39 @@ | |||
1 | # Makefile for Irrlicht Examples | 1 | # Makefile for Irrlicht Examples |
2 | # It's usually sufficient to change just the target name and source file list | 2 | # It's usually sufficient to change just the target name and source file list |
3 | # and be sure that CXX is set to a valid compiler | 3 | # and be sure that CXX is set to a valid compiler |
4 | Target = 19.MouseAndJoystick | 4 | Target = 19.MouseAndJoystick |
5 | Sources = main.cpp | 5 | Sources = main.cpp |
6 | 6 | ||
7 | # general compiler settings | 7 | # general compiler settings |
8 | CPPFLAGS = -I../../include -I/usr/X11R6/include | 8 | CPPFLAGS = -I../../include -I/usr/X11R6/include |
9 | #CXXFLAGS = -O3 -ffast-math | 9 | #CXXFLAGS = -O3 -ffast-math |
10 | CXXFLAGS = -g -Wall | 10 | CXXFLAGS = -g -Wall |
11 | 11 | ||
12 | #default target is Linux | 12 | #default target is Linux |
13 | all: all_linux | 13 | all: all_linux |
14 | 14 | ||
15 | ifeq ($(HOSTTYPE), x86_64) | 15 | ifeq ($(HOSTTYPE), x86_64) |
16 | LIBSELECT=64 | 16 | LIBSELECT=64 |
17 | endif | 17 | endif |
18 | 18 | ||
19 | # target specific settings | 19 | # target specific settings |
20 | all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor | 20 | all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor |
21 | all_linux clean_linux: SYSTEM=Linux | 21 | all_linux clean_linux: SYSTEM=Linux |
22 | all_win32: LDFLAGS = -L../../lib/Win32-gcc -lIrrlicht -lopengl32 -lm | 22 | all_win32: LDFLAGS = -L../../lib/Win32-gcc -lIrrlicht -lopengl32 -lm |
23 | all_win32: CPPFLAGS += -D__GNUWIN32__ -D_WIN32 -DWIN32 -D_WINDOWS -D_MBCS -D_USRDLL | 23 | all_win32: CPPFLAGS += -D__GNUWIN32__ -D_WIN32 -DWIN32 -D_WINDOWS -D_MBCS -D_USRDLL |
24 | all_win32 clean_win32: SYSTEM=Win32-gcc | 24 | all_win32 clean_win32: SYSTEM=Win32-gcc |
25 | all_win32 clean_win32: SUF=.exe | 25 | all_win32 clean_win32: SUF=.exe |
26 | # name of the binary - only valid for targets which set SYSTEM | 26 | # name of the binary - only valid for targets which set SYSTEM |
27 | DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF) | 27 | DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF) |
28 | 28 | ||
29 | all_linux all_win32: | 29 | all_linux all_win32: |
30 | $(warning Building...) | 30 | $(warning Building...) |
31 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(Sources) -o $(DESTPATH) $(LDFLAGS) | 31 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(Sources) -o $(DESTPATH) $(LDFLAGS) |
32 | 32 | ||
33 | clean: clean_linux clean_win32 | 33 | clean: clean_linux clean_win32 |
34 | $(warning Cleaning...) | 34 | $(warning Cleaning...) |
35 | 35 | ||
36 | clean_linux clean_win32: | 36 | clean_linux clean_win32: |
37 | @$(RM) $(DESTPATH) | 37 | @$(RM) $(DESTPATH) |
38 | 38 | ||
39 | .PHONY: all all_win32 clean clean_linux clean_win32 | 39 | .PHONY: all all_win32 clean clean_linux clean_win32 |
diff --git a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick.dev b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick.dev index cac8418..a5a111c 100644 --- a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick.dev +++ b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick.dev | |||
@@ -1,59 +1,59 @@ | |||
1 | [Project] | 1 | [Project] |
2 | FileName=example.dev | 2 | FileName=example.dev |
3 | Name=Irrlicht Example 04 MouseAndJoystick | 3 | Name=Irrlicht Example 04 MouseAndJoystick |
4 | UnitCount=1 | 4 | UnitCount=1 |
5 | Type=1 | 5 | Type=1 |
6 | Ver=1 | 6 | Ver=1 |
7 | ObjFiles= | 7 | ObjFiles= |
8 | Includes=..\..\include | 8 | Includes=..\..\include |
9 | Libs= | 9 | Libs= |
10 | PrivateResource= | 10 | PrivateResource= |
11 | ResourceIncludes= | 11 | ResourceIncludes= |
12 | MakeIncludes= | 12 | MakeIncludes= |
13 | Compiler= | 13 | Compiler= |
14 | CppCompiler= | 14 | CppCompiler= |
15 | Linker=../../lib/Win32-gcc/libIrrlicht.a_@@_ | 15 | Linker=../../lib/Win32-gcc/libIrrlicht.a_@@_ |
16 | IsCpp=1 | 16 | IsCpp=1 |
17 | Icon= | 17 | Icon= |
18 | ExeOutput=../../bin/Win32-gcc | 18 | ExeOutput=../../bin/Win32-gcc |
19 | ObjectOutput=obj | 19 | ObjectOutput=obj |
20 | OverrideOutput=1 | 20 | OverrideOutput=1 |
21 | OverrideOutputName=19.MouseAndJoystick.exe | 21 | OverrideOutputName=19.MouseAndJoystick.exe |
22 | HostApplication= | 22 | HostApplication= |
23 | Folders= | 23 | Folders= |
24 | CommandLine= | 24 | CommandLine= |
25 | IncludeVersionInfo=0 | 25 | IncludeVersionInfo=0 |
26 | SupportXPThemes=0 | 26 | SupportXPThemes=0 |
27 | CompilerSet=0 | 27 | CompilerSet=0 |
28 | CompilerSettings=0000000000000000000000 | 28 | CompilerSettings=0000000000000000000000 |
29 | UseCustomMakefile=0 | 29 | UseCustomMakefile=0 |
30 | CustomMakefile= | 30 | CustomMakefile= |
31 | 31 | ||
32 | [Unit1] | 32 | [Unit1] |
33 | FileName=main.cpp | 33 | FileName=main.cpp |
34 | CompileCpp=1 | 34 | CompileCpp=1 |
35 | Folder=Projekt1 | 35 | Folder=Projekt1 |
36 | Compile=1 | 36 | Compile=1 |
37 | Link=1 | 37 | Link=1 |
38 | Priority=1000 | 38 | Priority=1000 |
39 | OverrideBuildCmd=0 | 39 | OverrideBuildCmd=0 |
40 | BuildCmd= | 40 | BuildCmd= |
41 | 41 | ||
42 | [VersionInfo] | 42 | [VersionInfo] |
43 | Major=0 | 43 | Major=0 |
44 | Minor=1 | 44 | Minor=1 |
45 | Release=1 | 45 | Release=1 |
46 | Build=1 | 46 | Build=1 |
47 | LanguageID=1033 | 47 | LanguageID=1033 |
48 | CharsetID=1252 | 48 | CharsetID=1252 |
49 | CompanyName= | 49 | CompanyName= |
50 | FileVersion= | 50 | FileVersion= |
51 | FileDescription=Irrlicht Engine example compiled using DevCpp and gcc | 51 | FileDescription=Irrlicht Engine example compiled using DevCpp and gcc |
52 | InternalName= | 52 | InternalName= |
53 | LegalCopyright= | 53 | LegalCopyright= |
54 | LegalTrademarks= | 54 | LegalTrademarks= |
55 | OriginalFilename= | 55 | OriginalFilename= |
56 | ProductName= | 56 | ProductName= |
57 | ProductVersion= | 57 | ProductVersion= |
58 | AutoIncBuildNr=0 | 58 | AutoIncBuildNr=0 |
59 | 59 | ||
diff --git a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick.vcproj b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick.vcproj index 84d8396..0900969 100644 --- a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick.vcproj +++ b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick.vcproj | |||
@@ -1,162 +1,162 @@ | |||
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="19.MouseAndJoystick" | 5 | Name="19.MouseAndJoystick" |
6 | ProjectGUID="{FE853A36-E0D1-4AC5-A792-B643E70D2953}" | 6 | ProjectGUID="{FE853A36-E0D1-4AC5-A792-B643E70D2953}" |
7 | SccProjectName="" | 7 | SccProjectName="" |
8 | SccLocalPath=""> | 8 | SccLocalPath=""> |
9 | <Platforms> | 9 | <Platforms> |
10 | <Platform | 10 | <Platform |
11 | Name="Win32"/> | 11 | Name="Win32"/> |
12 | </Platforms> | 12 | </Platforms> |
13 | <Configurations> | 13 | <Configurations> |
14 | <Configuration | 14 | <Configuration |
15 | Name="Debug|Win32" | 15 | Name="Debug|Win32" |
16 | OutputDirectory=".\Debug" | 16 | OutputDirectory=".\Debug" |
17 | IntermediateDirectory=".\Debug" | 17 | IntermediateDirectory=".\Debug" |
18 | ConfigurationType="1" | 18 | ConfigurationType="1" |
19 | UseOfMFC="0" | 19 | UseOfMFC="0" |
20 | ATLMinimizesCRunTimeLibraryUsage="FALSE" | 20 | ATLMinimizesCRunTimeLibraryUsage="FALSE" |
21 | CharacterSet="2"> | 21 | CharacterSet="2"> |
22 | <Tool | 22 | <Tool |
23 | Name="VCCLCompilerTool" | 23 | Name="VCCLCompilerTool" |
24 | Optimization="0" | 24 | Optimization="0" |
25 | AdditionalIncludeDirectories="..\..\include" | 25 | AdditionalIncludeDirectories="..\..\include" |
26 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" | 26 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" |
27 | BasicRuntimeChecks="3" | 27 | BasicRuntimeChecks="3" |
28 | RuntimeLibrary="5" | 28 | RuntimeLibrary="5" |
29 | UsePrecompiledHeader="2" | 29 | UsePrecompiledHeader="2" |
30 | PrecompiledHeaderFile=".\Debug/MouseAndJoystick.pch" | 30 | PrecompiledHeaderFile=".\Debug/MouseAndJoystick.pch" |
31 | AssemblerListingLocation=".\Debug/" | 31 | AssemblerListingLocation=".\Debug/" |
32 | ObjectFile=".\Debug/" | 32 | ObjectFile=".\Debug/" |
33 | ProgramDataBaseFileName=".\Debug/" | 33 | ProgramDataBaseFileName=".\Debug/" |
34 | WarningLevel="3" | 34 | WarningLevel="3" |
35 | SuppressStartupBanner="TRUE" | 35 | SuppressStartupBanner="TRUE" |
36 | DebugInformationFormat="4" | 36 | DebugInformationFormat="4" |
37 | CompileAs="0"/> | 37 | CompileAs="0"/> |
38 | <Tool | 38 | <Tool |
39 | Name="VCCustomBuildTool"/> | 39 | Name="VCCustomBuildTool"/> |
40 | <Tool | 40 | <Tool |
41 | Name="VCLinkerTool" | 41 | Name="VCLinkerTool" |
42 | OutputFile="..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe" | 42 | OutputFile="..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe" |
43 | LinkIncremental="0" | 43 | LinkIncremental="0" |
44 | SuppressStartupBanner="TRUE" | 44 | SuppressStartupBanner="TRUE" |
45 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 45 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
46 | GenerateDebugInformation="TRUE" | 46 | GenerateDebugInformation="TRUE" |
47 | ProgramDatabaseFile=".\Debug/MouseAndJoystick.pdb" | 47 | ProgramDatabaseFile=".\Debug/MouseAndJoystick.pdb" |
48 | SubSystem="1" | 48 | SubSystem="1" |
49 | TargetMachine="1"/> | 49 | TargetMachine="1"/> |
50 | <Tool | 50 | <Tool |
51 | Name="VCMIDLTool" | 51 | Name="VCMIDLTool" |
52 | TypeLibraryName=".\Debug/MouseAndJoystick.tlb" | 52 | TypeLibraryName=".\Debug/MouseAndJoystick.tlb" |
53 | HeaderFileName=""/> | 53 | HeaderFileName=""/> |
54 | <Tool | 54 | <Tool |
55 | Name="VCPostBuildEventTool"/> | 55 | Name="VCPostBuildEventTool"/> |
56 | <Tool | 56 | <Tool |
57 | Name="VCPreBuildEventTool"/> | 57 | Name="VCPreBuildEventTool"/> |
58 | <Tool | 58 | <Tool |
59 | Name="VCPreLinkEventTool"/> | 59 | Name="VCPreLinkEventTool"/> |
60 | <Tool | 60 | <Tool |
61 | Name="VCResourceCompilerTool" | 61 | Name="VCResourceCompilerTool" |
62 | PreprocessorDefinitions="_DEBUG" | 62 | PreprocessorDefinitions="_DEBUG" |
63 | Culture="3079"/> | 63 | Culture="3079"/> |
64 | <Tool | 64 | <Tool |
65 | Name="VCWebServiceProxyGeneratorTool"/> | 65 | Name="VCWebServiceProxyGeneratorTool"/> |
66 | <Tool | 66 | <Tool |
67 | Name="VCXMLDataGeneratorTool"/> | 67 | Name="VCXMLDataGeneratorTool"/> |
68 | <Tool | 68 | <Tool |
69 | Name="VCWebDeploymentTool"/> | 69 | Name="VCWebDeploymentTool"/> |
70 | <Tool | 70 | <Tool |
71 | Name="VCManagedWrapperGeneratorTool"/> | 71 | Name="VCManagedWrapperGeneratorTool"/> |
72 | <Tool | 72 | <Tool |
73 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> | 73 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> |
74 | </Configuration> | 74 | </Configuration> |
75 | <Configuration | 75 | <Configuration |
76 | Name="Release|Win32" | 76 | Name="Release|Win32" |
77 | OutputDirectory=".\Release" | 77 | OutputDirectory=".\Release" |
78 | IntermediateDirectory=".\Release" | 78 | IntermediateDirectory=".\Release" |
79 | ConfigurationType="1" | 79 | ConfigurationType="1" |
80 | UseOfMFC="0" | 80 | UseOfMFC="0" |
81 | ATLMinimizesCRunTimeLibraryUsage="FALSE" | 81 | ATLMinimizesCRunTimeLibraryUsage="FALSE" |
82 | CharacterSet="2"> | 82 | CharacterSet="2"> |
83 | <Tool | 83 | <Tool |
84 | Name="VCCLCompilerTool" | 84 | Name="VCCLCompilerTool" |
85 | Optimization="2" | 85 | Optimization="2" |
86 | InlineFunctionExpansion="1" | 86 | InlineFunctionExpansion="1" |
87 | AdditionalIncludeDirectories="..\..\include" | 87 | AdditionalIncludeDirectories="..\..\include" |
88 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" | 88 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" |
89 | StringPooling="TRUE" | 89 | StringPooling="TRUE" |
90 | RuntimeLibrary="4" | 90 | RuntimeLibrary="4" |
91 | EnableFunctionLevelLinking="TRUE" | 91 | EnableFunctionLevelLinking="TRUE" |
92 | UsePrecompiledHeader="2" | 92 | UsePrecompiledHeader="2" |
93 | PrecompiledHeaderFile=".\Release/MouseAndJoystick.pch" | 93 | PrecompiledHeaderFile=".\Release/MouseAndJoystick.pch" |
94 | AssemblerListingLocation=".\Release/" | 94 | AssemblerListingLocation=".\Release/" |
95 | ObjectFile=".\Release/" | 95 | ObjectFile=".\Release/" |
96 | ProgramDataBaseFileName=".\Release/" | 96 | ProgramDataBaseFileName=".\Release/" |
97 | WarningLevel="3" | 97 | WarningLevel="3" |
98 | SuppressStartupBanner="TRUE" | 98 | SuppressStartupBanner="TRUE" |
99 | CompileAs="0"/> | 99 | CompileAs="0"/> |
100 | <Tool | 100 | <Tool |
101 | Name="VCCustomBuildTool"/> | 101 | Name="VCCustomBuildTool"/> |
102 | <Tool | 102 | <Tool |
103 | Name="VCLinkerTool" | 103 | Name="VCLinkerTool" |
104 | OutputFile="..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe" | 104 | OutputFile="..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe" |
105 | LinkIncremental="0" | 105 | LinkIncremental="0" |
106 | SuppressStartupBanner="TRUE" | 106 | SuppressStartupBanner="TRUE" |
107 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 107 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
108 | SubSystem="1" | 108 | SubSystem="1" |
109 | TargetMachine="1"/> | 109 | TargetMachine="1"/> |
110 | <Tool | 110 | <Tool |
111 | Name="VCMIDLTool" | 111 | Name="VCMIDLTool" |
112 | TypeLibraryName=".\Release/MouseAndJoystick.tlb" | 112 | TypeLibraryName=".\Release/MouseAndJoystick.tlb" |
113 | HeaderFileName=""/> | 113 | HeaderFileName=""/> |
114 | <Tool | 114 | <Tool |
115 | Name="VCPostBuildEventTool"/> | 115 | Name="VCPostBuildEventTool"/> |
116 | <Tool | 116 | <Tool |
117 | Name="VCPreBuildEventTool"/> | 117 | Name="VCPreBuildEventTool"/> |
118 | <Tool | 118 | <Tool |
119 | Name="VCPreLinkEventTool"/> | 119 | Name="VCPreLinkEventTool"/> |
120 | <Tool | 120 | <Tool |
121 | Name="VCResourceCompilerTool" | 121 | Name="VCResourceCompilerTool" |
122 | PreprocessorDefinitions="NDEBUG" | 122 | PreprocessorDefinitions="NDEBUG" |
123 | Culture="3079"/> | 123 | Culture="3079"/> |
124 | <Tool | 124 | <Tool |
125 | Name="VCWebServiceProxyGeneratorTool"/> | 125 | Name="VCWebServiceProxyGeneratorTool"/> |
126 | <Tool | 126 | <Tool |
127 | Name="VCXMLDataGeneratorTool"/> | 127 | Name="VCXMLDataGeneratorTool"/> |
128 | <Tool | 128 | <Tool |
129 | Name="VCWebDeploymentTool"/> | 129 | Name="VCWebDeploymentTool"/> |
130 | <Tool | 130 | <Tool |
131 | Name="VCManagedWrapperGeneratorTool"/> | 131 | Name="VCManagedWrapperGeneratorTool"/> |
132 | <Tool | 132 | <Tool |
133 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> | 133 | Name="VCAuxiliaryManagedWrapperGeneratorTool"/> |
134 | </Configuration> | 134 | </Configuration> |
135 | </Configurations> | 135 | </Configurations> |
136 | <References> | 136 | <References> |
137 | </References> | 137 | </References> |
138 | <Files> | 138 | <Files> |
139 | <File | 139 | <File |
140 | RelativePath="main.cpp"> | 140 | RelativePath="main.cpp"> |
141 | <FileConfiguration | 141 | <FileConfiguration |
142 | Name="Debug|Win32"> | 142 | Name="Debug|Win32"> |
143 | <Tool | 143 | <Tool |
144 | Name="VCCLCompilerTool" | 144 | Name="VCCLCompilerTool" |
145 | Optimization="0" | 145 | Optimization="0" |
146 | AdditionalIncludeDirectories="" | 146 | AdditionalIncludeDirectories="" |
147 | PreprocessorDefinitions="" | 147 | PreprocessorDefinitions="" |
148 | BasicRuntimeChecks="3"/> | 148 | BasicRuntimeChecks="3"/> |
149 | </FileConfiguration> | 149 | </FileConfiguration> |
150 | <FileConfiguration | 150 | <FileConfiguration |
151 | Name="Release|Win32"> | 151 | Name="Release|Win32"> |
152 | <Tool | 152 | <Tool |
153 | Name="VCCLCompilerTool" | 153 | Name="VCCLCompilerTool" |
154 | Optimization="2" | 154 | Optimization="2" |
155 | AdditionalIncludeDirectories="" | 155 | AdditionalIncludeDirectories="" |
156 | PreprocessorDefinitions=""/> | 156 | PreprocessorDefinitions=""/> |
157 | </FileConfiguration> | 157 | </FileConfiguration> |
158 | </File> | 158 | </File> |
159 | </Files> | 159 | </Files> |
160 | <Globals> | 160 | <Globals> |
161 | </Globals> | 161 | </Globals> |
162 | </VisualStudioProject> | 162 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc10.vcxproj b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc10.vcxproj index aaa8027..b2ae907 100644 --- a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc10.vcxproj +++ b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc10.vcxproj | |||
@@ -1,227 +1,227 @@ | |||
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>19.MouseAndJoystick</ProjectName> | 22 | <ProjectName>19.MouseAndJoystick</ProjectName> |
23 | <ProjectGuid>{FE853A36-E0D1-4AC5-A792-B643E70D2953}</ProjectGuid> | 23 | <ProjectGuid>{FE853A36-E0D1-4AC5-A792-B643E70D2953}</ProjectGuid> |
24 | <RootNamespace>MouseAndJoystick</RootNamespace> | 24 | <RootNamespace>MouseAndJoystick</RootNamespace> |
25 | </PropertyGroup> | 25 | </PropertyGroup> |
26 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 26 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
27 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | 27 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
28 | <ConfigurationType>Application</ConfigurationType> | 28 | <ConfigurationType>Application</ConfigurationType> |
29 | <CharacterSet>MultiByte</CharacterSet> | 29 | <CharacterSet>MultiByte</CharacterSet> |
30 | </PropertyGroup> | 30 | </PropertyGroup> |
31 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | 31 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
32 | <ConfigurationType>Application</ConfigurationType> | 32 | <ConfigurationType>Application</ConfigurationType> |
33 | <CharacterSet>MultiByte</CharacterSet> | 33 | <CharacterSet>MultiByte</CharacterSet> |
34 | </PropertyGroup> | 34 | </PropertyGroup> |
35 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | 35 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
36 | <ConfigurationType>Application</ConfigurationType> | 36 | <ConfigurationType>Application</ConfigurationType> |
37 | <CharacterSet>MultiByte</CharacterSet> | 37 | <CharacterSet>MultiByte</CharacterSet> |
38 | </PropertyGroup> | 38 | </PropertyGroup> |
39 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | 39 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
40 | <ConfigurationType>Application</ConfigurationType> | 40 | <ConfigurationType>Application</ConfigurationType> |
41 | <CharacterSet>MultiByte</CharacterSet> | 41 | <CharacterSet>MultiByte</CharacterSet> |
42 | </PropertyGroup> | 42 | </PropertyGroup> |
43 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 43 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
44 | <ImportGroup Label="ExtensionSettings"> | 44 | <ImportGroup Label="ExtensionSettings"> |
45 | </ImportGroup> | 45 | </ImportGroup> |
46 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | 46 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> |
47 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 47 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
48 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 48 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
49 | </ImportGroup> | 49 | </ImportGroup> |
50 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> | 50 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> |
51 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 51 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
52 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 52 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
53 | </ImportGroup> | 53 | </ImportGroup> |
54 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | 54 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> |
55 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 55 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
56 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 56 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
57 | </ImportGroup> | 57 | </ImportGroup> |
58 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> | 58 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> |
59 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 59 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
60 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 60 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
61 | </ImportGroup> | 61 | </ImportGroup> |
62 | <PropertyGroup Label="UserMacros" /> | 62 | <PropertyGroup Label="UserMacros" /> |
63 | <PropertyGroup> | 63 | <PropertyGroup> |
64 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | 64 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
65 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 65 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
66 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 66 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
67 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 67 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
68 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 68 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
69 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 69 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
70 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 70 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
71 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 71 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
72 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 72 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
73 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 73 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
74 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 74 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
75 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 75 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
76 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 76 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
77 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 77 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
78 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 78 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
79 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 79 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
80 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 80 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
81 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 81 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
82 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 82 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
83 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 83 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
84 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 84 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
85 | </PropertyGroup> | 85 | </PropertyGroup> |
86 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | 86 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
87 | <Midl> | 87 | <Midl> |
88 | <TypeLibraryName>.\Debug/MouseAndJoystick.tlb</TypeLibraryName> | 88 | <TypeLibraryName>.\Debug/MouseAndJoystick.tlb</TypeLibraryName> |
89 | <HeaderFileName> | 89 | <HeaderFileName> |
90 | </HeaderFileName> | 90 | </HeaderFileName> |
91 | </Midl> | 91 | </Midl> |
92 | <ClCompile> | 92 | <ClCompile> |
93 | <Optimization>Disabled</Optimization> | 93 | <Optimization>Disabled</Optimization> |
94 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 94 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
95 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 95 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
96 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 96 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
97 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 97 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
98 | <PrecompiledHeader> | 98 | <PrecompiledHeader> |
99 | </PrecompiledHeader> | 99 | </PrecompiledHeader> |
100 | <WarningLevel>Level3</WarningLevel> | 100 | <WarningLevel>Level3</WarningLevel> |
101 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | 101 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
102 | </ClCompile> | 102 | </ClCompile> |
103 | <ResourceCompile> | 103 | <ResourceCompile> |
104 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 104 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
105 | <Culture>0x0c07</Culture> | 105 | <Culture>0x0c07</Culture> |
106 | </ResourceCompile> | 106 | </ResourceCompile> |
107 | <Link> | 107 | <Link> |
108 | <OutputFile>..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe</OutputFile> | 108 | <OutputFile>..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe</OutputFile> |
109 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 109 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
110 | <GenerateDebugInformation>true</GenerateDebugInformation> | 110 | <GenerateDebugInformation>true</GenerateDebugInformation> |
111 | <SubSystem>Console</SubSystem> | 111 | <SubSystem>Console</SubSystem> |
112 | <DataExecutionPrevention> | 112 | <DataExecutionPrevention> |
113 | </DataExecutionPrevention> | 113 | </DataExecutionPrevention> |
114 | </Link> | 114 | </Link> |
115 | </ItemDefinitionGroup> | 115 | </ItemDefinitionGroup> |
116 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | 116 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
117 | <Midl> | 117 | <Midl> |
118 | <TypeLibraryName>.\Debug/MouseAndJoystick.tlb</TypeLibraryName> | 118 | <TypeLibraryName>.\Debug/MouseAndJoystick.tlb</TypeLibraryName> |
119 | <HeaderFileName> | 119 | <HeaderFileName> |
120 | </HeaderFileName> | 120 | </HeaderFileName> |
121 | </Midl> | 121 | </Midl> |
122 | <ClCompile> | 122 | <ClCompile> |
123 | <Optimization>Disabled</Optimization> | 123 | <Optimization>Disabled</Optimization> |
124 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 124 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
125 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 125 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
126 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 126 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
127 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 127 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
128 | <PrecompiledHeader> | 128 | <PrecompiledHeader> |
129 | </PrecompiledHeader> | 129 | </PrecompiledHeader> |
130 | <WarningLevel>Level3</WarningLevel> | 130 | <WarningLevel>Level3</WarningLevel> |
131 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | 131 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
132 | </ClCompile> | 132 | </ClCompile> |
133 | <ResourceCompile> | 133 | <ResourceCompile> |
134 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 134 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
135 | <Culture>0x0c07</Culture> | 135 | <Culture>0x0c07</Culture> |
136 | </ResourceCompile> | 136 | </ResourceCompile> |
137 | <Link> | 137 | <Link> |
138 | <OutputFile>..\..\bin\Win64-VisualStudio\19.MouseAndJoystick.exe</OutputFile> | 138 | <OutputFile>..\..\bin\Win64-VisualStudio\19.MouseAndJoystick.exe</OutputFile> |
139 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 139 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
140 | <GenerateDebugInformation>true</GenerateDebugInformation> | 140 | <GenerateDebugInformation>true</GenerateDebugInformation> |
141 | <SubSystem>Console</SubSystem> | 141 | <SubSystem>Console</SubSystem> |
142 | <DataExecutionPrevention> | 142 | <DataExecutionPrevention> |
143 | </DataExecutionPrevention> | 143 | </DataExecutionPrevention> |
144 | </Link> | 144 | </Link> |
145 | </ItemDefinitionGroup> | 145 | </ItemDefinitionGroup> |
146 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | 146 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
147 | <Midl> | 147 | <Midl> |
148 | <TypeLibraryName>.\Release/MouseAndJoystick.tlb</TypeLibraryName> | 148 | <TypeLibraryName>.\Release/MouseAndJoystick.tlb</TypeLibraryName> |
149 | <HeaderFileName> | 149 | <HeaderFileName> |
150 | </HeaderFileName> | 150 | </HeaderFileName> |
151 | </Midl> | 151 | </Midl> |
152 | <ClCompile> | 152 | <ClCompile> |
153 | <Optimization>MaxSpeed</Optimization> | 153 | <Optimization>MaxSpeed</Optimization> |
154 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | 154 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> |
155 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 155 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
156 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 156 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
157 | <StringPooling>true</StringPooling> | 157 | <StringPooling>true</StringPooling> |
158 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 158 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
159 | <FunctionLevelLinking>true</FunctionLevelLinking> | 159 | <FunctionLevelLinking>true</FunctionLevelLinking> |
160 | <PrecompiledHeader> | 160 | <PrecompiledHeader> |
161 | </PrecompiledHeader> | 161 | </PrecompiledHeader> |
162 | <WarningLevel>Level3</WarningLevel> | 162 | <WarningLevel>Level3</WarningLevel> |
163 | </ClCompile> | 163 | </ClCompile> |
164 | <ResourceCompile> | 164 | <ResourceCompile> |
165 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 165 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
166 | <Culture>0x0c07</Culture> | 166 | <Culture>0x0c07</Culture> |
167 | </ResourceCompile> | 167 | </ResourceCompile> |
168 | <Link> | 168 | <Link> |
169 | <OutputFile>..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe</OutputFile> | 169 | <OutputFile>..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe</OutputFile> |
170 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 170 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
171 | <SubSystem>Console</SubSystem> | 171 | <SubSystem>Console</SubSystem> |
172 | <DataExecutionPrevention> | 172 | <DataExecutionPrevention> |
173 | </DataExecutionPrevention> | 173 | </DataExecutionPrevention> |
174 | </Link> | 174 | </Link> |
175 | </ItemDefinitionGroup> | 175 | </ItemDefinitionGroup> |
176 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | 176 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
177 | <Midl> | 177 | <Midl> |
178 | <TypeLibraryName>.\Release/MouseAndJoystick.tlb</TypeLibraryName> | 178 | <TypeLibraryName>.\Release/MouseAndJoystick.tlb</TypeLibraryName> |
179 | <HeaderFileName> | 179 | <HeaderFileName> |
180 | </HeaderFileName> | 180 | </HeaderFileName> |
181 | </Midl> | 181 | </Midl> |
182 | <ClCompile> | 182 | <ClCompile> |
183 | <Optimization>MaxSpeed</Optimization> | 183 | <Optimization>MaxSpeed</Optimization> |
184 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | 184 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> |
185 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 185 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
186 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 186 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
187 | <StringPooling>true</StringPooling> | 187 | <StringPooling>true</StringPooling> |
188 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 188 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
189 | <FunctionLevelLinking>true</FunctionLevelLinking> | 189 | <FunctionLevelLinking>true</FunctionLevelLinking> |
190 | <PrecompiledHeader> | 190 | <PrecompiledHeader> |
191 | </PrecompiledHeader> | 191 | </PrecompiledHeader> |
192 | <WarningLevel>Level3</WarningLevel> | 192 | <WarningLevel>Level3</WarningLevel> |
193 | </ClCompile> | 193 | </ClCompile> |
194 | <ResourceCompile> | 194 | <ResourceCompile> |
195 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 195 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
196 | <Culture>0x0c07</Culture> | 196 | <Culture>0x0c07</Culture> |
197 | </ResourceCompile> | 197 | </ResourceCompile> |
198 | <Link> | 198 | <Link> |
199 | <OutputFile>..\..\bin\Win64-VisualStudio\19.MouseAndJoystick.exe</OutputFile> | 199 | <OutputFile>..\..\bin\Win64-VisualStudio\19.MouseAndJoystick.exe</OutputFile> |
200 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 200 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
201 | <SubSystem>Console</SubSystem> | 201 | <SubSystem>Console</SubSystem> |
202 | <DataExecutionPrevention> | 202 | <DataExecutionPrevention> |
203 | </DataExecutionPrevention> | 203 | </DataExecutionPrevention> |
204 | </Link> | 204 | </Link> |
205 | </ItemDefinitionGroup> | 205 | </ItemDefinitionGroup> |
206 | <ItemGroup> | 206 | <ItemGroup> |
207 | <ClCompile Include="main.cpp"> | 207 | <ClCompile Include="main.cpp"> |
208 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization> | 208 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization> |
209 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Disabled</Optimization> | 209 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Disabled</Optimization> |
210 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 210 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
211 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 211 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
212 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 212 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
213 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 213 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
214 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks> | 214 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks> |
215 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">EnableFastChecks</BasicRuntimeChecks> | 215 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">EnableFastChecks</BasicRuntimeChecks> |
216 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MaxSpeed</Optimization> | 216 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MaxSpeed</Optimization> |
217 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MaxSpeed</Optimization> | 217 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MaxSpeed</Optimization> |
218 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 218 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
219 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 219 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
220 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 220 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
221 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 221 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
222 | </ClCompile> | 222 | </ClCompile> |
223 | </ItemGroup> | 223 | </ItemGroup> |
224 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 224 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
225 | <ImportGroup Label="ExtensionTargets"> | 225 | <ImportGroup Label="ExtensionTargets"> |
226 | </ImportGroup> | 226 | </ImportGroup> |
227 | </Project> \ No newline at end of file | 227 | </Project> \ No newline at end of file |
diff --git a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc11.vcxproj b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc11.vcxproj index 44c2b07..f295758 100644 --- a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc11.vcxproj +++ b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc11.vcxproj | |||
@@ -1,231 +1,231 @@ | |||
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>19.MouseAndJoystick</ProjectName> | 22 | <ProjectName>19.MouseAndJoystick</ProjectName> |
23 | <ProjectGuid>{FE853A36-E0D1-4AC5-A792-B643E70D2953}</ProjectGuid> | 23 | <ProjectGuid>{FE853A36-E0D1-4AC5-A792-B643E70D2953}</ProjectGuid> |
24 | <RootNamespace>MouseAndJoystick</RootNamespace> | 24 | <RootNamespace>MouseAndJoystick</RootNamespace> |
25 | </PropertyGroup> | 25 | </PropertyGroup> |
26 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 26 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
27 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | 27 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
28 | <ConfigurationType>Application</ConfigurationType> | 28 | <ConfigurationType>Application</ConfigurationType> |
29 | <CharacterSet>MultiByte</CharacterSet> | 29 | <CharacterSet>MultiByte</CharacterSet> |
30 | <PlatformToolset>v110</PlatformToolset> | 30 | <PlatformToolset>v110</PlatformToolset> |
31 | </PropertyGroup> | 31 | </PropertyGroup> |
32 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | 32 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
33 | <ConfigurationType>Application</ConfigurationType> | 33 | <ConfigurationType>Application</ConfigurationType> |
34 | <CharacterSet>MultiByte</CharacterSet> | 34 | <CharacterSet>MultiByte</CharacterSet> |
35 | <PlatformToolset>v110</PlatformToolset> | 35 | <PlatformToolset>v110</PlatformToolset> |
36 | </PropertyGroup> | 36 | </PropertyGroup> |
37 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | 37 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
38 | <ConfigurationType>Application</ConfigurationType> | 38 | <ConfigurationType>Application</ConfigurationType> |
39 | <CharacterSet>MultiByte</CharacterSet> | 39 | <CharacterSet>MultiByte</CharacterSet> |
40 | <PlatformToolset>v110</PlatformToolset> | 40 | <PlatformToolset>v110</PlatformToolset> |
41 | </PropertyGroup> | 41 | </PropertyGroup> |
42 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | 42 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
43 | <ConfigurationType>Application</ConfigurationType> | 43 | <ConfigurationType>Application</ConfigurationType> |
44 | <CharacterSet>MultiByte</CharacterSet> | 44 | <CharacterSet>MultiByte</CharacterSet> |
45 | <PlatformToolset>v110</PlatformToolset> | 45 | <PlatformToolset>v110</PlatformToolset> |
46 | </PropertyGroup> | 46 | </PropertyGroup> |
47 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 47 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
48 | <ImportGroup Label="ExtensionSettings"> | 48 | <ImportGroup Label="ExtensionSettings"> |
49 | </ImportGroup> | 49 | </ImportGroup> |
50 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | 50 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> |
51 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 51 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
52 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 52 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
53 | </ImportGroup> | 53 | </ImportGroup> |
54 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> | 54 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> |
55 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 55 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
56 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 56 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
57 | </ImportGroup> | 57 | </ImportGroup> |
58 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | 58 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> |
59 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 59 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
60 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 60 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
61 | </ImportGroup> | 61 | </ImportGroup> |
62 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> | 62 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> |
63 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 63 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
64 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> | 64 | <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" /> |
65 | </ImportGroup> | 65 | </ImportGroup> |
66 | <PropertyGroup Label="UserMacros" /> | 66 | <PropertyGroup Label="UserMacros" /> |
67 | <PropertyGroup> | 67 | <PropertyGroup> |
68 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | 68 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
69 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 69 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
70 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 70 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
71 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 71 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
72 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 72 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
73 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 73 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
74 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 74 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
75 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 75 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
76 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 76 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
77 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 77 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
78 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 78 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
79 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 79 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
80 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 80 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
81 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 81 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
82 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 82 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
83 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 83 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
84 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 84 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
85 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 85 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
86 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 86 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
87 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 87 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
88 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 88 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
89 | </PropertyGroup> | 89 | </PropertyGroup> |
90 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | 90 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
91 | <Midl> | 91 | <Midl> |
92 | <TypeLibraryName>.\Debug/MouseAndJoystick.tlb</TypeLibraryName> | 92 | <TypeLibraryName>.\Debug/MouseAndJoystick.tlb</TypeLibraryName> |
93 | <HeaderFileName> | 93 | <HeaderFileName> |
94 | </HeaderFileName> | 94 | </HeaderFileName> |
95 | </Midl> | 95 | </Midl> |
96 | <ClCompile> | 96 | <ClCompile> |
97 | <Optimization>Disabled</Optimization> | 97 | <Optimization>Disabled</Optimization> |
98 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 98 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
99 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 99 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
100 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 100 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
101 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 101 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
102 | <PrecompiledHeader> | 102 | <PrecompiledHeader> |
103 | </PrecompiledHeader> | 103 | </PrecompiledHeader> |
104 | <WarningLevel>Level3</WarningLevel> | 104 | <WarningLevel>Level3</WarningLevel> |
105 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | 105 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
106 | </ClCompile> | 106 | </ClCompile> |
107 | <ResourceCompile> | 107 | <ResourceCompile> |
108 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 108 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
109 | <Culture>0x0c07</Culture> | 109 | <Culture>0x0c07</Culture> |
110 | </ResourceCompile> | 110 | </ResourceCompile> |
111 | <Link> | 111 | <Link> |
112 | <OutputFile>..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe</OutputFile> | 112 | <OutputFile>..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe</OutputFile> |
113 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 113 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
114 | <GenerateDebugInformation>true</GenerateDebugInformation> | 114 | <GenerateDebugInformation>true</GenerateDebugInformation> |
115 | <SubSystem>Console</SubSystem> | 115 | <SubSystem>Console</SubSystem> |
116 | <DataExecutionPrevention> | 116 | <DataExecutionPrevention> |
117 | </DataExecutionPrevention> | 117 | </DataExecutionPrevention> |
118 | </Link> | 118 | </Link> |
119 | </ItemDefinitionGroup> | 119 | </ItemDefinitionGroup> |
120 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | 120 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
121 | <Midl> | 121 | <Midl> |
122 | <TypeLibraryName>.\Debug/MouseAndJoystick.tlb</TypeLibraryName> | 122 | <TypeLibraryName>.\Debug/MouseAndJoystick.tlb</TypeLibraryName> |
123 | <HeaderFileName> | 123 | <HeaderFileName> |
124 | </HeaderFileName> | 124 | </HeaderFileName> |
125 | </Midl> | 125 | </Midl> |
126 | <ClCompile> | 126 | <ClCompile> |
127 | <Optimization>Disabled</Optimization> | 127 | <Optimization>Disabled</Optimization> |
128 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 128 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
129 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 129 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
130 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 130 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
131 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 131 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
132 | <PrecompiledHeader> | 132 | <PrecompiledHeader> |
133 | </PrecompiledHeader> | 133 | </PrecompiledHeader> |
134 | <WarningLevel>Level3</WarningLevel> | 134 | <WarningLevel>Level3</WarningLevel> |
135 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | 135 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
136 | </ClCompile> | 136 | </ClCompile> |
137 | <ResourceCompile> | 137 | <ResourceCompile> |
138 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 138 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
139 | <Culture>0x0c07</Culture> | 139 | <Culture>0x0c07</Culture> |
140 | </ResourceCompile> | 140 | </ResourceCompile> |
141 | <Link> | 141 | <Link> |
142 | <OutputFile>..\..\bin\Win64-VisualStudio\19.MouseAndJoystick.exe</OutputFile> | 142 | <OutputFile>..\..\bin\Win64-VisualStudio\19.MouseAndJoystick.exe</OutputFile> |
143 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 143 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
144 | <GenerateDebugInformation>true</GenerateDebugInformation> | 144 | <GenerateDebugInformation>true</GenerateDebugInformation> |
145 | <SubSystem>Console</SubSystem> | 145 | <SubSystem>Console</SubSystem> |
146 | <DataExecutionPrevention> | 146 | <DataExecutionPrevention> |
147 | </DataExecutionPrevention> | 147 | </DataExecutionPrevention> |
148 | </Link> | 148 | </Link> |
149 | </ItemDefinitionGroup> | 149 | </ItemDefinitionGroup> |
150 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | 150 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
151 | <Midl> | 151 | <Midl> |
152 | <TypeLibraryName>.\Release/MouseAndJoystick.tlb</TypeLibraryName> | 152 | <TypeLibraryName>.\Release/MouseAndJoystick.tlb</TypeLibraryName> |
153 | <HeaderFileName> | 153 | <HeaderFileName> |
154 | </HeaderFileName> | 154 | </HeaderFileName> |
155 | </Midl> | 155 | </Midl> |
156 | <ClCompile> | 156 | <ClCompile> |
157 | <Optimization>MaxSpeed</Optimization> | 157 | <Optimization>MaxSpeed</Optimization> |
158 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | 158 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> |
159 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 159 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
160 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 160 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
161 | <StringPooling>true</StringPooling> | 161 | <StringPooling>true</StringPooling> |
162 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 162 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
163 | <FunctionLevelLinking>true</FunctionLevelLinking> | 163 | <FunctionLevelLinking>true</FunctionLevelLinking> |
164 | <PrecompiledHeader> | 164 | <PrecompiledHeader> |
165 | </PrecompiledHeader> | 165 | </PrecompiledHeader> |
166 | <WarningLevel>Level3</WarningLevel> | 166 | <WarningLevel>Level3</WarningLevel> |
167 | </ClCompile> | 167 | </ClCompile> |
168 | <ResourceCompile> | 168 | <ResourceCompile> |
169 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 169 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
170 | <Culture>0x0c07</Culture> | 170 | <Culture>0x0c07</Culture> |
171 | </ResourceCompile> | 171 | </ResourceCompile> |
172 | <Link> | 172 | <Link> |
173 | <OutputFile>..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe</OutputFile> | 173 | <OutputFile>..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe</OutputFile> |
174 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 174 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
175 | <SubSystem>Console</SubSystem> | 175 | <SubSystem>Console</SubSystem> |
176 | <DataExecutionPrevention> | 176 | <DataExecutionPrevention> |
177 | </DataExecutionPrevention> | 177 | </DataExecutionPrevention> |
178 | </Link> | 178 | </Link> |
179 | </ItemDefinitionGroup> | 179 | </ItemDefinitionGroup> |
180 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | 180 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
181 | <Midl> | 181 | <Midl> |
182 | <TypeLibraryName>.\Release/MouseAndJoystick.tlb</TypeLibraryName> | 182 | <TypeLibraryName>.\Release/MouseAndJoystick.tlb</TypeLibraryName> |
183 | <HeaderFileName> | 183 | <HeaderFileName> |
184 | </HeaderFileName> | 184 | </HeaderFileName> |
185 | </Midl> | 185 | </Midl> |
186 | <ClCompile> | 186 | <ClCompile> |
187 | <Optimization>MaxSpeed</Optimization> | 187 | <Optimization>MaxSpeed</Optimization> |
188 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | 188 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> |
189 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 189 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
190 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 190 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
191 | <StringPooling>true</StringPooling> | 191 | <StringPooling>true</StringPooling> |
192 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 192 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
193 | <FunctionLevelLinking>true</FunctionLevelLinking> | 193 | <FunctionLevelLinking>true</FunctionLevelLinking> |
194 | <PrecompiledHeader> | 194 | <PrecompiledHeader> |
195 | </PrecompiledHeader> | 195 | </PrecompiledHeader> |
196 | <WarningLevel>Level3</WarningLevel> | 196 | <WarningLevel>Level3</WarningLevel> |
197 | </ClCompile> | 197 | </ClCompile> |
198 | <ResourceCompile> | 198 | <ResourceCompile> |
199 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 199 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
200 | <Culture>0x0c07</Culture> | 200 | <Culture>0x0c07</Culture> |
201 | </ResourceCompile> | 201 | </ResourceCompile> |
202 | <Link> | 202 | <Link> |
203 | <OutputFile>..\..\bin\Win64-VisualStudio\19.MouseAndJoystick.exe</OutputFile> | 203 | <OutputFile>..\..\bin\Win64-VisualStudio\19.MouseAndJoystick.exe</OutputFile> |
204 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 204 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
205 | <SubSystem>Console</SubSystem> | 205 | <SubSystem>Console</SubSystem> |
206 | <DataExecutionPrevention> | 206 | <DataExecutionPrevention> |
207 | </DataExecutionPrevention> | 207 | </DataExecutionPrevention> |
208 | </Link> | 208 | </Link> |
209 | </ItemDefinitionGroup> | 209 | </ItemDefinitionGroup> |
210 | <ItemGroup> | 210 | <ItemGroup> |
211 | <ClCompile Include="main.cpp"> | 211 | <ClCompile Include="main.cpp"> |
212 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization> | 212 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Disabled</Optimization> |
213 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Disabled</Optimization> | 213 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Disabled</Optimization> |
214 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 214 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
215 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 215 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
216 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 216 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
217 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 217 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
218 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks> | 218 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">EnableFastChecks</BasicRuntimeChecks> |
219 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">EnableFastChecks</BasicRuntimeChecks> | 219 | <BasicRuntimeChecks Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">EnableFastChecks</BasicRuntimeChecks> |
220 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MaxSpeed</Optimization> | 220 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MaxSpeed</Optimization> |
221 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MaxSpeed</Optimization> | 221 | <Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MaxSpeed</Optimization> |
222 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 222 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
223 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 223 | <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
224 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 224 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
225 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> | 225 | <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions> |
226 | </ClCompile> | 226 | </ClCompile> |
227 | </ItemGroup> | 227 | </ItemGroup> |
228 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 228 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
229 | <ImportGroup Label="ExtensionTargets"> | 229 | <ImportGroup Label="ExtensionTargets"> |
230 | </ImportGroup> | 230 | </ImportGroup> |
231 | </Project> \ No newline at end of file | 231 | </Project> \ No newline at end of file |
diff --git a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc8.vcproj b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc8.vcproj index 51b7fac..4cb7e65 100644 --- a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc8.vcproj +++ b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc8.vcproj | |||
@@ -1,231 +1,231 @@ | |||
1 | <?xml version="1.0" encoding="Windows-1252"?> | 1 | <?xml version="1.0" encoding="Windows-1252"?> |
2 | <VisualStudioProject | 2 | <VisualStudioProject |
3 | ProjectType="Visual C++" | 3 | ProjectType="Visual C++" |
4 | Version="8.00" | 4 | Version="8.00" |
5 | Name="19.MouseAndJoystick_vc8" | 5 | Name="19.MouseAndJoystick_vc8" |
6 | ProjectGUID="{FE853A36-E0D1-4AC5-A792-B643E70D2953}" | 6 | ProjectGUID="{FE853A36-E0D1-4AC5-A792-B643E70D2953}" |
7 | RootNamespace="MouseAndJoystick_vc8" | 7 | RootNamespace="MouseAndJoystick_vc8" |
8 | > | 8 | > |
9 | <Platforms> | 9 | <Platforms> |
10 | <Platform | 10 | <Platform |
11 | Name="Win32" | 11 | Name="Win32" |
12 | /> | 12 | /> |
13 | </Platforms> | 13 | </Platforms> |
14 | <ToolFiles> | 14 | <ToolFiles> |
15 | </ToolFiles> | 15 | </ToolFiles> |
16 | <Configurations> | 16 | <Configurations> |
17 | <Configuration | 17 | <Configuration |
18 | Name="Debug|Win32" | 18 | Name="Debug|Win32" |
19 | OutputDirectory=".\Debug" | 19 | OutputDirectory=".\Debug" |
20 | IntermediateDirectory=".\Debug" | 20 | IntermediateDirectory=".\Debug" |
21 | ConfigurationType="1" | 21 | ConfigurationType="1" |
22 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" | 22 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" |
23 | UseOfMFC="0" | 23 | UseOfMFC="0" |
24 | ATLMinimizesCRunTimeLibraryUsage="false" | 24 | ATLMinimizesCRunTimeLibraryUsage="false" |
25 | CharacterSet="2" | 25 | CharacterSet="2" |
26 | > | 26 | > |
27 | <Tool | 27 | <Tool |
28 | Name="VCPreBuildEventTool" | 28 | Name="VCPreBuildEventTool" |
29 | /> | 29 | /> |
30 | <Tool | 30 | <Tool |
31 | Name="VCCustomBuildTool" | 31 | Name="VCCustomBuildTool" |
32 | /> | 32 | /> |
33 | <Tool | 33 | <Tool |
34 | Name="VCXMLDataGeneratorTool" | 34 | Name="VCXMLDataGeneratorTool" |
35 | /> | 35 | /> |
36 | <Tool | 36 | <Tool |
37 | Name="VCWebServiceProxyGeneratorTool" | 37 | Name="VCWebServiceProxyGeneratorTool" |
38 | /> | 38 | /> |
39 | <Tool | 39 | <Tool |
40 | Name="VCMIDLTool" | 40 | Name="VCMIDLTool" |
41 | TypeLibraryName=".\Debug/MouseAndJoystick.tlb" | 41 | TypeLibraryName=".\Debug/MouseAndJoystick.tlb" |
42 | HeaderFileName="" | 42 | HeaderFileName="" |
43 | /> | 43 | /> |
44 | <Tool | 44 | <Tool |
45 | Name="VCCLCompilerTool" | 45 | Name="VCCLCompilerTool" |
46 | Optimization="0" | 46 | Optimization="0" |
47 | AdditionalIncludeDirectories="..\..\include" | 47 | AdditionalIncludeDirectories="..\..\include" |
48 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" | 48 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" |
49 | BasicRuntimeChecks="3" | 49 | BasicRuntimeChecks="3" |
50 | RuntimeLibrary="1" | 50 | RuntimeLibrary="1" |
51 | UsePrecompiledHeader="0" | 51 | UsePrecompiledHeader="0" |
52 | PrecompiledHeaderFile=".\Debug/MouseAndJoystick.pch" | 52 | PrecompiledHeaderFile=".\Debug/MouseAndJoystick.pch" |
53 | AssemblerListingLocation=".\Debug/" | 53 | AssemblerListingLocation=".\Debug/" |
54 | ObjectFile=".\Debug/" | 54 | ObjectFile=".\Debug/" |
55 | ProgramDataBaseFileName=".\Debug/" | 55 | ProgramDataBaseFileName=".\Debug/" |
56 | WarningLevel="3" | 56 | WarningLevel="3" |
57 | SuppressStartupBanner="true" | 57 | SuppressStartupBanner="true" |
58 | DebugInformationFormat="4" | 58 | DebugInformationFormat="4" |
59 | CompileAs="0" | 59 | CompileAs="0" |
60 | /> | 60 | /> |
61 | <Tool | 61 | <Tool |
62 | Name="VCManagedResourceCompilerTool" | 62 | Name="VCManagedResourceCompilerTool" |
63 | /> | 63 | /> |
64 | <Tool | 64 | <Tool |
65 | Name="VCResourceCompilerTool" | 65 | Name="VCResourceCompilerTool" |
66 | PreprocessorDefinitions="_DEBUG" | 66 | PreprocessorDefinitions="_DEBUG" |
67 | Culture="3079" | 67 | Culture="3079" |
68 | /> | 68 | /> |
69 | <Tool | 69 | <Tool |
70 | Name="VCPreLinkEventTool" | 70 | Name="VCPreLinkEventTool" |
71 | /> | 71 | /> |
72 | <Tool | 72 | <Tool |
73 | Name="VCLinkerTool" | 73 | Name="VCLinkerTool" |
74 | OutputFile="..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe" | 74 | OutputFile="..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe" |
75 | LinkIncremental="0" | 75 | LinkIncremental="0" |
76 | SuppressStartupBanner="true" | 76 | SuppressStartupBanner="true" |
77 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 77 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
78 | GenerateDebugInformation="true" | 78 | GenerateDebugInformation="true" |
79 | ProgramDatabaseFile=".\Debug/MouseAndJoystick.pdb" | 79 | ProgramDatabaseFile=".\Debug/MouseAndJoystick.pdb" |
80 | SubSystem="1" | 80 | SubSystem="1" |
81 | TargetMachine="1" | 81 | TargetMachine="1" |
82 | /> | 82 | /> |
83 | <Tool | 83 | <Tool |
84 | Name="VCALinkTool" | 84 | Name="VCALinkTool" |
85 | /> | 85 | /> |
86 | <Tool | 86 | <Tool |
87 | Name="VCManifestTool" | 87 | Name="VCManifestTool" |
88 | /> | 88 | /> |
89 | <Tool | 89 | <Tool |
90 | Name="VCXDCMakeTool" | 90 | Name="VCXDCMakeTool" |
91 | /> | 91 | /> |
92 | <Tool | 92 | <Tool |
93 | Name="VCBscMakeTool" | 93 | Name="VCBscMakeTool" |
94 | /> | 94 | /> |
95 | <Tool | 95 | <Tool |
96 | Name="VCFxCopTool" | 96 | Name="VCFxCopTool" |
97 | /> | 97 | /> |
98 | <Tool | 98 | <Tool |
99 | Name="VCAppVerifierTool" | 99 | Name="VCAppVerifierTool" |
100 | /> | 100 | /> |
101 | <Tool | 101 | <Tool |
102 | Name="VCWebDeploymentTool" | 102 | Name="VCWebDeploymentTool" |
103 | /> | 103 | /> |
104 | <Tool | 104 | <Tool |
105 | Name="VCPostBuildEventTool" | 105 | Name="VCPostBuildEventTool" |
106 | /> | 106 | /> |
107 | </Configuration> | 107 | </Configuration> |
108 | <Configuration | 108 | <Configuration |
109 | Name="Release|Win32" | 109 | Name="Release|Win32" |
110 | OutputDirectory=".\Release" | 110 | OutputDirectory=".\Release" |
111 | IntermediateDirectory=".\Release" | 111 | IntermediateDirectory=".\Release" |
112 | ConfigurationType="1" | 112 | ConfigurationType="1" |
113 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" | 113 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" |
114 | UseOfMFC="0" | 114 | UseOfMFC="0" |
115 | ATLMinimizesCRunTimeLibraryUsage="false" | 115 | ATLMinimizesCRunTimeLibraryUsage="false" |
116 | CharacterSet="2" | 116 | CharacterSet="2" |
117 | > | 117 | > |
118 | <Tool | 118 | <Tool |
119 | Name="VCPreBuildEventTool" | 119 | Name="VCPreBuildEventTool" |
120 | /> | 120 | /> |
121 | <Tool | 121 | <Tool |
122 | Name="VCCustomBuildTool" | 122 | Name="VCCustomBuildTool" |
123 | /> | 123 | /> |
124 | <Tool | 124 | <Tool |
125 | Name="VCXMLDataGeneratorTool" | 125 | Name="VCXMLDataGeneratorTool" |
126 | /> | 126 | /> |
127 | <Tool | 127 | <Tool |
128 | Name="VCWebServiceProxyGeneratorTool" | 128 | Name="VCWebServiceProxyGeneratorTool" |
129 | /> | 129 | /> |
130 | <Tool | 130 | <Tool |
131 | Name="VCMIDLTool" | 131 | Name="VCMIDLTool" |
132 | TypeLibraryName=".\Release/MouseAndJoystick.tlb" | 132 | TypeLibraryName=".\Release/MouseAndJoystick.tlb" |
133 | HeaderFileName="" | 133 | HeaderFileName="" |
134 | /> | 134 | /> |
135 | <Tool | 135 | <Tool |
136 | Name="VCCLCompilerTool" | 136 | Name="VCCLCompilerTool" |
137 | Optimization="2" | 137 | Optimization="2" |
138 | InlineFunctionExpansion="1" | 138 | InlineFunctionExpansion="1" |
139 | AdditionalIncludeDirectories="..\..\include" | 139 | AdditionalIncludeDirectories="..\..\include" |
140 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" | 140 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" |
141 | StringPooling="true" | 141 | StringPooling="true" |
142 | RuntimeLibrary="0" | 142 | RuntimeLibrary="0" |
143 | EnableFunctionLevelLinking="true" | 143 | EnableFunctionLevelLinking="true" |
144 | UsePrecompiledHeader="0" | 144 | UsePrecompiledHeader="0" |
145 | PrecompiledHeaderFile=".\Release/MouseAndJoystick.pch" | 145 | PrecompiledHeaderFile=".\Release/MouseAndJoystick.pch" |
146 | AssemblerListingLocation=".\Release/" | 146 | AssemblerListingLocation=".\Release/" |
147 | ObjectFile=".\Release/" | 147 | ObjectFile=".\Release/" |
148 | ProgramDataBaseFileName=".\Release/" | 148 | ProgramDataBaseFileName=".\Release/" |
149 | WarningLevel="3" | 149 | WarningLevel="3" |
150 | SuppressStartupBanner="true" | 150 | SuppressStartupBanner="true" |
151 | CompileAs="0" | 151 | CompileAs="0" |
152 | /> | 152 | /> |
153 | <Tool | 153 | <Tool |
154 | Name="VCManagedResourceCompilerTool" | 154 | Name="VCManagedResourceCompilerTool" |
155 | /> | 155 | /> |
156 | <Tool | 156 | <Tool |
157 | Name="VCResourceCompilerTool" | 157 | Name="VCResourceCompilerTool" |
158 | PreprocessorDefinitions="NDEBUG" | 158 | PreprocessorDefinitions="NDEBUG" |
159 | Culture="3079" | 159 | Culture="3079" |
160 | /> | 160 | /> |
161 | <Tool | 161 | <Tool |
162 | Name="VCPreLinkEventTool" | 162 | Name="VCPreLinkEventTool" |
163 | /> | 163 | /> |
164 | <Tool | 164 | <Tool |
165 | Name="VCLinkerTool" | 165 | Name="VCLinkerTool" |
166 | OutputFile="..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe" | 166 | OutputFile="..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe" |
167 | LinkIncremental="0" | 167 | LinkIncremental="0" |
168 | SuppressStartupBanner="true" | 168 | SuppressStartupBanner="true" |
169 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 169 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
170 | ProgramDatabaseFile=".\Release/MouseAndJoystick.pdb" | 170 | ProgramDatabaseFile=".\Release/MouseAndJoystick.pdb" |
171 | SubSystem="1" | 171 | SubSystem="1" |
172 | TargetMachine="1" | 172 | TargetMachine="1" |
173 | /> | 173 | /> |
174 | <Tool | 174 | <Tool |
175 | Name="VCALinkTool" | 175 | Name="VCALinkTool" |
176 | /> | 176 | /> |
177 | <Tool | 177 | <Tool |
178 | Name="VCManifestTool" | 178 | Name="VCManifestTool" |
179 | /> | 179 | /> |
180 | <Tool | 180 | <Tool |
181 | Name="VCXDCMakeTool" | 181 | Name="VCXDCMakeTool" |
182 | /> | 182 | /> |
183 | <Tool | 183 | <Tool |
184 | Name="VCBscMakeTool" | 184 | Name="VCBscMakeTool" |
185 | /> | 185 | /> |
186 | <Tool | 186 | <Tool |
187 | Name="VCFxCopTool" | 187 | Name="VCFxCopTool" |
188 | /> | 188 | /> |
189 | <Tool | 189 | <Tool |
190 | Name="VCAppVerifierTool" | 190 | Name="VCAppVerifierTool" |
191 | /> | 191 | /> |
192 | <Tool | 192 | <Tool |
193 | Name="VCWebDeploymentTool" | 193 | Name="VCWebDeploymentTool" |
194 | /> | 194 | /> |
195 | <Tool | 195 | <Tool |
196 | Name="VCPostBuildEventTool" | 196 | Name="VCPostBuildEventTool" |
197 | /> | 197 | /> |
198 | </Configuration> | 198 | </Configuration> |
199 | </Configurations> | 199 | </Configurations> |
200 | <References> | 200 | <References> |
201 | </References> | 201 | </References> |
202 | <Files> | 202 | <Files> |
203 | <File | 203 | <File |
204 | RelativePath="main.cpp" | 204 | RelativePath="main.cpp" |
205 | > | 205 | > |
206 | <FileConfiguration | 206 | <FileConfiguration |
207 | Name="Debug|Win32" | 207 | Name="Debug|Win32" |
208 | > | 208 | > |
209 | <Tool | 209 | <Tool |
210 | Name="VCCLCompilerTool" | 210 | Name="VCCLCompilerTool" |
211 | Optimization="0" | 211 | Optimization="0" |
212 | AdditionalIncludeDirectories="" | 212 | AdditionalIncludeDirectories="" |
213 | PreprocessorDefinitions="" | 213 | PreprocessorDefinitions="" |
214 | BasicRuntimeChecks="3" | 214 | BasicRuntimeChecks="3" |
215 | /> | 215 | /> |
216 | </FileConfiguration> | 216 | </FileConfiguration> |
217 | <FileConfiguration | 217 | <FileConfiguration |
218 | Name="Release|Win32" | 218 | Name="Release|Win32" |
219 | > | 219 | > |
220 | <Tool | 220 | <Tool |
221 | Name="VCCLCompilerTool" | 221 | Name="VCCLCompilerTool" |
222 | Optimization="2" | 222 | Optimization="2" |
223 | AdditionalIncludeDirectories="" | 223 | AdditionalIncludeDirectories="" |
224 | PreprocessorDefinitions="" | 224 | PreprocessorDefinitions="" |
225 | /> | 225 | /> |
226 | </FileConfiguration> | 226 | </FileConfiguration> |
227 | </File> | 227 | </File> |
228 | </Files> | 228 | </Files> |
229 | <Globals> | 229 | <Globals> |
230 | </Globals> | 230 | </Globals> |
231 | </VisualStudioProject> | 231 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc9.vcproj b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc9.vcproj index e121452..51c6b5a 100644 --- a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc9.vcproj +++ b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/MouseAndJoystick_vc9.vcproj | |||
@@ -1,230 +1,230 @@ | |||
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="19.MouseAndJoystick_vc9" | 5 | Name="19.MouseAndJoystick_vc9" |
6 | ProjectGUID="{FE853A36-E0D1-4AC5-A792-B643E70D2953}" | 6 | ProjectGUID="{FE853A36-E0D1-4AC5-A792-B643E70D2953}" |
7 | RootNamespace="MouseAndJoystick_vc9" | 7 | RootNamespace="MouseAndJoystick_vc9" |
8 | TargetFrameworkVersion="131072" | 8 | TargetFrameworkVersion="131072" |
9 | > | 9 | > |
10 | <Platforms> | 10 | <Platforms> |
11 | <Platform | 11 | <Platform |
12 | Name="Win32" | 12 | Name="Win32" |
13 | /> | 13 | /> |
14 | </Platforms> | 14 | </Platforms> |
15 | <ToolFiles> | 15 | <ToolFiles> |
16 | </ToolFiles> | 16 | </ToolFiles> |
17 | <Configurations> | 17 | <Configurations> |
18 | <Configuration | 18 | <Configuration |
19 | Name="Debug|Win32" | 19 | Name="Debug|Win32" |
20 | OutputDirectory=".\Debug" | 20 | OutputDirectory=".\Debug" |
21 | IntermediateDirectory=".\Debug" | 21 | IntermediateDirectory=".\Debug" |
22 | ConfigurationType="1" | 22 | ConfigurationType="1" |
23 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" | 23 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" |
24 | UseOfMFC="0" | 24 | UseOfMFC="0" |
25 | ATLMinimizesCRunTimeLibraryUsage="false" | 25 | ATLMinimizesCRunTimeLibraryUsage="false" |
26 | CharacterSet="2" | 26 | CharacterSet="2" |
27 | > | 27 | > |
28 | <Tool | 28 | <Tool |
29 | Name="VCPreBuildEventTool" | 29 | Name="VCPreBuildEventTool" |
30 | /> | 30 | /> |
31 | <Tool | 31 | <Tool |
32 | Name="VCCustomBuildTool" | 32 | Name="VCCustomBuildTool" |
33 | /> | 33 | /> |
34 | <Tool | 34 | <Tool |
35 | Name="VCXMLDataGeneratorTool" | 35 | Name="VCXMLDataGeneratorTool" |
36 | /> | 36 | /> |
37 | <Tool | 37 | <Tool |
38 | Name="VCWebServiceProxyGeneratorTool" | 38 | Name="VCWebServiceProxyGeneratorTool" |
39 | /> | 39 | /> |
40 | <Tool | 40 | <Tool |
41 | Name="VCMIDLTool" | 41 | Name="VCMIDLTool" |
42 | TypeLibraryName=".\Debug/MouseAndJoystick.tlb" | 42 | TypeLibraryName=".\Debug/MouseAndJoystick.tlb" |
43 | HeaderFileName="" | 43 | HeaderFileName="" |
44 | /> | 44 | /> |
45 | <Tool | 45 | <Tool |
46 | Name="VCCLCompilerTool" | 46 | Name="VCCLCompilerTool" |
47 | Optimization="0" | 47 | Optimization="0" |
48 | AdditionalIncludeDirectories="..\..\include" | 48 | AdditionalIncludeDirectories="..\..\include" |
49 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" | 49 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" |
50 | BasicRuntimeChecks="3" | 50 | BasicRuntimeChecks="3" |
51 | RuntimeLibrary="1" | 51 | RuntimeLibrary="1" |
52 | UsePrecompiledHeader="0" | 52 | UsePrecompiledHeader="0" |
53 | PrecompiledHeaderFile=".\Debug/MouseAndJoystick.pch" | 53 | PrecompiledHeaderFile=".\Debug/MouseAndJoystick.pch" |
54 | AssemblerListingLocation=".\Debug/" | 54 | AssemblerListingLocation=".\Debug/" |
55 | ObjectFile=".\Debug/" | 55 | ObjectFile=".\Debug/" |
56 | ProgramDataBaseFileName=".\Debug/" | 56 | ProgramDataBaseFileName=".\Debug/" |
57 | WarningLevel="3" | 57 | WarningLevel="3" |
58 | SuppressStartupBanner="true" | 58 | SuppressStartupBanner="true" |
59 | DebugInformationFormat="4" | 59 | DebugInformationFormat="4" |
60 | CompileAs="0" | 60 | CompileAs="0" |
61 | /> | 61 | /> |
62 | <Tool | 62 | <Tool |
63 | Name="VCManagedResourceCompilerTool" | 63 | Name="VCManagedResourceCompilerTool" |
64 | /> | 64 | /> |
65 | <Tool | 65 | <Tool |
66 | Name="VCResourceCompilerTool" | 66 | Name="VCResourceCompilerTool" |
67 | PreprocessorDefinitions="_DEBUG" | 67 | PreprocessorDefinitions="_DEBUG" |
68 | Culture="3079" | 68 | Culture="3079" |
69 | /> | 69 | /> |
70 | <Tool | 70 | <Tool |
71 | Name="VCPreLinkEventTool" | 71 | Name="VCPreLinkEventTool" |
72 | /> | 72 | /> |
73 | <Tool | 73 | <Tool |
74 | Name="VCLinkerTool" | 74 | Name="VCLinkerTool" |
75 | OutputFile="..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe" | 75 | OutputFile="..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe" |
76 | LinkIncremental="0" | 76 | LinkIncremental="0" |
77 | SuppressStartupBanner="true" | 77 | SuppressStartupBanner="true" |
78 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 78 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
79 | GenerateDebugInformation="true" | 79 | GenerateDebugInformation="true" |
80 | ProgramDatabaseFile=".\Debug/MouseAndJoystick.pdb" | 80 | ProgramDatabaseFile=".\Debug/MouseAndJoystick.pdb" |
81 | SubSystem="1" | 81 | SubSystem="1" |
82 | RandomizedBaseAddress="1" | 82 | RandomizedBaseAddress="1" |
83 | DataExecutionPrevention="0" | 83 | DataExecutionPrevention="0" |
84 | TargetMachine="1" | 84 | TargetMachine="1" |
85 | /> | 85 | /> |
86 | <Tool | 86 | <Tool |
87 | Name="VCALinkTool" | 87 | Name="VCALinkTool" |
88 | /> | 88 | /> |
89 | <Tool | 89 | <Tool |
90 | Name="VCManifestTool" | 90 | Name="VCManifestTool" |
91 | /> | 91 | /> |
92 | <Tool | 92 | <Tool |
93 | Name="VCXDCMakeTool" | 93 | Name="VCXDCMakeTool" |
94 | /> | 94 | /> |
95 | <Tool | 95 | <Tool |
96 | Name="VCBscMakeTool" | 96 | Name="VCBscMakeTool" |
97 | /> | 97 | /> |
98 | <Tool | 98 | <Tool |
99 | Name="VCFxCopTool" | 99 | Name="VCFxCopTool" |
100 | /> | 100 | /> |
101 | <Tool | 101 | <Tool |
102 | Name="VCAppVerifierTool" | 102 | Name="VCAppVerifierTool" |
103 | /> | 103 | /> |
104 | <Tool | 104 | <Tool |
105 | Name="VCPostBuildEventTool" | 105 | Name="VCPostBuildEventTool" |
106 | /> | 106 | /> |
107 | </Configuration> | 107 | </Configuration> |
108 | <Configuration | 108 | <Configuration |
109 | Name="Release|Win32" | 109 | Name="Release|Win32" |
110 | OutputDirectory=".\Release" | 110 | OutputDirectory=".\Release" |
111 | IntermediateDirectory=".\Release" | 111 | IntermediateDirectory=".\Release" |
112 | ConfigurationType="1" | 112 | ConfigurationType="1" |
113 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" | 113 | InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" |
114 | UseOfMFC="0" | 114 | UseOfMFC="0" |
115 | ATLMinimizesCRunTimeLibraryUsage="false" | 115 | ATLMinimizesCRunTimeLibraryUsage="false" |
116 | CharacterSet="2" | 116 | CharacterSet="2" |
117 | > | 117 | > |
118 | <Tool | 118 | <Tool |
119 | Name="VCPreBuildEventTool" | 119 | Name="VCPreBuildEventTool" |
120 | /> | 120 | /> |
121 | <Tool | 121 | <Tool |
122 | Name="VCCustomBuildTool" | 122 | Name="VCCustomBuildTool" |
123 | /> | 123 | /> |
124 | <Tool | 124 | <Tool |
125 | Name="VCXMLDataGeneratorTool" | 125 | Name="VCXMLDataGeneratorTool" |
126 | /> | 126 | /> |
127 | <Tool | 127 | <Tool |
128 | Name="VCWebServiceProxyGeneratorTool" | 128 | Name="VCWebServiceProxyGeneratorTool" |
129 | /> | 129 | /> |
130 | <Tool | 130 | <Tool |
131 | Name="VCMIDLTool" | 131 | Name="VCMIDLTool" |
132 | TypeLibraryName=".\Release/MouseAndJoystick.tlb" | 132 | TypeLibraryName=".\Release/MouseAndJoystick.tlb" |
133 | HeaderFileName="" | 133 | HeaderFileName="" |
134 | /> | 134 | /> |
135 | <Tool | 135 | <Tool |
136 | Name="VCCLCompilerTool" | 136 | Name="VCCLCompilerTool" |
137 | Optimization="2" | 137 | Optimization="2" |
138 | InlineFunctionExpansion="1" | 138 | InlineFunctionExpansion="1" |
139 | AdditionalIncludeDirectories="..\..\include" | 139 | AdditionalIncludeDirectories="..\..\include" |
140 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" | 140 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" |
141 | StringPooling="true" | 141 | StringPooling="true" |
142 | RuntimeLibrary="0" | 142 | RuntimeLibrary="0" |
143 | EnableFunctionLevelLinking="true" | 143 | EnableFunctionLevelLinking="true" |
144 | UsePrecompiledHeader="0" | 144 | UsePrecompiledHeader="0" |
145 | PrecompiledHeaderFile=".\Release/MouseAndJoystick.pch" | 145 | PrecompiledHeaderFile=".\Release/MouseAndJoystick.pch" |
146 | AssemblerListingLocation=".\Release/" | 146 | AssemblerListingLocation=".\Release/" |
147 | ObjectFile=".\Release/" | 147 | ObjectFile=".\Release/" |
148 | ProgramDataBaseFileName=".\Release/" | 148 | ProgramDataBaseFileName=".\Release/" |
149 | WarningLevel="3" | 149 | WarningLevel="3" |
150 | SuppressStartupBanner="true" | 150 | SuppressStartupBanner="true" |
151 | CompileAs="0" | 151 | CompileAs="0" |
152 | /> | 152 | /> |
153 | <Tool | 153 | <Tool |
154 | Name="VCManagedResourceCompilerTool" | 154 | Name="VCManagedResourceCompilerTool" |
155 | /> | 155 | /> |
156 | <Tool | 156 | <Tool |
157 | Name="VCResourceCompilerTool" | 157 | Name="VCResourceCompilerTool" |
158 | PreprocessorDefinitions="NDEBUG" | 158 | PreprocessorDefinitions="NDEBUG" |
159 | Culture="3079" | 159 | Culture="3079" |
160 | /> | 160 | /> |
161 | <Tool | 161 | <Tool |
162 | Name="VCPreLinkEventTool" | 162 | Name="VCPreLinkEventTool" |
163 | /> | 163 | /> |
164 | <Tool | 164 | <Tool |
165 | Name="VCLinkerTool" | 165 | Name="VCLinkerTool" |
166 | OutputFile="..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe" | 166 | OutputFile="..\..\bin\Win32-VisualStudio\19.MouseAndJoystick.exe" |
167 | LinkIncremental="0" | 167 | LinkIncremental="0" |
168 | SuppressStartupBanner="true" | 168 | SuppressStartupBanner="true" |
169 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 169 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
170 | ProgramDatabaseFile=".\Release/MouseAndJoystick.pdb" | 170 | ProgramDatabaseFile=".\Release/MouseAndJoystick.pdb" |
171 | SubSystem="1" | 171 | SubSystem="1" |
172 | RandomizedBaseAddress="1" | 172 | RandomizedBaseAddress="1" |
173 | DataExecutionPrevention="0" | 173 | DataExecutionPrevention="0" |
174 | TargetMachine="1" | 174 | TargetMachine="1" |
175 | /> | 175 | /> |
176 | <Tool | 176 | <Tool |
177 | Name="VCALinkTool" | 177 | Name="VCALinkTool" |
178 | /> | 178 | /> |
179 | <Tool | 179 | <Tool |
180 | Name="VCManifestTool" | 180 | Name="VCManifestTool" |
181 | /> | 181 | /> |
182 | <Tool | 182 | <Tool |
183 | Name="VCXDCMakeTool" | 183 | Name="VCXDCMakeTool" |
184 | /> | 184 | /> |
185 | <Tool | 185 | <Tool |
186 | Name="VCBscMakeTool" | 186 | Name="VCBscMakeTool" |
187 | /> | 187 | /> |
188 | <Tool | 188 | <Tool |
189 | Name="VCFxCopTool" | 189 | Name="VCFxCopTool" |
190 | /> | 190 | /> |
191 | <Tool | 191 | <Tool |
192 | Name="VCAppVerifierTool" | 192 | Name="VCAppVerifierTool" |
193 | /> | 193 | /> |
194 | <Tool | 194 | <Tool |
195 | Name="VCPostBuildEventTool" | 195 | Name="VCPostBuildEventTool" |
196 | /> | 196 | /> |
197 | </Configuration> | 197 | </Configuration> |
198 | </Configurations> | 198 | </Configurations> |
199 | <References> | 199 | <References> |
200 | </References> | 200 | </References> |
201 | <Files> | 201 | <Files> |
202 | <File | 202 | <File |
203 | RelativePath="main.cpp" | 203 | RelativePath="main.cpp" |
204 | > | 204 | > |
205 | <FileConfiguration | 205 | <FileConfiguration |
206 | Name="Debug|Win32" | 206 | Name="Debug|Win32" |
207 | > | 207 | > |
208 | <Tool | 208 | <Tool |
209 | Name="VCCLCompilerTool" | 209 | Name="VCCLCompilerTool" |
210 | Optimization="0" | 210 | Optimization="0" |
211 | AdditionalIncludeDirectories="" | 211 | AdditionalIncludeDirectories="" |
212 | PreprocessorDefinitions="" | 212 | PreprocessorDefinitions="" |
213 | BasicRuntimeChecks="3" | 213 | BasicRuntimeChecks="3" |
214 | /> | 214 | /> |
215 | </FileConfiguration> | 215 | </FileConfiguration> |
216 | <FileConfiguration | 216 | <FileConfiguration |
217 | Name="Release|Win32" | 217 | Name="Release|Win32" |
218 | > | 218 | > |
219 | <Tool | 219 | <Tool |
220 | Name="VCCLCompilerTool" | 220 | Name="VCCLCompilerTool" |
221 | Optimization="2" | 221 | Optimization="2" |
222 | AdditionalIncludeDirectories="" | 222 | AdditionalIncludeDirectories="" |
223 | PreprocessorDefinitions="" | 223 | PreprocessorDefinitions="" |
224 | /> | 224 | /> |
225 | </FileConfiguration> | 225 | </FileConfiguration> |
226 | </File> | 226 | </File> |
227 | </Files> | 227 | </Files> |
228 | <Globals> | 228 | <Globals> |
229 | </Globals> | 229 | </Globals> |
230 | </VisualStudioProject> | 230 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/main.cpp b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/main.cpp index 4563278..5c79c31 100644 --- a/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/main.cpp +++ b/libraries/irrlicht-1.8/examples/19.MouseAndJoystick/main.cpp | |||
@@ -1,285 +1,285 @@ | |||
1 | /** Example 019 Mouse and Joystick | 1 | /** Example 019 Mouse and Joystick |
2 | 2 | ||
3 | This tutorial builds on example 04.Movement which showed how to | 3 | This tutorial builds on example 04.Movement which showed how to |
4 | handle keyboard events in Irrlicht. Here we'll handle mouse events | 4 | handle keyboard events in Irrlicht. Here we'll handle mouse events |
5 | and joystick events, if you have a joystick connected and a device | 5 | and joystick events, if you have a joystick connected and a device |
6 | that supports joysticks. These are currently Windows, Linux and SDL | 6 | that supports joysticks. These are currently Windows, Linux and SDL |
7 | devices. | 7 | devices. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #ifdef _MSC_VER | 10 | #ifdef _MSC_VER |
11 | // We'll define this to stop MSVC complaining about sprintf(). | 11 | // We'll define this to stop MSVC complaining about sprintf(). |
12 | #define _CRT_SECURE_NO_WARNINGS | 12 | #define _CRT_SECURE_NO_WARNINGS |
13 | #pragma comment(lib, "Irrlicht.lib") | 13 | #pragma comment(lib, "Irrlicht.lib") |
14 | #endif | 14 | #endif |
15 | 15 | ||
16 | #include <irrlicht.h> | 16 | #include <irrlicht.h> |
17 | #include "driverChoice.h" | 17 | #include "driverChoice.h" |
18 | 18 | ||
19 | using namespace irr; | 19 | using namespace irr; |
20 | 20 | ||
21 | /* | 21 | /* |
22 | Just as we did in example 04.Movement, we'll store the latest state of the | 22 | Just as we did in example 04.Movement, we'll store the latest state of the |
23 | mouse and the first joystick, updating them as we receive events. | 23 | mouse and the first joystick, updating them as we receive events. |
24 | */ | 24 | */ |
25 | class MyEventReceiver : public IEventReceiver | 25 | class MyEventReceiver : public IEventReceiver |
26 | { | 26 | { |
27 | public: | 27 | public: |
28 | // We'll create a struct to record info on the mouse state | 28 | // We'll create a struct to record info on the mouse state |
29 | struct SMouseState | 29 | struct SMouseState |
30 | { | 30 | { |
31 | core::position2di Position; | 31 | core::position2di Position; |
32 | bool LeftButtonDown; | 32 | bool LeftButtonDown; |
33 | SMouseState() : LeftButtonDown(false) { } | 33 | SMouseState() : LeftButtonDown(false) { } |
34 | } MouseState; | 34 | } MouseState; |
35 | 35 | ||
36 | // This is the one method that we have to implement | 36 | // This is the one method that we have to implement |
37 | virtual bool OnEvent(const SEvent& event) | 37 | virtual bool OnEvent(const SEvent& event) |
38 | { | 38 | { |
39 | // Remember the mouse state | 39 | // Remember the mouse state |
40 | if (event.EventType == irr::EET_MOUSE_INPUT_EVENT) | 40 | if (event.EventType == irr::EET_MOUSE_INPUT_EVENT) |
41 | { | 41 | { |
42 | switch(event.MouseInput.Event) | 42 | switch(event.MouseInput.Event) |
43 | { | 43 | { |
44 | case EMIE_LMOUSE_PRESSED_DOWN: | 44 | case EMIE_LMOUSE_PRESSED_DOWN: |
45 | MouseState.LeftButtonDown = true; | 45 | MouseState.LeftButtonDown = true; |
46 | break; | 46 | break; |
47 | 47 | ||
48 | case EMIE_LMOUSE_LEFT_UP: | 48 | case EMIE_LMOUSE_LEFT_UP: |
49 | MouseState.LeftButtonDown = false; | 49 | MouseState.LeftButtonDown = false; |
50 | break; | 50 | break; |
51 | 51 | ||
52 | case EMIE_MOUSE_MOVED: | 52 | case EMIE_MOUSE_MOVED: |
53 | MouseState.Position.X = event.MouseInput.X; | 53 | MouseState.Position.X = event.MouseInput.X; |
54 | MouseState.Position.Y = event.MouseInput.Y; | 54 | MouseState.Position.Y = event.MouseInput.Y; |
55 | break; | 55 | break; |
56 | 56 | ||
57 | default: | 57 | default: |
58 | // We won't use the wheel | 58 | // We won't use the wheel |
59 | break; | 59 | break; |
60 | } | 60 | } |
61 | } | 61 | } |
62 | 62 | ||
63 | // The state of each connected joystick is sent to us | 63 | // The state of each connected joystick is sent to us |
64 | // once every run() of the Irrlicht device. Store the | 64 | // once every run() of the Irrlicht device. Store the |
65 | // state of the first joystick, ignoring other joysticks. | 65 | // state of the first joystick, ignoring other joysticks. |
66 | // This is currently only supported on Windows and Linux. | 66 | // This is currently only supported on Windows and Linux. |
67 | if (event.EventType == irr::EET_JOYSTICK_INPUT_EVENT | 67 | if (event.EventType == irr::EET_JOYSTICK_INPUT_EVENT |
68 | && event.JoystickEvent.Joystick == 0) | 68 | && event.JoystickEvent.Joystick == 0) |
69 | { | 69 | { |
70 | JoystickState = event.JoystickEvent; | 70 | JoystickState = event.JoystickEvent; |
71 | } | 71 | } |
72 | 72 | ||
73 | return false; | 73 | return false; |
74 | } | 74 | } |
75 | 75 | ||
76 | const SEvent::SJoystickEvent & GetJoystickState(void) const | 76 | const SEvent::SJoystickEvent & GetJoystickState(void) const |
77 | { | 77 | { |
78 | return JoystickState; | 78 | return JoystickState; |
79 | } | 79 | } |
80 | 80 | ||
81 | const SMouseState & GetMouseState(void) const | 81 | const SMouseState & GetMouseState(void) const |
82 | { | 82 | { |
83 | return MouseState; | 83 | return MouseState; |
84 | } | 84 | } |
85 | 85 | ||
86 | 86 | ||
87 | MyEventReceiver() | 87 | MyEventReceiver() |
88 | { | 88 | { |
89 | } | 89 | } |
90 | 90 | ||
91 | private: | 91 | private: |
92 | SEvent::SJoystickEvent JoystickState; | 92 | SEvent::SJoystickEvent JoystickState; |
93 | }; | 93 | }; |
94 | 94 | ||
95 | 95 | ||
96 | /* | 96 | /* |
97 | The event receiver for keeping the pressed keys is ready, the actual responses | 97 | The event receiver for keeping the pressed keys is ready, the actual responses |
98 | will be made inside the render loop, right before drawing the scene. So lets | 98 | will be made inside the render loop, right before drawing the scene. So lets |
99 | just create an irr::IrrlichtDevice and the scene node we want to move. We also | 99 | just create an irr::IrrlichtDevice and the scene node we want to move. We also |
100 | create some other additional scene nodes, to show that there are also some | 100 | create some other additional scene nodes, to show that there are also some |
101 | different possibilities to move and animate scene nodes. | 101 | different possibilities to move and animate scene nodes. |
102 | */ | 102 | */ |
103 | int main() | 103 | int main() |
104 | { | 104 | { |
105 | // ask user for driver | 105 | // ask user for driver |
106 | video::E_DRIVER_TYPE driverType=driverChoiceConsole(); | 106 | video::E_DRIVER_TYPE driverType=driverChoiceConsole(); |
107 | if (driverType==video::EDT_COUNT) | 107 | if (driverType==video::EDT_COUNT) |
108 | return 1; | 108 | return 1; |
109 | 109 | ||
110 | // create device | 110 | // create device |
111 | MyEventReceiver receiver; | 111 | MyEventReceiver receiver; |
112 | 112 | ||
113 | IrrlichtDevice* device = createDevice(driverType, | 113 | IrrlichtDevice* device = createDevice(driverType, |
114 | core::dimension2d<u32>(640, 480), 16, false, false, false, &receiver); | 114 | core::dimension2d<u32>(640, 480), 16, false, false, false, &receiver); |
115 | 115 | ||
116 | if (device == 0) | 116 | if (device == 0) |
117 | return 1; // could not create selected driver. | 117 | return 1; // could not create selected driver. |
118 | 118 | ||
119 | 119 | ||
120 | core::array<SJoystickInfo> joystickInfo; | 120 | core::array<SJoystickInfo> joystickInfo; |
121 | if(device->activateJoysticks(joystickInfo)) | 121 | if(device->activateJoysticks(joystickInfo)) |
122 | { | 122 | { |
123 | std::cout << "Joystick support is enabled and " << joystickInfo.size() << " joystick(s) are present." << std::endl; | 123 | std::cout << "Joystick support is enabled and " << joystickInfo.size() << " joystick(s) are present." << std::endl; |
124 | 124 | ||
125 | for(u32 joystick = 0; joystick < joystickInfo.size(); ++joystick) | 125 | for(u32 joystick = 0; joystick < joystickInfo.size(); ++joystick) |
126 | { | 126 | { |
127 | std::cout << "Joystick " << joystick << ":" << std::endl; | 127 | std::cout << "Joystick " << joystick << ":" << std::endl; |
128 | std::cout << "\tName: '" << joystickInfo[joystick].Name.c_str() << "'" << std::endl; | 128 | std::cout << "\tName: '" << joystickInfo[joystick].Name.c_str() << "'" << std::endl; |
129 | std::cout << "\tAxes: " << joystickInfo[joystick].Axes << std::endl; | 129 | std::cout << "\tAxes: " << joystickInfo[joystick].Axes << std::endl; |
130 | std::cout << "\tButtons: " << joystickInfo[joystick].Buttons << std::endl; | 130 | std::cout << "\tButtons: " << joystickInfo[joystick].Buttons << std::endl; |
131 | 131 | ||
132 | std::cout << "\tHat is: "; | 132 | std::cout << "\tHat is: "; |
133 | 133 | ||
134 | switch(joystickInfo[joystick].PovHat) | 134 | switch(joystickInfo[joystick].PovHat) |
135 | { | 135 | { |
136 | case SJoystickInfo::POV_HAT_PRESENT: | 136 | case SJoystickInfo::POV_HAT_PRESENT: |
137 | std::cout << "present" << std::endl; | 137 | std::cout << "present" << std::endl; |
138 | break; | 138 | break; |
139 | 139 | ||
140 | case SJoystickInfo::POV_HAT_ABSENT: | 140 | case SJoystickInfo::POV_HAT_ABSENT: |
141 | std::cout << "absent" << std::endl; | 141 | std::cout << "absent" << std::endl; |
142 | break; | 142 | break; |
143 | 143 | ||
144 | case SJoystickInfo::POV_HAT_UNKNOWN: | 144 | case SJoystickInfo::POV_HAT_UNKNOWN: |
145 | default: | 145 | default: |
146 | std::cout << "unknown" << std::endl; | 146 | std::cout << "unknown" << std::endl; |
147 | break; | 147 | break; |
148 | } | 148 | } |
149 | } | 149 | } |
150 | } | 150 | } |
151 | else | 151 | else |
152 | { | 152 | { |
153 | std::cout << "Joystick support is not enabled." << std::endl; | 153 | std::cout << "Joystick support is not enabled." << std::endl; |
154 | } | 154 | } |
155 | 155 | ||
156 | core::stringw tmp = L"Irrlicht Joystick Example ("; | 156 | core::stringw tmp = L"Irrlicht Joystick Example ("; |
157 | tmp += joystickInfo.size(); | 157 | tmp += joystickInfo.size(); |
158 | tmp += " joysticks)"; | 158 | tmp += " joysticks)"; |
159 | device->setWindowCaption(tmp.c_str()); | 159 | device->setWindowCaption(tmp.c_str()); |
160 | 160 | ||
161 | video::IVideoDriver* driver = device->getVideoDriver(); | 161 | video::IVideoDriver* driver = device->getVideoDriver(); |
162 | scene::ISceneManager* smgr = device->getSceneManager(); | 162 | scene::ISceneManager* smgr = device->getSceneManager(); |
163 | 163 | ||
164 | /* | 164 | /* |
165 | We'll create an arrow mesh and move it around either with the joystick axis/hat, | 165 | We'll create an arrow mesh and move it around either with the joystick axis/hat, |
166 | or make it follow the mouse pointer. */ | 166 | or make it follow the mouse pointer. */ |
167 | scene::ISceneNode * node = smgr->addMeshSceneNode( | 167 | scene::ISceneNode * node = smgr->addMeshSceneNode( |
168 | smgr->addArrowMesh( "Arrow", | 168 | smgr->addArrowMesh( "Arrow", |
169 | video::SColor(255, 255, 0, 0), | 169 | video::SColor(255, 255, 0, 0), |
170 | video::SColor(255, 0, 255, 0), | 170 | video::SColor(255, 0, 255, 0), |
171 | 16,16, | 171 | 16,16, |
172 | 2.f, 1.3f, | 172 | 2.f, 1.3f, |
173 | 0.1f, 0.6f | 173 | 0.1f, 0.6f |
174 | ) | 174 | ) |
175 | ); | 175 | ); |
176 | node->setMaterialFlag(video::EMF_LIGHTING, false); | 176 | node->setMaterialFlag(video::EMF_LIGHTING, false); |
177 | 177 | ||
178 | scene::ICameraSceneNode * camera = smgr->addCameraSceneNode(); | 178 | scene::ICameraSceneNode * camera = smgr->addCameraSceneNode(); |
179 | camera->setPosition(core::vector3df(0, 0, -10)); | 179 | camera->setPosition(core::vector3df(0, 0, -10)); |
180 | 180 | ||
181 | // As in example 04, we'll use framerate independent movement. | 181 | // As in example 04, we'll use framerate independent movement. |
182 | u32 then = device->getTimer()->getTime(); | 182 | u32 then = device->getTimer()->getTime(); |
183 | const f32 MOVEMENT_SPEED = 5.f; | 183 | const f32 MOVEMENT_SPEED = 5.f; |
184 | 184 | ||
185 | while(device->run()) | 185 | while(device->run()) |
186 | { | 186 | { |
187 | // Work out a frame delta time. | 187 | // Work out a frame delta time. |
188 | const u32 now = device->getTimer()->getTime(); | 188 | const u32 now = device->getTimer()->getTime(); |
189 | const f32 frameDeltaTime = (f32)(now - then) / 1000.f; // Time in seconds | 189 | const f32 frameDeltaTime = (f32)(now - then) / 1000.f; // Time in seconds |
190 | then = now; | 190 | then = now; |
191 | 191 | ||
192 | bool movedWithJoystick = false; | 192 | bool movedWithJoystick = false; |
193 | core::vector3df nodePosition = node->getPosition(); | 193 | core::vector3df nodePosition = node->getPosition(); |
194 | 194 | ||
195 | if(joystickInfo.size() > 0) | 195 | if(joystickInfo.size() > 0) |
196 | { | 196 | { |
197 | f32 moveHorizontal = 0.f; // Range is -1.f for full left to +1.f for full right | 197 | f32 moveHorizontal = 0.f; // Range is -1.f for full left to +1.f for full right |
198 | f32 moveVertical = 0.f; // -1.f for full down to +1.f for full up. | 198 | f32 moveVertical = 0.f; // -1.f for full down to +1.f for full up. |
199 | 199 | ||
200 | const SEvent::SJoystickEvent & joystickData = receiver.GetJoystickState(); | 200 | const SEvent::SJoystickEvent & joystickData = receiver.GetJoystickState(); |
201 | 201 | ||
202 | // We receive the full analog range of the axes, and so have to implement our | 202 | // We receive the full analog range of the axes, and so have to implement our |
203 | // own dead zone. This is an empirical value, since some joysticks have more | 203 | // own dead zone. This is an empirical value, since some joysticks have more |
204 | // jitter or creep around the center point than others. We'll use 5% of the | 204 | // jitter or creep around the center point than others. We'll use 5% of the |
205 | // range as the dead zone, but generally you would want to give the user the | 205 | // range as the dead zone, but generally you would want to give the user the |
206 | // option to change this. | 206 | // option to change this. |
207 | const f32 DEAD_ZONE = 0.05f; | 207 | const f32 DEAD_ZONE = 0.05f; |
208 | 208 | ||
209 | moveHorizontal = | 209 | moveHorizontal = |
210 | (f32)joystickData.Axis[SEvent::SJoystickEvent::AXIS_X] / 32767.f; | 210 | (f32)joystickData.Axis[SEvent::SJoystickEvent::AXIS_X] / 32767.f; |
211 | if(fabs(moveHorizontal) < DEAD_ZONE) | 211 | if(fabs(moveHorizontal) < DEAD_ZONE) |
212 | moveHorizontal = 0.f; | 212 | moveHorizontal = 0.f; |
213 | 213 | ||
214 | moveVertical = | 214 | moveVertical = |
215 | (f32)joystickData.Axis[SEvent::SJoystickEvent::AXIS_Y] / -32767.f; | 215 | (f32)joystickData.Axis[SEvent::SJoystickEvent::AXIS_Y] / -32767.f; |
216 | if(fabs(moveVertical) < DEAD_ZONE) | 216 | if(fabs(moveVertical) < DEAD_ZONE) |
217 | moveVertical = 0.f; | 217 | moveVertical = 0.f; |
218 | 218 | ||
219 | // POV hat info is only currently supported on Windows, but the value is | 219 | // POV hat info is only currently supported on Windows, but the value is |
220 | // guaranteed to be 65535 if it's not supported, so we can check its range. | 220 | // guaranteed to be 65535 if it's not supported, so we can check its range. |
221 | const u16 povDegrees = joystickData.POV / 100; | 221 | const u16 povDegrees = joystickData.POV / 100; |
222 | if(povDegrees < 360) | 222 | if(povDegrees < 360) |
223 | { | 223 | { |
224 | if(povDegrees > 0 && povDegrees < 180) | 224 | if(povDegrees > 0 && povDegrees < 180) |
225 | moveHorizontal = 1.f; | 225 | moveHorizontal = 1.f; |
226 | else if(povDegrees > 180) | 226 | else if(povDegrees > 180) |
227 | moveHorizontal = -1.f; | 227 | moveHorizontal = -1.f; |
228 | 228 | ||
229 | if(povDegrees > 90 && povDegrees < 270) | 229 | if(povDegrees > 90 && povDegrees < 270) |
230 | moveVertical = -1.f; | 230 | moveVertical = -1.f; |
231 | else if(povDegrees > 270 || povDegrees < 90) | 231 | else if(povDegrees > 270 || povDegrees < 90) |
232 | moveVertical = +1.f; | 232 | moveVertical = +1.f; |
233 | } | 233 | } |
234 | 234 | ||
235 | if(!core::equals(moveHorizontal, 0.f) || !core::equals(moveVertical, 0.f)) | 235 | if(!core::equals(moveHorizontal, 0.f) || !core::equals(moveVertical, 0.f)) |
236 | { | 236 | { |
237 | nodePosition.X += MOVEMENT_SPEED * frameDeltaTime * moveHorizontal; | 237 | nodePosition.X += MOVEMENT_SPEED * frameDeltaTime * moveHorizontal; |
238 | nodePosition.Y += MOVEMENT_SPEED * frameDeltaTime * moveVertical; | 238 | nodePosition.Y += MOVEMENT_SPEED * frameDeltaTime * moveVertical; |
239 | movedWithJoystick = true; | 239 | movedWithJoystick = true; |
240 | } | 240 | } |
241 | } | 241 | } |
242 | 242 | ||
243 | // If the arrow node isn't being moved with the joystick, then have it follow the mouse cursor. | 243 | // If the arrow node isn't being moved with the joystick, then have it follow the mouse cursor. |
244 | if(!movedWithJoystick) | 244 | if(!movedWithJoystick) |
245 | { | 245 | { |
246 | // Create a ray through the mouse cursor. | 246 | // Create a ray through the mouse cursor. |
247 | core::line3df ray = smgr->getSceneCollisionManager()->getRayFromScreenCoordinates( | 247 | core::line3df ray = smgr->getSceneCollisionManager()->getRayFromScreenCoordinates( |
248 | receiver.GetMouseState().Position, camera); | 248 | receiver.GetMouseState().Position, camera); |
249 | 249 | ||
250 | // And intersect the ray with a plane around the node facing towards the camera. | 250 | // And intersect the ray with a plane around the node facing towards the camera. |
251 | core::plane3df plane(nodePosition, core::vector3df(0, 0, -1)); | 251 | core::plane3df plane(nodePosition, core::vector3df(0, 0, -1)); |
252 | core::vector3df mousePosition; | 252 | core::vector3df mousePosition; |
253 | if(plane.getIntersectionWithLine(ray.start, ray.getVector(), mousePosition)) | 253 | if(plane.getIntersectionWithLine(ray.start, ray.getVector(), mousePosition)) |
254 | { | 254 | { |
255 | // We now have a mouse position in 3d space; move towards it. | 255 | // We now have a mouse position in 3d space; move towards it. |
256 | core::vector3df toMousePosition(mousePosition - nodePosition); | 256 | core::vector3df toMousePosition(mousePosition - nodePosition); |
257 | const f32 availableMovement = MOVEMENT_SPEED * frameDeltaTime; | 257 | const f32 availableMovement = MOVEMENT_SPEED * frameDeltaTime; |
258 | 258 | ||
259 | if(toMousePosition.getLength() <= availableMovement) | 259 | if(toMousePosition.getLength() <= availableMovement) |
260 | nodePosition = mousePosition; // Jump to the final position | 260 | nodePosition = mousePosition; // Jump to the final position |
261 | else | 261 | else |
262 | nodePosition += toMousePosition.normalize() * availableMovement; // Move towards it | 262 | nodePosition += toMousePosition.normalize() * availableMovement; // Move towards it |
263 | } | 263 | } |
264 | } | 264 | } |
265 | 265 | ||
266 | node->setPosition(nodePosition); | 266 | node->setPosition(nodePosition); |
267 | 267 | ||
268 | // Turn lighting on and off depending on whether the left mouse button is down. | 268 | // Turn lighting on and off depending on whether the left mouse button is down. |
269 | node->setMaterialFlag(video::EMF_LIGHTING, receiver.GetMouseState().LeftButtonDown); | 269 | node->setMaterialFlag(video::EMF_LIGHTING, receiver.GetMouseState().LeftButtonDown); |
270 | 270 | ||
271 | driver->beginScene(true, true, video::SColor(255,113,113,133)); | 271 | driver->beginScene(true, true, video::SColor(255,113,113,133)); |
272 | smgr->drawAll(); // draw the 3d scene | 272 | smgr->drawAll(); // draw the 3d scene |
273 | driver->endScene(); | 273 | driver->endScene(); |
274 | } | 274 | } |
275 | 275 | ||
276 | /* | 276 | /* |
277 | In the end, delete the Irrlicht device. | 277 | In the end, delete the Irrlicht device. |
278 | */ | 278 | */ |
279 | device->drop(); | 279 | device->drop(); |
280 | 280 | ||
281 | return 0; | 281 | return 0; |
282 | } | 282 | } |
283 | 283 | ||
284 | /* | 284 | /* |
285 | **/ | 285 | **/ |