diff options
Diffstat (limited to '')
7 files changed, 1457 insertions, 1457 deletions
diff --git a/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_v8.vcproj b/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_v8.vcproj index be07354..1664d6a 100644 --- a/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_v8.vcproj +++ b/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_v8.vcproj | |||
@@ -1,185 +1,185 @@ | |||
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="17.HelloWorld for Windows Mobile on PC" | 5 | Name="17.HelloWorld for Windows Mobile on PC" |
6 | ProjectGUID="{2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}" | 6 | ProjectGUID="{2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}" |
7 | RootNamespace="My17HelloWorldforWindowsMobileonPC" | 7 | RootNamespace="My17HelloWorldforWindowsMobileonPC" |
8 | Keyword="Win32Proj" | 8 | Keyword="Win32Proj" |
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="$(SolutionDir)$(ConfigurationName)" | 20 | OutputDirectory="$(SolutionDir)$(ConfigurationName)" |
21 | IntermediateDirectory="$(ConfigurationName)" | 21 | IntermediateDirectory="$(ConfigurationName)" |
22 | ConfigurationType="1" | 22 | ConfigurationType="1" |
23 | CharacterSet="1" | 23 | CharacterSet="1" |
24 | > | 24 | > |
25 | <Tool | 25 | <Tool |
26 | Name="VCPreBuildEventTool" | 26 | Name="VCPreBuildEventTool" |
27 | /> | 27 | /> |
28 | <Tool | 28 | <Tool |
29 | Name="VCCustomBuildTool" | 29 | Name="VCCustomBuildTool" |
30 | /> | 30 | /> |
31 | <Tool | 31 | <Tool |
32 | Name="VCXMLDataGeneratorTool" | 32 | Name="VCXMLDataGeneratorTool" |
33 | /> | 33 | /> |
34 | <Tool | 34 | <Tool |
35 | Name="VCWebServiceProxyGeneratorTool" | 35 | Name="VCWebServiceProxyGeneratorTool" |
36 | /> | 36 | /> |
37 | <Tool | 37 | <Tool |
38 | Name="VCMIDLTool" | 38 | Name="VCMIDLTool" |
39 | /> | 39 | /> |
40 | <Tool | 40 | <Tool |
41 | Name="VCCLCompilerTool" | 41 | Name="VCCLCompilerTool" |
42 | Optimization="0" | 42 | Optimization="0" |
43 | AdditionalIncludeDirectories="..\..\include" | 43 | AdditionalIncludeDirectories="..\..\include" |
44 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" | 44 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" |
45 | MinimalRebuild="true" | 45 | MinimalRebuild="true" |
46 | BasicRuntimeChecks="3" | 46 | BasicRuntimeChecks="3" |
47 | RuntimeLibrary="3" | 47 | RuntimeLibrary="3" |
48 | UsePrecompiledHeader="0" | 48 | UsePrecompiledHeader="0" |
49 | WarningLevel="3" | 49 | WarningLevel="3" |
50 | Detect64BitPortabilityProblems="true" | 50 | Detect64BitPortabilityProblems="true" |
51 | DebugInformationFormat="4" | 51 | DebugInformationFormat="4" |
52 | /> | 52 | /> |
53 | <Tool | 53 | <Tool |
54 | Name="VCManagedResourceCompilerTool" | 54 | Name="VCManagedResourceCompilerTool" |
55 | /> | 55 | /> |
56 | <Tool | 56 | <Tool |
57 | Name="VCResourceCompilerTool" | 57 | Name="VCResourceCompilerTool" |
58 | /> | 58 | /> |
59 | <Tool | 59 | <Tool |
60 | Name="VCPreLinkEventTool" | 60 | Name="VCPreLinkEventTool" |
61 | /> | 61 | /> |
62 | <Tool | 62 | <Tool |
63 | Name="VCLinkerTool" | 63 | Name="VCLinkerTool" |
64 | OutputFile="..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile on PC.exe" | 64 | OutputFile="..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile on PC.exe" |
65 | LinkIncremental="2" | 65 | LinkIncremental="2" |
66 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 66 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
67 | GenerateDebugInformation="true" | 67 | GenerateDebugInformation="true" |
68 | SubSystem="1" | 68 | SubSystem="1" |
69 | TargetMachine="1" | 69 | TargetMachine="1" |
70 | /> | 70 | /> |
71 | <Tool | 71 | <Tool |
72 | Name="VCALinkTool" | 72 | Name="VCALinkTool" |
73 | /> | 73 | /> |
74 | <Tool | 74 | <Tool |
75 | Name="VCManifestTool" | 75 | Name="VCManifestTool" |
76 | /> | 76 | /> |
77 | <Tool | 77 | <Tool |
78 | Name="VCXDCMakeTool" | 78 | Name="VCXDCMakeTool" |
79 | /> | 79 | /> |
80 | <Tool | 80 | <Tool |
81 | Name="VCBscMakeTool" | 81 | Name="VCBscMakeTool" |
82 | /> | 82 | /> |
83 | <Tool | 83 | <Tool |
84 | Name="VCFxCopTool" | 84 | Name="VCFxCopTool" |
85 | /> | 85 | /> |
86 | <Tool | 86 | <Tool |
87 | Name="VCAppVerifierTool" | 87 | Name="VCAppVerifierTool" |
88 | /> | 88 | /> |
89 | <Tool | 89 | <Tool |
90 | Name="VCWebDeploymentTool" | 90 | Name="VCWebDeploymentTool" |
91 | /> | 91 | /> |
92 | <Tool | 92 | <Tool |
93 | Name="VCPostBuildEventTool" | 93 | Name="VCPostBuildEventTool" |
94 | /> | 94 | /> |
95 | </Configuration> | 95 | </Configuration> |
96 | <Configuration | 96 | <Configuration |
97 | Name="Release|Win32" | 97 | Name="Release|Win32" |
98 | OutputDirectory="$(SolutionDir)$(ConfigurationName)" | 98 | OutputDirectory="$(SolutionDir)$(ConfigurationName)" |
99 | IntermediateDirectory="$(ConfigurationName)" | 99 | IntermediateDirectory="$(ConfigurationName)" |
100 | ConfigurationType="1" | 100 | ConfigurationType="1" |
101 | CharacterSet="1" | 101 | CharacterSet="1" |
102 | WholeProgramOptimization="1" | 102 | WholeProgramOptimization="1" |
103 | > | 103 | > |
104 | <Tool | 104 | <Tool |
105 | Name="VCPreBuildEventTool" | 105 | Name="VCPreBuildEventTool" |
106 | /> | 106 | /> |
107 | <Tool | 107 | <Tool |
108 | Name="VCCustomBuildTool" | 108 | Name="VCCustomBuildTool" |
109 | /> | 109 | /> |
110 | <Tool | 110 | <Tool |
111 | Name="VCXMLDataGeneratorTool" | 111 | Name="VCXMLDataGeneratorTool" |
112 | /> | 112 | /> |
113 | <Tool | 113 | <Tool |
114 | Name="VCWebServiceProxyGeneratorTool" | 114 | Name="VCWebServiceProxyGeneratorTool" |
115 | /> | 115 | /> |
116 | <Tool | 116 | <Tool |
117 | Name="VCMIDLTool" | 117 | Name="VCMIDLTool" |
118 | /> | 118 | /> |
119 | <Tool | 119 | <Tool |
120 | Name="VCCLCompilerTool" | 120 | Name="VCCLCompilerTool" |
121 | AdditionalIncludeDirectories="..\..\include" | 121 | AdditionalIncludeDirectories="..\..\include" |
122 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" | 122 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" |
123 | RuntimeLibrary="2" | 123 | RuntimeLibrary="2" |
124 | UsePrecompiledHeader="0" | 124 | UsePrecompiledHeader="0" |
125 | WarningLevel="3" | 125 | WarningLevel="3" |
126 | Detect64BitPortabilityProblems="true" | 126 | Detect64BitPortabilityProblems="true" |
127 | DebugInformationFormat="3" | 127 | DebugInformationFormat="3" |
128 | /> | 128 | /> |
129 | <Tool | 129 | <Tool |
130 | Name="VCManagedResourceCompilerTool" | 130 | Name="VCManagedResourceCompilerTool" |
131 | /> | 131 | /> |
132 | <Tool | 132 | <Tool |
133 | Name="VCResourceCompilerTool" | 133 | Name="VCResourceCompilerTool" |
134 | /> | 134 | /> |
135 | <Tool | 135 | <Tool |
136 | Name="VCPreLinkEventTool" | 136 | Name="VCPreLinkEventTool" |
137 | /> | 137 | /> |
138 | <Tool | 138 | <Tool |
139 | Name="VCLinkerTool" | 139 | Name="VCLinkerTool" |
140 | OutputFile="..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile on PC.exe" | 140 | OutputFile="..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile on PC.exe" |
141 | LinkIncremental="1" | 141 | LinkIncremental="1" |
142 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 142 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
143 | GenerateDebugInformation="true" | 143 | GenerateDebugInformation="true" |
144 | SubSystem="1" | 144 | SubSystem="1" |
145 | OptimizeReferences="2" | 145 | OptimizeReferences="2" |
146 | EnableCOMDATFolding="2" | 146 | EnableCOMDATFolding="2" |
147 | TargetMachine="1" | 147 | TargetMachine="1" |
148 | /> | 148 | /> |
149 | <Tool | 149 | <Tool |
150 | Name="VCALinkTool" | 150 | Name="VCALinkTool" |
151 | /> | 151 | /> |
152 | <Tool | 152 | <Tool |
153 | Name="VCManifestTool" | 153 | Name="VCManifestTool" |
154 | /> | 154 | /> |
155 | <Tool | 155 | <Tool |
156 | Name="VCXDCMakeTool" | 156 | Name="VCXDCMakeTool" |
157 | /> | 157 | /> |
158 | <Tool | 158 | <Tool |
159 | Name="VCBscMakeTool" | 159 | Name="VCBscMakeTool" |
160 | /> | 160 | /> |
161 | <Tool | 161 | <Tool |
162 | Name="VCFxCopTool" | 162 | Name="VCFxCopTool" |
163 | /> | 163 | /> |
164 | <Tool | 164 | <Tool |
165 | Name="VCAppVerifierTool" | 165 | Name="VCAppVerifierTool" |
166 | /> | 166 | /> |
167 | <Tool | 167 | <Tool |
168 | Name="VCWebDeploymentTool" | 168 | Name="VCWebDeploymentTool" |
169 | /> | 169 | /> |
170 | <Tool | 170 | <Tool |
171 | Name="VCPostBuildEventTool" | 171 | Name="VCPostBuildEventTool" |
172 | /> | 172 | /> |
173 | </Configuration> | 173 | </Configuration> |
174 | </Configurations> | 174 | </Configurations> |
175 | <References> | 175 | <References> |
176 | </References> | 176 | </References> |
177 | <Files> | 177 | <Files> |
178 | <File | 178 | <File |
179 | RelativePath=".\main.cpp" | 179 | RelativePath=".\main.cpp" |
180 | > | 180 | > |
181 | </File> | 181 | </File> |
182 | </Files> | 182 | </Files> |
183 | <Globals> | 183 | <Globals> |
184 | </Globals> | 184 | </Globals> |
185 | </VisualStudioProject> | 185 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_v9.vcproj b/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_v9.vcproj index acdc249..0740869 100644 --- a/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_v9.vcproj +++ b/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_v9.vcproj | |||
@@ -1,184 +1,184 @@ | |||
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="17.HelloWorld_Mobile_v9" | 5 | Name="17.HelloWorld_Mobile_v9" |
6 | ProjectGUID="{2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}" | 6 | ProjectGUID="{2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}" |
7 | RootNamespace="My17HelloWorldforWindowsMobileonPC" | 7 | RootNamespace="My17HelloWorldforWindowsMobileonPC" |
8 | Keyword="Win32Proj" | 8 | Keyword="Win32Proj" |
9 | TargetFrameworkVersion="131072" | 9 | TargetFrameworkVersion="131072" |
10 | > | 10 | > |
11 | <Platforms> | 11 | <Platforms> |
12 | <Platform | 12 | <Platform |
13 | Name="Win32" | 13 | Name="Win32" |
14 | /> | 14 | /> |
15 | </Platforms> | 15 | </Platforms> |
16 | <ToolFiles> | 16 | <ToolFiles> |
17 | </ToolFiles> | 17 | </ToolFiles> |
18 | <Configurations> | 18 | <Configurations> |
19 | <Configuration | 19 | <Configuration |
20 | Name="Debug|Win32" | 20 | Name="Debug|Win32" |
21 | OutputDirectory="$(SolutionDir)$(ConfigurationName)" | 21 | OutputDirectory="$(SolutionDir)$(ConfigurationName)" |
22 | IntermediateDirectory="$(ConfigurationName)" | 22 | IntermediateDirectory="$(ConfigurationName)" |
23 | ConfigurationType="1" | 23 | ConfigurationType="1" |
24 | CharacterSet="1" | 24 | CharacterSet="1" |
25 | > | 25 | > |
26 | <Tool | 26 | <Tool |
27 | Name="VCPreBuildEventTool" | 27 | Name="VCPreBuildEventTool" |
28 | /> | 28 | /> |
29 | <Tool | 29 | <Tool |
30 | Name="VCCustomBuildTool" | 30 | Name="VCCustomBuildTool" |
31 | /> | 31 | /> |
32 | <Tool | 32 | <Tool |
33 | Name="VCXMLDataGeneratorTool" | 33 | Name="VCXMLDataGeneratorTool" |
34 | /> | 34 | /> |
35 | <Tool | 35 | <Tool |
36 | Name="VCWebServiceProxyGeneratorTool" | 36 | Name="VCWebServiceProxyGeneratorTool" |
37 | /> | 37 | /> |
38 | <Tool | 38 | <Tool |
39 | Name="VCMIDLTool" | 39 | Name="VCMIDLTool" |
40 | /> | 40 | /> |
41 | <Tool | 41 | <Tool |
42 | Name="VCCLCompilerTool" | 42 | Name="VCCLCompilerTool" |
43 | Optimization="0" | 43 | Optimization="0" |
44 | AdditionalIncludeDirectories="..\..\include" | 44 | AdditionalIncludeDirectories="..\..\include" |
45 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" | 45 | PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" |
46 | MinimalRebuild="true" | 46 | MinimalRebuild="true" |
47 | BasicRuntimeChecks="3" | 47 | BasicRuntimeChecks="3" |
48 | RuntimeLibrary="3" | 48 | RuntimeLibrary="3" |
49 | UsePrecompiledHeader="0" | 49 | UsePrecompiledHeader="0" |
50 | WarningLevel="3" | 50 | WarningLevel="3" |
51 | Detect64BitPortabilityProblems="false" | 51 | Detect64BitPortabilityProblems="false" |
52 | DebugInformationFormat="4" | 52 | DebugInformationFormat="4" |
53 | /> | 53 | /> |
54 | <Tool | 54 | <Tool |
55 | Name="VCManagedResourceCompilerTool" | 55 | Name="VCManagedResourceCompilerTool" |
56 | /> | 56 | /> |
57 | <Tool | 57 | <Tool |
58 | Name="VCResourceCompilerTool" | 58 | Name="VCResourceCompilerTool" |
59 | /> | 59 | /> |
60 | <Tool | 60 | <Tool |
61 | Name="VCPreLinkEventTool" | 61 | Name="VCPreLinkEventTool" |
62 | /> | 62 | /> |
63 | <Tool | 63 | <Tool |
64 | Name="VCLinkerTool" | 64 | Name="VCLinkerTool" |
65 | OutputFile="..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile on PC.exe" | 65 | OutputFile="..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile on PC.exe" |
66 | LinkIncremental="2" | 66 | LinkIncremental="2" |
67 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 67 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
68 | GenerateDebugInformation="true" | 68 | GenerateDebugInformation="true" |
69 | SubSystem="1" | 69 | SubSystem="1" |
70 | RandomizedBaseAddress="1" | 70 | RandomizedBaseAddress="1" |
71 | DataExecutionPrevention="0" | 71 | DataExecutionPrevention="0" |
72 | TargetMachine="1" | 72 | TargetMachine="1" |
73 | /> | 73 | /> |
74 | <Tool | 74 | <Tool |
75 | Name="VCALinkTool" | 75 | Name="VCALinkTool" |
76 | /> | 76 | /> |
77 | <Tool | 77 | <Tool |
78 | Name="VCManifestTool" | 78 | Name="VCManifestTool" |
79 | /> | 79 | /> |
80 | <Tool | 80 | <Tool |
81 | Name="VCXDCMakeTool" | 81 | Name="VCXDCMakeTool" |
82 | /> | 82 | /> |
83 | <Tool | 83 | <Tool |
84 | Name="VCBscMakeTool" | 84 | Name="VCBscMakeTool" |
85 | /> | 85 | /> |
86 | <Tool | 86 | <Tool |
87 | Name="VCFxCopTool" | 87 | Name="VCFxCopTool" |
88 | /> | 88 | /> |
89 | <Tool | 89 | <Tool |
90 | Name="VCAppVerifierTool" | 90 | Name="VCAppVerifierTool" |
91 | /> | 91 | /> |
92 | <Tool | 92 | <Tool |
93 | Name="VCPostBuildEventTool" | 93 | Name="VCPostBuildEventTool" |
94 | /> | 94 | /> |
95 | </Configuration> | 95 | </Configuration> |
96 | <Configuration | 96 | <Configuration |
97 | Name="Release|Win32" | 97 | Name="Release|Win32" |
98 | OutputDirectory="$(SolutionDir)$(ConfigurationName)" | 98 | OutputDirectory="$(SolutionDir)$(ConfigurationName)" |
99 | IntermediateDirectory="$(ConfigurationName)" | 99 | IntermediateDirectory="$(ConfigurationName)" |
100 | ConfigurationType="1" | 100 | ConfigurationType="1" |
101 | CharacterSet="1" | 101 | CharacterSet="1" |
102 | WholeProgramOptimization="1" | 102 | WholeProgramOptimization="1" |
103 | > | 103 | > |
104 | <Tool | 104 | <Tool |
105 | Name="VCPreBuildEventTool" | 105 | Name="VCPreBuildEventTool" |
106 | /> | 106 | /> |
107 | <Tool | 107 | <Tool |
108 | Name="VCCustomBuildTool" | 108 | Name="VCCustomBuildTool" |
109 | /> | 109 | /> |
110 | <Tool | 110 | <Tool |
111 | Name="VCXMLDataGeneratorTool" | 111 | Name="VCXMLDataGeneratorTool" |
112 | /> | 112 | /> |
113 | <Tool | 113 | <Tool |
114 | Name="VCWebServiceProxyGeneratorTool" | 114 | Name="VCWebServiceProxyGeneratorTool" |
115 | /> | 115 | /> |
116 | <Tool | 116 | <Tool |
117 | Name="VCMIDLTool" | 117 | Name="VCMIDLTool" |
118 | /> | 118 | /> |
119 | <Tool | 119 | <Tool |
120 | Name="VCCLCompilerTool" | 120 | Name="VCCLCompilerTool" |
121 | AdditionalIncludeDirectories="..\..\include" | 121 | AdditionalIncludeDirectories="..\..\include" |
122 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" | 122 | PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" |
123 | RuntimeLibrary="2" | 123 | RuntimeLibrary="2" |
124 | UsePrecompiledHeader="0" | 124 | UsePrecompiledHeader="0" |
125 | WarningLevel="3" | 125 | WarningLevel="3" |
126 | Detect64BitPortabilityProblems="false" | 126 | Detect64BitPortabilityProblems="false" |
127 | DebugInformationFormat="3" | 127 | DebugInformationFormat="3" |
128 | /> | 128 | /> |
129 | <Tool | 129 | <Tool |
130 | Name="VCManagedResourceCompilerTool" | 130 | Name="VCManagedResourceCompilerTool" |
131 | /> | 131 | /> |
132 | <Tool | 132 | <Tool |
133 | Name="VCResourceCompilerTool" | 133 | Name="VCResourceCompilerTool" |
134 | /> | 134 | /> |
135 | <Tool | 135 | <Tool |
136 | Name="VCPreLinkEventTool" | 136 | Name="VCPreLinkEventTool" |
137 | /> | 137 | /> |
138 | <Tool | 138 | <Tool |
139 | Name="VCLinkerTool" | 139 | Name="VCLinkerTool" |
140 | OutputFile="..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile on PC.exe" | 140 | OutputFile="..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile on PC.exe" |
141 | LinkIncremental="1" | 141 | LinkIncremental="1" |
142 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" | 142 | AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio" |
143 | GenerateDebugInformation="true" | 143 | GenerateDebugInformation="true" |
144 | SubSystem="1" | 144 | SubSystem="1" |
145 | OptimizeReferences="2" | 145 | OptimizeReferences="2" |
146 | EnableCOMDATFolding="2" | 146 | EnableCOMDATFolding="2" |
147 | RandomizedBaseAddress="1" | 147 | RandomizedBaseAddress="1" |
148 | DataExecutionPrevention="0" | 148 | DataExecutionPrevention="0" |
149 | TargetMachine="1" | 149 | TargetMachine="1" |
150 | /> | 150 | /> |
151 | <Tool | 151 | <Tool |
152 | Name="VCALinkTool" | 152 | Name="VCALinkTool" |
153 | /> | 153 | /> |
154 | <Tool | 154 | <Tool |
155 | Name="VCManifestTool" | 155 | Name="VCManifestTool" |
156 | /> | 156 | /> |
157 | <Tool | 157 | <Tool |
158 | Name="VCXDCMakeTool" | 158 | Name="VCXDCMakeTool" |
159 | /> | 159 | /> |
160 | <Tool | 160 | <Tool |
161 | Name="VCBscMakeTool" | 161 | Name="VCBscMakeTool" |
162 | /> | 162 | /> |
163 | <Tool | 163 | <Tool |
164 | Name="VCFxCopTool" | 164 | Name="VCFxCopTool" |
165 | /> | 165 | /> |
166 | <Tool | 166 | <Tool |
167 | Name="VCAppVerifierTool" | 167 | Name="VCAppVerifierTool" |
168 | /> | 168 | /> |
169 | <Tool | 169 | <Tool |
170 | Name="VCPostBuildEventTool" | 170 | Name="VCPostBuildEventTool" |
171 | /> | 171 | /> |
172 | </Configuration> | 172 | </Configuration> |
173 | </Configurations> | 173 | </Configurations> |
174 | <References> | 174 | <References> |
175 | </References> | 175 | </References> |
176 | <Files> | 176 | <Files> |
177 | <File | 177 | <File |
178 | RelativePath=".\main.cpp" | 178 | RelativePath=".\main.cpp" |
179 | > | 179 | > |
180 | </File> | 180 | </File> |
181 | </Files> | 181 | </Files> |
182 | <Globals> | 182 | <Globals> |
183 | </Globals> | 183 | </Globals> |
184 | </VisualStudioProject> | 184 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_vc10.vcxproj b/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_vc10.vcxproj index e46cb0c..5e275d2 100644 --- a/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_vc10.vcxproj +++ b/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_vc10.vcxproj | |||
@@ -1,176 +1,176 @@ | |||
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>17.HelloWorld_Mobile</ProjectName> | 22 | <ProjectName>17.HelloWorld_Mobile</ProjectName> |
23 | <ProjectGuid>{2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}</ProjectGuid> | 23 | <ProjectGuid>{2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}</ProjectGuid> |
24 | <RootNamespace>My17HelloWorldforWindowsMobileonPC</RootNamespace> | 24 | <RootNamespace>My17HelloWorldforWindowsMobileonPC</RootNamespace> |
25 | <Keyword>Win32Proj</Keyword> | 25 | <Keyword>Win32Proj</Keyword> |
26 | </PropertyGroup> | 26 | </PropertyGroup> |
27 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 27 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
28 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | 28 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
29 | <ConfigurationType>Application</ConfigurationType> | 29 | <ConfigurationType>Application</ConfigurationType> |
30 | <CharacterSet>Unicode</CharacterSet> | 30 | <CharacterSet>Unicode</CharacterSet> |
31 | <WholeProgramOptimization>true</WholeProgramOptimization> | 31 | <WholeProgramOptimization>true</WholeProgramOptimization> |
32 | </PropertyGroup> | 32 | </PropertyGroup> |
33 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | 33 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
34 | <ConfigurationType>Application</ConfigurationType> | 34 | <ConfigurationType>Application</ConfigurationType> |
35 | <CharacterSet>Unicode</CharacterSet> | 35 | <CharacterSet>Unicode</CharacterSet> |
36 | <WholeProgramOptimization>true</WholeProgramOptimization> | 36 | <WholeProgramOptimization>true</WholeProgramOptimization> |
37 | </PropertyGroup> | 37 | </PropertyGroup> |
38 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | 38 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
39 | <ConfigurationType>Application</ConfigurationType> | 39 | <ConfigurationType>Application</ConfigurationType> |
40 | <CharacterSet>Unicode</CharacterSet> | 40 | <CharacterSet>Unicode</CharacterSet> |
41 | </PropertyGroup> | 41 | </PropertyGroup> |
42 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | 42 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
43 | <ConfigurationType>Application</ConfigurationType> | 43 | <ConfigurationType>Application</ConfigurationType> |
44 | <CharacterSet>Unicode</CharacterSet> | 44 | <CharacterSet>Unicode</CharacterSet> |
45 | </PropertyGroup> | 45 | </PropertyGroup> |
46 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 46 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
47 | <ImportGroup Label="ExtensionSettings"> | 47 | <ImportGroup Label="ExtensionSettings"> |
48 | </ImportGroup> | 48 | </ImportGroup> |
49 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | 49 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> |
50 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 50 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
51 | </ImportGroup> | 51 | </ImportGroup> |
52 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> | 52 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> |
53 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 53 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
54 | </ImportGroup> | 54 | </ImportGroup> |
55 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | 55 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> |
56 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 56 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
57 | </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 | </ImportGroup> | 60 | </ImportGroup> |
61 | <PropertyGroup Label="UserMacros" /> | 61 | <PropertyGroup Label="UserMacros" /> |
62 | <PropertyGroup> | 62 | <PropertyGroup> |
63 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | 63 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
64 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 64 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
65 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 65 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
66 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> | 66 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> |
67 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> | 67 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> |
68 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 68 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
69 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 69 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
70 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> | 70 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> |
71 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> | 71 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> |
72 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 72 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
73 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 73 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
74 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 74 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
75 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 75 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
76 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 76 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
77 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 77 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
78 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 78 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
79 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 79 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
80 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 80 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
81 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 81 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
82 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 82 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
83 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 83 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
84 | </PropertyGroup> | 84 | </PropertyGroup> |
85 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | 85 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
86 | <ClCompile> | 86 | <ClCompile> |
87 | <Optimization>Disabled</Optimization> | 87 | <Optimization>Disabled</Optimization> |
88 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 88 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
89 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 89 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
90 | <MinimalRebuild>true</MinimalRebuild> | 90 | <MinimalRebuild>true</MinimalRebuild> |
91 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 91 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
92 | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | 92 | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> |
93 | <PrecompiledHeader> | 93 | <PrecompiledHeader> |
94 | </PrecompiledHeader> | 94 | </PrecompiledHeader> |
95 | <WarningLevel>Level3</WarningLevel> | 95 | <WarningLevel>Level3</WarningLevel> |
96 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | 96 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
97 | </ClCompile> | 97 | </ClCompile> |
98 | <Link> | 98 | <Link> |
99 | <OutputFile>..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> | 99 | <OutputFile>..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> |
100 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 100 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
101 | <GenerateDebugInformation>true</GenerateDebugInformation> | 101 | <GenerateDebugInformation>true</GenerateDebugInformation> |
102 | <SubSystem>Console</SubSystem> | 102 | <SubSystem>Console</SubSystem> |
103 | <DataExecutionPrevention> | 103 | <DataExecutionPrevention> |
104 | </DataExecutionPrevention> | 104 | </DataExecutionPrevention> |
105 | </Link> | 105 | </Link> |
106 | </ItemDefinitionGroup> | 106 | </ItemDefinitionGroup> |
107 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | 107 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
108 | <ClCompile> | 108 | <ClCompile> |
109 | <Optimization>Disabled</Optimization> | 109 | <Optimization>Disabled</Optimization> |
110 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 110 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
111 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 111 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
112 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 112 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
113 | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | 113 | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> |
114 | <PrecompiledHeader> | 114 | <PrecompiledHeader> |
115 | </PrecompiledHeader> | 115 | </PrecompiledHeader> |
116 | <WarningLevel>Level3</WarningLevel> | 116 | <WarningLevel>Level3</WarningLevel> |
117 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | 117 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
118 | </ClCompile> | 118 | </ClCompile> |
119 | <Link> | 119 | <Link> |
120 | <OutputFile>..\..\bin\Win64-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> | 120 | <OutputFile>..\..\bin\Win64-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> |
121 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 121 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
122 | <GenerateDebugInformation>true</GenerateDebugInformation> | 122 | <GenerateDebugInformation>true</GenerateDebugInformation> |
123 | <SubSystem>Console</SubSystem> | 123 | <SubSystem>Console</SubSystem> |
124 | <DataExecutionPrevention> | 124 | <DataExecutionPrevention> |
125 | </DataExecutionPrevention> | 125 | </DataExecutionPrevention> |
126 | </Link> | 126 | </Link> |
127 | </ItemDefinitionGroup> | 127 | </ItemDefinitionGroup> |
128 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | 128 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
129 | <ClCompile> | 129 | <ClCompile> |
130 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 130 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
131 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 131 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
132 | <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | 132 | <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> |
133 | <PrecompiledHeader> | 133 | <PrecompiledHeader> |
134 | </PrecompiledHeader> | 134 | </PrecompiledHeader> |
135 | <WarningLevel>Level3</WarningLevel> | 135 | <WarningLevel>Level3</WarningLevel> |
136 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | 136 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
137 | </ClCompile> | 137 | </ClCompile> |
138 | <Link> | 138 | <Link> |
139 | <OutputFile>..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> | 139 | <OutputFile>..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> |
140 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 140 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
141 | <GenerateDebugInformation>false</GenerateDebugInformation> | 141 | <GenerateDebugInformation>false</GenerateDebugInformation> |
142 | <SubSystem>Console</SubSystem> | 142 | <SubSystem>Console</SubSystem> |
143 | <OptimizeReferences>true</OptimizeReferences> | 143 | <OptimizeReferences>true</OptimizeReferences> |
144 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | 144 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
145 | <DataExecutionPrevention> | 145 | <DataExecutionPrevention> |
146 | </DataExecutionPrevention> | 146 | </DataExecutionPrevention> |
147 | </Link> | 147 | </Link> |
148 | </ItemDefinitionGroup> | 148 | </ItemDefinitionGroup> |
149 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | 149 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
150 | <ClCompile> | 150 | <ClCompile> |
151 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 151 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
152 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 152 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
153 | <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | 153 | <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> |
154 | <PrecompiledHeader> | 154 | <PrecompiledHeader> |
155 | </PrecompiledHeader> | 155 | </PrecompiledHeader> |
156 | <WarningLevel>Level3</WarningLevel> | 156 | <WarningLevel>Level3</WarningLevel> |
157 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | 157 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
158 | </ClCompile> | 158 | </ClCompile> |
159 | <Link> | 159 | <Link> |
160 | <OutputFile>..\..\bin\Win64-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> | 160 | <OutputFile>..\..\bin\Win64-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> |
161 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 161 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
162 | <GenerateDebugInformation>false</GenerateDebugInformation> | 162 | <GenerateDebugInformation>false</GenerateDebugInformation> |
163 | <SubSystem>Console</SubSystem> | 163 | <SubSystem>Console</SubSystem> |
164 | <OptimizeReferences>true</OptimizeReferences> | 164 | <OptimizeReferences>true</OptimizeReferences> |
165 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | 165 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
166 | <DataExecutionPrevention> | 166 | <DataExecutionPrevention> |
167 | </DataExecutionPrevention> | 167 | </DataExecutionPrevention> |
168 | </Link> | 168 | </Link> |
169 | </ItemDefinitionGroup> | 169 | </ItemDefinitionGroup> |
170 | <ItemGroup> | 170 | <ItemGroup> |
171 | <ClCompile Include="main.cpp" /> | 171 | <ClCompile Include="main.cpp" /> |
172 | </ItemGroup> | 172 | </ItemGroup> |
173 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 173 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
174 | <ImportGroup Label="ExtensionTargets"> | 174 | <ImportGroup Label="ExtensionTargets"> |
175 | </ImportGroup> | 175 | </ImportGroup> |
176 | </Project> \ No newline at end of file | 176 | </Project> \ No newline at end of file |
diff --git a/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_vc11.vcxproj b/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_vc11.vcxproj index 27b8ed4..8ac66cc 100644 --- a/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_vc11.vcxproj +++ b/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/17. HelloWorld for Windows Mobile on PC_vc11.vcxproj | |||
@@ -1,180 +1,180 @@ | |||
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>17.HelloWorld_Mobile</ProjectName> | 22 | <ProjectName>17.HelloWorld_Mobile</ProjectName> |
23 | <ProjectGuid>{2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}</ProjectGuid> | 23 | <ProjectGuid>{2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}</ProjectGuid> |
24 | <RootNamespace>My17HelloWorldforWindowsMobileonPC</RootNamespace> | 24 | <RootNamespace>My17HelloWorldforWindowsMobileonPC</RootNamespace> |
25 | <Keyword>Win32Proj</Keyword> | 25 | <Keyword>Win32Proj</Keyword> |
26 | </PropertyGroup> | 26 | </PropertyGroup> |
27 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 27 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
28 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | 28 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
29 | <ConfigurationType>Application</ConfigurationType> | 29 | <ConfigurationType>Application</ConfigurationType> |
30 | <CharacterSet>Unicode</CharacterSet> | 30 | <CharacterSet>Unicode</CharacterSet> |
31 | <WholeProgramOptimization>true</WholeProgramOptimization> | 31 | <WholeProgramOptimization>true</WholeProgramOptimization> |
32 | <PlatformToolset>v110</PlatformToolset> | 32 | <PlatformToolset>v110</PlatformToolset> |
33 | </PropertyGroup> | 33 | </PropertyGroup> |
34 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | 34 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
35 | <ConfigurationType>Application</ConfigurationType> | 35 | <ConfigurationType>Application</ConfigurationType> |
36 | <CharacterSet>Unicode</CharacterSet> | 36 | <CharacterSet>Unicode</CharacterSet> |
37 | <WholeProgramOptimization>true</WholeProgramOptimization> | 37 | <WholeProgramOptimization>true</WholeProgramOptimization> |
38 | <PlatformToolset>v110</PlatformToolset> | 38 | <PlatformToolset>v110</PlatformToolset> |
39 | </PropertyGroup> | 39 | </PropertyGroup> |
40 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | 40 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
41 | <ConfigurationType>Application</ConfigurationType> | 41 | <ConfigurationType>Application</ConfigurationType> |
42 | <CharacterSet>Unicode</CharacterSet> | 42 | <CharacterSet>Unicode</CharacterSet> |
43 | <PlatformToolset>v110</PlatformToolset> | 43 | <PlatformToolset>v110</PlatformToolset> |
44 | </PropertyGroup> | 44 | </PropertyGroup> |
45 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | 45 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
46 | <ConfigurationType>Application</ConfigurationType> | 46 | <ConfigurationType>Application</ConfigurationType> |
47 | <CharacterSet>Unicode</CharacterSet> | 47 | <CharacterSet>Unicode</CharacterSet> |
48 | <PlatformToolset>v110</PlatformToolset> | 48 | <PlatformToolset>v110</PlatformToolset> |
49 | </PropertyGroup> | 49 | </PropertyGroup> |
50 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 50 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
51 | <ImportGroup Label="ExtensionSettings"> | 51 | <ImportGroup Label="ExtensionSettings"> |
52 | </ImportGroup> | 52 | </ImportGroup> |
53 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | 53 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> |
54 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 54 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
55 | </ImportGroup> | 55 | </ImportGroup> |
56 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> | 56 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> |
57 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 57 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
58 | </ImportGroup> | 58 | </ImportGroup> |
59 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | 59 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> |
60 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 60 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
61 | </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 | </ImportGroup> | 64 | </ImportGroup> |
65 | <PropertyGroup Label="UserMacros" /> | 65 | <PropertyGroup Label="UserMacros" /> |
66 | <PropertyGroup> | 66 | <PropertyGroup> |
67 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> | 67 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
68 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 68 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
69 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 69 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
70 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> | 70 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> |
71 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> | 71 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> |
72 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> | 72 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir> |
73 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> | 73 | <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir> |
74 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> | 74 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> |
75 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> | 75 | <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> |
76 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 76 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
77 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 77 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
78 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 78 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
79 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 79 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
80 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> | 80 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> |
81 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> | 81 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> |
82 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> | 82 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> |
83 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> | 83 | <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> |
84 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 84 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
85 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 85 | <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
86 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> | 86 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> |
87 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | 87 | <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> |
88 | </PropertyGroup> | 88 | </PropertyGroup> |
89 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | 89 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
90 | <ClCompile> | 90 | <ClCompile> |
91 | <Optimization>Disabled</Optimization> | 91 | <Optimization>Disabled</Optimization> |
92 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 92 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
93 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 93 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
94 | <MinimalRebuild>true</MinimalRebuild> | 94 | <MinimalRebuild>true</MinimalRebuild> |
95 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 95 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
96 | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | 96 | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> |
97 | <PrecompiledHeader> | 97 | <PrecompiledHeader> |
98 | </PrecompiledHeader> | 98 | </PrecompiledHeader> |
99 | <WarningLevel>Level3</WarningLevel> | 99 | <WarningLevel>Level3</WarningLevel> |
100 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | 100 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> |
101 | </ClCompile> | 101 | </ClCompile> |
102 | <Link> | 102 | <Link> |
103 | <OutputFile>..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> | 103 | <OutputFile>..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> |
104 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 104 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
105 | <GenerateDebugInformation>true</GenerateDebugInformation> | 105 | <GenerateDebugInformation>true</GenerateDebugInformation> |
106 | <SubSystem>Console</SubSystem> | 106 | <SubSystem>Console</SubSystem> |
107 | <DataExecutionPrevention> | 107 | <DataExecutionPrevention> |
108 | </DataExecutionPrevention> | 108 | </DataExecutionPrevention> |
109 | </Link> | 109 | </Link> |
110 | </ItemDefinitionGroup> | 110 | </ItemDefinitionGroup> |
111 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | 111 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
112 | <ClCompile> | 112 | <ClCompile> |
113 | <Optimization>Disabled</Optimization> | 113 | <Optimization>Disabled</Optimization> |
114 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 114 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
115 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 115 | <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
116 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | 116 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
117 | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | 117 | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> |
118 | <PrecompiledHeader> | 118 | <PrecompiledHeader> |
119 | </PrecompiledHeader> | 119 | </PrecompiledHeader> |
120 | <WarningLevel>Level3</WarningLevel> | 120 | <WarningLevel>Level3</WarningLevel> |
121 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | 121 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
122 | </ClCompile> | 122 | </ClCompile> |
123 | <Link> | 123 | <Link> |
124 | <OutputFile>..\..\bin\Win64-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> | 124 | <OutputFile>..\..\bin\Win64-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> |
125 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 125 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
126 | <GenerateDebugInformation>true</GenerateDebugInformation> | 126 | <GenerateDebugInformation>true</GenerateDebugInformation> |
127 | <SubSystem>Console</SubSystem> | 127 | <SubSystem>Console</SubSystem> |
128 | <DataExecutionPrevention> | 128 | <DataExecutionPrevention> |
129 | </DataExecutionPrevention> | 129 | </DataExecutionPrevention> |
130 | </Link> | 130 | </Link> |
131 | </ItemDefinitionGroup> | 131 | </ItemDefinitionGroup> |
132 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | 132 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
133 | <ClCompile> | 133 | <ClCompile> |
134 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 134 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
135 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 135 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
136 | <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | 136 | <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> |
137 | <PrecompiledHeader> | 137 | <PrecompiledHeader> |
138 | </PrecompiledHeader> | 138 | </PrecompiledHeader> |
139 | <WarningLevel>Level3</WarningLevel> | 139 | <WarningLevel>Level3</WarningLevel> |
140 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | 140 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
141 | </ClCompile> | 141 | </ClCompile> |
142 | <Link> | 142 | <Link> |
143 | <OutputFile>..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> | 143 | <OutputFile>..\..\bin\Win32-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> |
144 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 144 | <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
145 | <GenerateDebugInformation>false</GenerateDebugInformation> | 145 | <GenerateDebugInformation>false</GenerateDebugInformation> |
146 | <SubSystem>Console</SubSystem> | 146 | <SubSystem>Console</SubSystem> |
147 | <OptimizeReferences>true</OptimizeReferences> | 147 | <OptimizeReferences>true</OptimizeReferences> |
148 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | 148 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
149 | <DataExecutionPrevention> | 149 | <DataExecutionPrevention> |
150 | </DataExecutionPrevention> | 150 | </DataExecutionPrevention> |
151 | </Link> | 151 | </Link> |
152 | </ItemDefinitionGroup> | 152 | </ItemDefinitionGroup> |
153 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | 153 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
154 | <ClCompile> | 154 | <ClCompile> |
155 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 155 | <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
156 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 156 | <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
157 | <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | 157 | <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> |
158 | <PrecompiledHeader> | 158 | <PrecompiledHeader> |
159 | </PrecompiledHeader> | 159 | </PrecompiledHeader> |
160 | <WarningLevel>Level3</WarningLevel> | 160 | <WarningLevel>Level3</WarningLevel> |
161 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | 161 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> |
162 | </ClCompile> | 162 | </ClCompile> |
163 | <Link> | 163 | <Link> |
164 | <OutputFile>..\..\bin\Win64-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> | 164 | <OutputFile>..\..\bin\Win64-VisualStudio\17.HelloWorld_Mobile.exe</OutputFile> |
165 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | 165 | <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> |
166 | <GenerateDebugInformation>false</GenerateDebugInformation> | 166 | <GenerateDebugInformation>false</GenerateDebugInformation> |
167 | <SubSystem>Console</SubSystem> | 167 | <SubSystem>Console</SubSystem> |
168 | <OptimizeReferences>true</OptimizeReferences> | 168 | <OptimizeReferences>true</OptimizeReferences> |
169 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | 169 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
170 | <DataExecutionPrevention> | 170 | <DataExecutionPrevention> |
171 | </DataExecutionPrevention> | 171 | </DataExecutionPrevention> |
172 | </Link> | 172 | </Link> |
173 | </ItemDefinitionGroup> | 173 | </ItemDefinitionGroup> |
174 | <ItemGroup> | 174 | <ItemGroup> |
175 | <ClCompile Include="main.cpp" /> | 175 | <ClCompile Include="main.cpp" /> |
176 | </ItemGroup> | 176 | </ItemGroup> |
177 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 177 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
178 | <ImportGroup Label="ExtensionTargets"> | 178 | <ImportGroup Label="ExtensionTargets"> |
179 | </ImportGroup> | 179 | </ImportGroup> |
180 | </Project> \ No newline at end of file | 180 | </Project> \ No newline at end of file |
diff --git a/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/HelloWorld_mobile.sln b/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/HelloWorld_mobile.sln index 31932b7..5bebc5c 100644 --- a/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/HelloWorld_mobile.sln +++ b/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/HelloWorld_mobile.sln | |||
@@ -1,33 +1,33 @@ | |||
1 |  | 1 |  |
2 | Microsoft Visual Studio Solution File, Format Version 9.00 | 2 | Microsoft Visual Studio Solution File, Format Version 9.00 |
3 | # Visual Studio 2005 | 3 | # Visual Studio 2005 |
4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "17.HelloWorld_mobile", "HelloWorld_mobile.vcproj", "{AD95D5D7-91D2-4030-B28D-23A6FE5C0359}" | 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "17.HelloWorld_mobile", "HelloWorld_mobile.vcproj", "{AD95D5D7-91D2-4030-B28D-23A6FE5C0359}" |
5 | ProjectSection(ProjectDependencies) = postProject | 5 | ProjectSection(ProjectDependencies) = postProject |
6 | {E08E042A-6C45-411B-92BE-3CC31331019F} = {E08E042A-6C45-411B-92BE-3CC31331019F} | 6 | {E08E042A-6C45-411B-92BE-3CC31331019F} = {E08E042A-6C45-411B-92BE-3CC31331019F} |
7 | EndProjectSection | 7 | EndProjectSection |
8 | EndProject | 8 | EndProject |
9 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Irrlicht", "..\..\source\Irrlicht\Irrlicht_mobile6.vcproj", "{E08E042A-6C45-411B-92BE-3CC31331019F}" | 9 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Irrlicht", "..\..\source\Irrlicht\Irrlicht_mobile6.vcproj", "{E08E042A-6C45-411B-92BE-3CC31331019F}" |
10 | EndProject | 10 | EndProject |
11 | Global | 11 | Global |
12 | GlobalSection(SolutionConfigurationPlatforms) = preSolution | 12 | GlobalSection(SolutionConfigurationPlatforms) = preSolution |
13 | Debug|Windows Mobile 6 Professional SDK (ARMV4I) = Debug|Windows Mobile 6 Professional SDK (ARMV4I) | 13 | Debug|Windows Mobile 6 Professional SDK (ARMV4I) = Debug|Windows Mobile 6 Professional SDK (ARMV4I) |
14 | Release|Windows Mobile 6 Professional SDK (ARMV4I) = Release|Windows Mobile 6 Professional SDK (ARMV4I) | 14 | Release|Windows Mobile 6 Professional SDK (ARMV4I) = Release|Windows Mobile 6 Professional SDK (ARMV4I) |
15 | EndGlobalSection | 15 | EndGlobalSection |
16 | GlobalSection(ProjectConfigurationPlatforms) = postSolution | 16 | GlobalSection(ProjectConfigurationPlatforms) = postSolution |
17 | {AD95D5D7-91D2-4030-B28D-23A6FE5C0359}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) | 17 | {AD95D5D7-91D2-4030-B28D-23A6FE5C0359}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) |
18 | {AD95D5D7-91D2-4030-B28D-23A6FE5C0359}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) | 18 | {AD95D5D7-91D2-4030-B28D-23A6FE5C0359}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) |
19 | {AD95D5D7-91D2-4030-B28D-23A6FE5C0359}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) | 19 | {AD95D5D7-91D2-4030-B28D-23A6FE5C0359}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) |
20 | {AD95D5D7-91D2-4030-B28D-23A6FE5C0359}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) | 20 | {AD95D5D7-91D2-4030-B28D-23A6FE5C0359}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) |
21 | {AD95D5D7-91D2-4030-B28D-23A6FE5C0359}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) | 21 | {AD95D5D7-91D2-4030-B28D-23A6FE5C0359}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) |
22 | {AD95D5D7-91D2-4030-B28D-23A6FE5C0359}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) | 22 | {AD95D5D7-91D2-4030-B28D-23A6FE5C0359}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) |
23 | {E08E042A-6C45-411B-92BE-3CC31331019F}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) | 23 | {E08E042A-6C45-411B-92BE-3CC31331019F}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I) |
24 | {E08E042A-6C45-411B-92BE-3CC31331019F}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) | 24 | {E08E042A-6C45-411B-92BE-3CC31331019F}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) |
25 | {E08E042A-6C45-411B-92BE-3CC31331019F}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) | 25 | {E08E042A-6C45-411B-92BE-3CC31331019F}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I) |
26 | {E08E042A-6C45-411B-92BE-3CC31331019F}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) | 26 | {E08E042A-6C45-411B-92BE-3CC31331019F}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I) |
27 | {E08E042A-6C45-411B-92BE-3CC31331019F}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) | 27 | {E08E042A-6C45-411B-92BE-3CC31331019F}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) |
28 | {E08E042A-6C45-411B-92BE-3CC31331019F}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) | 28 | {E08E042A-6C45-411B-92BE-3CC31331019F}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I) |
29 | EndGlobalSection | 29 | EndGlobalSection |
30 | GlobalSection(SolutionProperties) = preSolution | 30 | GlobalSection(SolutionProperties) = preSolution |
31 | HideSolutionNode = FALSE | 31 | HideSolutionNode = FALSE |
32 | EndGlobalSection | 32 | EndGlobalSection |
33 | EndGlobal | 33 | EndGlobal |
diff --git a/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/HelloWorld_mobile.vcproj b/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/HelloWorld_mobile.vcproj index dcaca9e..a303fd3 100644 --- a/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/HelloWorld_mobile.vcproj +++ b/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/HelloWorld_mobile.vcproj | |||
@@ -1,198 +1,198 @@ | |||
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="17.HelloWorld_mobile" | 5 | Name="17.HelloWorld_mobile" |
6 | ProjectGUID="{AD95D5D7-91D2-4030-B28D-23A6FE5C0359}" | 6 | ProjectGUID="{AD95D5D7-91D2-4030-B28D-23A6FE5C0359}" |
7 | RootNamespace="17.HelloWorld_mobile" | 7 | RootNamespace="17.HelloWorld_mobile" |
8 | Keyword="Win32Proj" | 8 | Keyword="Win32Proj" |
9 | > | 9 | > |
10 | <Platforms> | 10 | <Platforms> |
11 | <Platform | 11 | <Platform |
12 | Name="Windows Mobile 6 Professional SDK (ARMV4I)" | 12 | Name="Windows Mobile 6 Professional SDK (ARMV4I)" |
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|Windows Mobile 6 Professional SDK (ARMV4I)" | 19 | Name="Debug|Windows Mobile 6 Professional SDK (ARMV4I)" |
20 | OutputDirectory="..\..\bin\WinCE-visualstudio\" | 20 | OutputDirectory="..\..\bin\WinCE-visualstudio\" |
21 | IntermediateDirectory="$(PlatformName)\$(ConfigurationName)" | 21 | IntermediateDirectory="$(PlatformName)\$(ConfigurationName)" |
22 | ConfigurationType="1" | 22 | ConfigurationType="1" |
23 | CharacterSet="1" | 23 | CharacterSet="1" |
24 | > | 24 | > |
25 | <Tool | 25 | <Tool |
26 | Name="VCPreBuildEventTool" | 26 | Name="VCPreBuildEventTool" |
27 | /> | 27 | /> |
28 | <Tool | 28 | <Tool |
29 | Name="VCCustomBuildTool" | 29 | Name="VCCustomBuildTool" |
30 | /> | 30 | /> |
31 | <Tool | 31 | <Tool |
32 | Name="VCXMLDataGeneratorTool" | 32 | Name="VCXMLDataGeneratorTool" |
33 | /> | 33 | /> |
34 | <Tool | 34 | <Tool |
35 | Name="VCWebServiceProxyGeneratorTool" | 35 | Name="VCWebServiceProxyGeneratorTool" |
36 | /> | 36 | /> |
37 | <Tool | 37 | <Tool |
38 | Name="VCMIDLTool" | 38 | Name="VCMIDLTool" |
39 | /> | 39 | /> |
40 | <Tool | 40 | <Tool |
41 | Name="VCCLCompilerTool" | 41 | Name="VCCLCompilerTool" |
42 | ExecutionBucket="7" | 42 | ExecutionBucket="7" |
43 | Optimization="0" | 43 | Optimization="0" |
44 | AdditionalIncludeDirectories="..\..\include" | 44 | AdditionalIncludeDirectories="..\..\include" |
45 | PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;DEBUG;_WINDOWS;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE" | 45 | PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;DEBUG;_WINDOWS;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE" |
46 | MinimalRebuild="true" | 46 | MinimalRebuild="true" |
47 | RuntimeLibrary="1" | 47 | RuntimeLibrary="1" |
48 | UsePrecompiledHeader="0" | 48 | UsePrecompiledHeader="0" |
49 | WarningLevel="3" | 49 | WarningLevel="3" |
50 | DebugInformationFormat="3" | 50 | DebugInformationFormat="3" |
51 | EnableFloatingPointEmulation="true" | 51 | EnableFloatingPointEmulation="true" |
52 | /> | 52 | /> |
53 | <Tool | 53 | <Tool |
54 | Name="VCManagedResourceCompilerTool" | 54 | Name="VCManagedResourceCompilerTool" |
55 | /> | 55 | /> |
56 | <Tool | 56 | <Tool |
57 | Name="VCResourceCompilerTool" | 57 | Name="VCResourceCompilerTool" |
58 | PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES)" | 58 | PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES)" |
59 | Culture="1033" | 59 | Culture="1033" |
60 | AdditionalIncludeDirectories="$(IntDir)" | 60 | AdditionalIncludeDirectories="$(IntDir)" |
61 | /> | 61 | /> |
62 | <Tool | 62 | <Tool |
63 | Name="VCPreLinkEventTool" | 63 | Name="VCPreLinkEventTool" |
64 | /> | 64 | /> |
65 | <Tool | 65 | <Tool |
66 | Name="VCLinkerTool" | 66 | Name="VCLinkerTool" |
67 | AdditionalOptions=" /subsystem:windowsce,5.02" | 67 | AdditionalOptions=" /subsystem:windowsce,5.02" |
68 | OutputFile="$(OutDir)\17.HelloWorld_mobile.exe" | 68 | OutputFile="$(OutDir)\17.HelloWorld_mobile.exe" |
69 | LinkIncremental="2" | 69 | LinkIncremental="2" |
70 | AdditionalLibraryDirectories="..\..\lib\WinCE-visualstudio\" | 70 | AdditionalLibraryDirectories="..\..\lib\WinCE-visualstudio\" |
71 | DelayLoadDLLs="$(NOINHERIT)" | 71 | DelayLoadDLLs="$(NOINHERIT)" |
72 | GenerateDebugInformation="true" | 72 | GenerateDebugInformation="true" |
73 | ProgramDatabaseFile="$(OutDir)/HelloWorld_mobile.pdb" | 73 | ProgramDatabaseFile="$(OutDir)/HelloWorld_mobile.pdb" |
74 | SubSystem="0" | 74 | SubSystem="0" |
75 | StackReserveSize="65536" | 75 | StackReserveSize="65536" |
76 | StackCommitSize="4096" | 76 | StackCommitSize="4096" |
77 | /> | 77 | /> |
78 | <Tool | 78 | <Tool |
79 | Name="VCALinkTool" | 79 | Name="VCALinkTool" |
80 | /> | 80 | /> |
81 | <Tool | 81 | <Tool |
82 | Name="VCXDCMakeTool" | 82 | Name="VCXDCMakeTool" |
83 | /> | 83 | /> |
84 | <Tool | 84 | <Tool |
85 | Name="VCBscMakeTool" | 85 | Name="VCBscMakeTool" |
86 | /> | 86 | /> |
87 | <Tool | 87 | <Tool |
88 | Name="VCCodeSignTool" | 88 | Name="VCCodeSignTool" |
89 | /> | 89 | /> |
90 | <Tool | 90 | <Tool |
91 | Name="VCPostBuildEventTool" | 91 | Name="VCPostBuildEventTool" |
92 | /> | 92 | /> |
93 | <DeploymentTool | 93 | <DeploymentTool |
94 | ForceDirty="-1" | 94 | ForceDirty="-1" |
95 | RemoteDirectory="%CSIDL_PROGRAM_FILES%\irrlicht\bin\wince-visualstudio" | 95 | RemoteDirectory="%CSIDL_PROGRAM_FILES%\irrlicht\bin\wince-visualstudio" |
96 | RegisterOutput="0" | 96 | RegisterOutput="0" |
97 | AdditionalFiles="sydney.md2|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;sydney.bmp|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;ninja.b3d|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;nskinbl.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlichtlogo3.png|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;terrain-heightmap.bmp|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;terrain-texture.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;detailmap3.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_up.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_dn.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_lf.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_rt.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_ft.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_bk.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;skydome.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht.dll|$(InputDir)$(OutDir)|%CSIDL_PROGRAM_FILES%\irrlicht\bin\wince-visualstudio|0" | 97 | AdditionalFiles="sydney.md2|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;sydney.bmp|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;ninja.b3d|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;nskinbl.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlichtlogo3.png|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;terrain-heightmap.bmp|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;terrain-texture.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;detailmap3.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_up.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_dn.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_lf.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_rt.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_ft.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_bk.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;skydome.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht.dll|$(InputDir)$(OutDir)|%CSIDL_PROGRAM_FILES%\irrlicht\bin\wince-visualstudio|0" |
98 | /> | 98 | /> |
99 | <DebuggerTool | 99 | <DebuggerTool |
100 | /> | 100 | /> |
101 | </Configuration> | 101 | </Configuration> |
102 | <Configuration | 102 | <Configuration |
103 | Name="Release|Windows Mobile 6 Professional SDK (ARMV4I)" | 103 | Name="Release|Windows Mobile 6 Professional SDK (ARMV4I)" |
104 | OutputDirectory="..\..\bin\WinCE-visualstudio\" | 104 | OutputDirectory="..\..\bin\WinCE-visualstudio\" |
105 | IntermediateDirectory="$(PlatformName)\$(ConfigurationName)" | 105 | IntermediateDirectory="$(PlatformName)\$(ConfigurationName)" |
106 | ConfigurationType="1" | 106 | ConfigurationType="1" |
107 | CharacterSet="1" | 107 | CharacterSet="1" |
108 | > | 108 | > |
109 | <Tool | 109 | <Tool |
110 | Name="VCPreBuildEventTool" | 110 | Name="VCPreBuildEventTool" |
111 | /> | 111 | /> |
112 | <Tool | 112 | <Tool |
113 | Name="VCCustomBuildTool" | 113 | Name="VCCustomBuildTool" |
114 | /> | 114 | /> |
115 | <Tool | 115 | <Tool |
116 | Name="VCXMLDataGeneratorTool" | 116 | Name="VCXMLDataGeneratorTool" |
117 | /> | 117 | /> |
118 | <Tool | 118 | <Tool |
119 | Name="VCWebServiceProxyGeneratorTool" | 119 | Name="VCWebServiceProxyGeneratorTool" |
120 | /> | 120 | /> |
121 | <Tool | 121 | <Tool |
122 | Name="VCMIDLTool" | 122 | Name="VCMIDLTool" |
123 | /> | 123 | /> |
124 | <Tool | 124 | <Tool |
125 | Name="VCCLCompilerTool" | 125 | Name="VCCLCompilerTool" |
126 | ExecutionBucket="7" | 126 | ExecutionBucket="7" |
127 | Optimization="2" | 127 | Optimization="2" |
128 | AdditionalIncludeDirectories="..\..\include" | 128 | AdditionalIncludeDirectories="..\..\include" |
129 | PreprocessorDefinitions="NDEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;_WINDOWS;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE" | 129 | PreprocessorDefinitions="NDEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;_WINDOWS;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE" |
130 | RuntimeLibrary="0" | 130 | RuntimeLibrary="0" |
131 | UsePrecompiledHeader="0" | 131 | UsePrecompiledHeader="0" |
132 | WarningLevel="3" | 132 | WarningLevel="3" |
133 | DebugInformationFormat="0" | 133 | DebugInformationFormat="0" |
134 | EnableFloatingPointEmulation="true" | 134 | EnableFloatingPointEmulation="true" |
135 | /> | 135 | /> |
136 | <Tool | 136 | <Tool |
137 | Name="VCManagedResourceCompilerTool" | 137 | Name="VCManagedResourceCompilerTool" |
138 | /> | 138 | /> |
139 | <Tool | 139 | <Tool |
140 | Name="VCResourceCompilerTool" | 140 | Name="VCResourceCompilerTool" |
141 | PreprocessorDefinitions="NDEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES)" | 141 | PreprocessorDefinitions="NDEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES)" |
142 | Culture="1033" | 142 | Culture="1033" |
143 | AdditionalIncludeDirectories="$(IntDir)" | 143 | AdditionalIncludeDirectories="$(IntDir)" |
144 | /> | 144 | /> |
145 | <Tool | 145 | <Tool |
146 | Name="VCPreLinkEventTool" | 146 | Name="VCPreLinkEventTool" |
147 | /> | 147 | /> |
148 | <Tool | 148 | <Tool |
149 | Name="VCLinkerTool" | 149 | Name="VCLinkerTool" |
150 | AdditionalOptions=" /subsystem:windowsce,5.02" | 150 | AdditionalOptions=" /subsystem:windowsce,5.02" |
151 | OutputFile="$(OutDir)\17.HelloWorld_mobile.exe" | 151 | OutputFile="$(OutDir)\17.HelloWorld_mobile.exe" |
152 | LinkIncremental="0" | 152 | LinkIncremental="0" |
153 | AdditionalLibraryDirectories="..\..\lib\WinCE-visualstudio\" | 153 | AdditionalLibraryDirectories="..\..\lib\WinCE-visualstudio\" |
154 | DelayLoadDLLs="$(NOINHERIT)" | 154 | DelayLoadDLLs="$(NOINHERIT)" |
155 | GenerateDebugInformation="true" | 155 | GenerateDebugInformation="true" |
156 | ProgramDatabaseFile="$(OutDir)/HelloWorld_mobile.pdb" | 156 | ProgramDatabaseFile="$(OutDir)/HelloWorld_mobile.pdb" |
157 | SubSystem="0" | 157 | SubSystem="0" |
158 | StackReserveSize="65536" | 158 | StackReserveSize="65536" |
159 | StackCommitSize="4096" | 159 | StackCommitSize="4096" |
160 | OptimizeReferences="2" | 160 | OptimizeReferences="2" |
161 | EnableCOMDATFolding="2" | 161 | EnableCOMDATFolding="2" |
162 | /> | 162 | /> |
163 | <Tool | 163 | <Tool |
164 | Name="VCALinkTool" | 164 | Name="VCALinkTool" |
165 | /> | 165 | /> |
166 | <Tool | 166 | <Tool |
167 | Name="VCXDCMakeTool" | 167 | Name="VCXDCMakeTool" |
168 | /> | 168 | /> |
169 | <Tool | 169 | <Tool |
170 | Name="VCBscMakeTool" | 170 | Name="VCBscMakeTool" |
171 | /> | 171 | /> |
172 | <Tool | 172 | <Tool |
173 | Name="VCCodeSignTool" | 173 | Name="VCCodeSignTool" |
174 | /> | 174 | /> |
175 | <Tool | 175 | <Tool |
176 | Name="VCPostBuildEventTool" | 176 | Name="VCPostBuildEventTool" |
177 | /> | 177 | /> |
178 | <DeploymentTool | 178 | <DeploymentTool |
179 | ForceDirty="-1" | 179 | ForceDirty="-1" |
180 | RemoteDirectory="%CSIDL_PROGRAM_FILES%\irrlicht\bin\wince-visualstudio" | 180 | RemoteDirectory="%CSIDL_PROGRAM_FILES%\irrlicht\bin\wince-visualstudio" |
181 | RegisterOutput="0" | 181 | RegisterOutput="0" |
182 | AdditionalFiles="sydney.md2|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;sydney.bmp|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;ninja.b3d|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;nskinbl.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlichtlogo3.png|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;terrain-heightmap.bmp|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;terrain-texture.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;detailmap3.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_up.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_dn.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_lf.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_rt.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_ft.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_bk.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;skydome.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht.dll|$(InputDir)$(OutDir)|%CSIDL_PROGRAM_FILES%\irrlicht\bin\wince-visualstudio|0" | 182 | AdditionalFiles="sydney.md2|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;sydney.bmp|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;ninja.b3d|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;nskinbl.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlichtlogo3.png|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;terrain-heightmap.bmp|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;terrain-texture.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;detailmap3.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_up.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_dn.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_lf.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_rt.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_ft.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht2_bk.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;skydome.jpg|$(InputDir)..\..\media|%CSIDL_PROGRAM_FILES%\irrlicht\media|0;irrlicht.dll|$(InputDir)$(OutDir)|%CSIDL_PROGRAM_FILES%\irrlicht\bin\wince-visualstudio|0" |
183 | /> | 183 | /> |
184 | <DebuggerTool | 184 | <DebuggerTool |
185 | /> | 185 | /> |
186 | </Configuration> | 186 | </Configuration> |
187 | </Configurations> | 187 | </Configurations> |
188 | <References> | 188 | <References> |
189 | </References> | 189 | </References> |
190 | <Files> | 190 | <Files> |
191 | <File | 191 | <File |
192 | RelativePath=".\main.cpp" | 192 | RelativePath=".\main.cpp" |
193 | > | 193 | > |
194 | </File> | 194 | </File> |
195 | </Files> | 195 | </Files> |
196 | <Globals> | 196 | <Globals> |
197 | </Globals> | 197 | </Globals> |
198 | </VisualStudioProject> | 198 | </VisualStudioProject> |
diff --git a/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/main.cpp b/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/main.cpp index 4fc15cd..0c7840d 100644 --- a/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/main.cpp +++ b/libraries/irrlicht-1.8/examples/17.HelloWorld_Mobile/main.cpp | |||
@@ -1,503 +1,503 @@ | |||
1 | /** Example 017 Helloworld mobile | 1 | /** Example 017 Helloworld mobile |
2 | This example show Hello World for Windows mobile. | 2 | This example show Hello World for Windows mobile. |
3 | It compiles on other platform too. The only differences between the original | 3 | It compiles on other platform too. The only differences between the original |
4 | examples are. You need a GUI, because otherwise you can't quit the application. | 4 | examples are. You need a GUI, because otherwise you can't quit the application. |
5 | You need a Filesystem, which is relative based to your executable. | 5 | You need a Filesystem, which is relative based to your executable. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include <irrlicht.h> | 8 | #include <irrlicht.h> |
9 | 9 | ||
10 | #if defined ( _IRR_WINDOWS_ ) | 10 | #if defined ( _IRR_WINDOWS_ ) |
11 | #include <windows.h> | 11 | #include <windows.h> |
12 | #endif | 12 | #endif |
13 | 13 | ||
14 | using namespace irr; | 14 | using namespace irr; |
15 | using namespace core; | 15 | using namespace core; |
16 | using namespace scene; | 16 | using namespace scene; |
17 | using namespace video; | 17 | using namespace video; |
18 | using namespace io; | 18 | using namespace io; |
19 | using namespace gui; | 19 | using namespace gui; |
20 | 20 | ||
21 | #pragma comment(lib, "Irrlicht.lib") | 21 | #pragma comment(lib, "Irrlicht.lib") |
22 | 22 | ||
23 | class EventReceiver_basic : public IEventReceiver | 23 | class EventReceiver_basic : public IEventReceiver |
24 | { | 24 | { |
25 | private: | 25 | private: |
26 | IrrlichtDevice *Device; | 26 | IrrlichtDevice *Device; |
27 | public: | 27 | public: |
28 | EventReceiver_basic ( IrrlichtDevice *device ): Device ( device ) {} | 28 | EventReceiver_basic ( IrrlichtDevice *device ): Device ( device ) {} |
29 | 29 | ||
30 | virtual bool OnEvent(const SEvent& event) | 30 | virtual bool OnEvent(const SEvent& event) |
31 | { | 31 | { |
32 | if (event.EventType == EET_GUI_EVENT) | 32 | if (event.EventType == EET_GUI_EVENT) |
33 | { | 33 | { |
34 | s32 id = event.GUIEvent.Caller->getID(); | 34 | s32 id = event.GUIEvent.Caller->getID(); |
35 | 35 | ||
36 | switch(event.GUIEvent.EventType) | 36 | switch(event.GUIEvent.EventType) |
37 | { | 37 | { |
38 | case EGET_BUTTON_CLICKED: | 38 | case EGET_BUTTON_CLICKED: |
39 | if (id == 2) | 39 | if (id == 2) |
40 | { | 40 | { |
41 | Device->closeDevice(); | 41 | Device->closeDevice(); |
42 | return true; | 42 | return true; |
43 | } break; | 43 | } break; |
44 | } | 44 | } |
45 | } | 45 | } |
46 | 46 | ||
47 | return false; | 47 | return false; |
48 | } | 48 | } |
49 | }; | 49 | }; |
50 | 50 | ||
51 | class CSampleSceneNode : public ISceneNode | 51 | class CSampleSceneNode : public ISceneNode |
52 | { | 52 | { |
53 | aabbox3d<f32> Box; | 53 | aabbox3d<f32> Box; |
54 | S3DVertex Vertices[4]; | 54 | S3DVertex Vertices[4]; |
55 | SMaterial Material; | 55 | SMaterial Material; |
56 | public: | 56 | public: |
57 | 57 | ||
58 | CSampleSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id) | 58 | CSampleSceneNode(ISceneNode* parent, ISceneManager* mgr, s32 id) |
59 | : ISceneNode(parent, mgr, id) | 59 | : ISceneNode(parent, mgr, id) |
60 | { | 60 | { |
61 | Material.Wireframe = false; | 61 | Material.Wireframe = false; |
62 | Material.Lighting = false; | 62 | Material.Lighting = false; |
63 | 63 | ||
64 | Vertices[0] = S3DVertex(0,0,10, 1,1,0, SColor(255,0,255,255), 0, 1); | 64 | Vertices[0] = S3DVertex(0,0,10, 1,1,0, SColor(255,0,255,255), 0, 1); |
65 | Vertices[1] = S3DVertex(10,0,-10, 1,0,0, SColor(255,255,0,255), 1, 1); | 65 | Vertices[1] = S3DVertex(10,0,-10, 1,0,0, SColor(255,255,0,255), 1, 1); |
66 | Vertices[2] = S3DVertex(0,20,0, 0,1,1, SColor(255,255,255,0), 1, 0); | 66 | Vertices[2] = S3DVertex(0,20,0, 0,1,1, SColor(255,255,255,0), 1, 0); |
67 | Vertices[3] = S3DVertex(-10,0,-10, 0,0,1, SColor(255,0,255,0), 0, 0); | 67 | Vertices[3] = S3DVertex(-10,0,-10, 0,0,1, SColor(255,0,255,0), 0, 0); |
68 | Box.reset(Vertices[0].Pos); | 68 | Box.reset(Vertices[0].Pos); |
69 | for (s32 i=1; i<4; ++i) | 69 | for (s32 i=1; i<4; ++i) |
70 | Box.addInternalPoint(Vertices[i].Pos); | 70 | Box.addInternalPoint(Vertices[i].Pos); |
71 | } | 71 | } |
72 | virtual void OnRegisterSceneNode() | 72 | virtual void OnRegisterSceneNode() |
73 | { | 73 | { |
74 | if (IsVisible) | 74 | if (IsVisible) |
75 | SceneManager->registerNodeForRendering(this); | 75 | SceneManager->registerNodeForRendering(this); |
76 | 76 | ||
77 | ISceneNode::OnRegisterSceneNode(); | 77 | ISceneNode::OnRegisterSceneNode(); |
78 | } | 78 | } |
79 | 79 | ||
80 | virtual void render() | 80 | virtual void render() |
81 | { | 81 | { |
82 | u16 indices[] = { 0,2,3, 2,1,3, 1,0,3, 2,0,1 }; | 82 | u16 indices[] = { 0,2,3, 2,1,3, 1,0,3, 2,0,1 }; |
83 | IVideoDriver* driver = SceneManager->getVideoDriver(); | 83 | IVideoDriver* driver = SceneManager->getVideoDriver(); |
84 | 84 | ||
85 | driver->setMaterial(Material); | 85 | driver->setMaterial(Material); |
86 | driver->setTransform(ETS_WORLD, AbsoluteTransformation); | 86 | driver->setTransform(ETS_WORLD, AbsoluteTransformation); |
87 | driver->drawIndexedTriangleList(&Vertices[0], 4, &indices[0], 4); | 87 | driver->drawIndexedTriangleList(&Vertices[0], 4, &indices[0], 4); |
88 | } | 88 | } |
89 | 89 | ||
90 | virtual const aabbox3d<f32>& getBoundingBox() const | 90 | virtual const aabbox3d<f32>& getBoundingBox() const |
91 | { | 91 | { |
92 | return Box; | 92 | return Box; |
93 | } | 93 | } |
94 | 94 | ||
95 | virtual u32 getMaterialCount() | 95 | virtual u32 getMaterialCount() |
96 | { | 96 | { |
97 | return 1; | 97 | return 1; |
98 | } | 98 | } |
99 | 99 | ||
100 | virtual SMaterial& getMaterial(u32 i) | 100 | virtual SMaterial& getMaterial(u32 i) |
101 | { | 101 | { |
102 | return Material; | 102 | return Material; |
103 | } | 103 | } |
104 | }; | 104 | }; |
105 | 105 | ||
106 | /*! | 106 | /*! |
107 | Startup a Windows Mobile Device | 107 | Startup a Windows Mobile Device |
108 | */ | 108 | */ |
109 | IrrlichtDevice *startup() | 109 | IrrlichtDevice *startup() |
110 | { | 110 | { |
111 | // both software and burnings video can be used | 111 | // both software and burnings video can be used |
112 | E_DRIVER_TYPE driverType = EDT_SOFTWARE; // EDT_BURNINGSVIDEO; | 112 | E_DRIVER_TYPE driverType = EDT_SOFTWARE; // EDT_BURNINGSVIDEO; |
113 | 113 | ||
114 | // create device | 114 | // create device |
115 | IrrlichtDevice *device = 0; | 115 | IrrlichtDevice *device = 0; |
116 | 116 | ||
117 | #if defined (_IRR_USE_WINDOWS_CE_DEVICE_) | 117 | #if defined (_IRR_USE_WINDOWS_CE_DEVICE_) |
118 | // set to standard mobile fullscreen 240x320 | 118 | // set to standard mobile fullscreen 240x320 |
119 | device = createDevice(driverType, dimension2d<u32>(240, 320), 16, true ); | 119 | device = createDevice(driverType, dimension2d<u32>(240, 320), 16, true ); |
120 | #else | 120 | #else |
121 | // on PC. use window mode | 121 | // on PC. use window mode |
122 | device = createDevice(driverType, dimension2d<u32>(240, 320), 16, false ); | 122 | device = createDevice(driverType, dimension2d<u32>(240, 320), 16, false ); |
123 | #endif | 123 | #endif |
124 | if ( 0 == device ) | 124 | if ( 0 == device ) |
125 | return 0; | 125 | return 0; |
126 | 126 | ||
127 | IVideoDriver* driver = device->getVideoDriver(); | 127 | IVideoDriver* driver = device->getVideoDriver(); |
128 | ISceneManager* smgr = device->getSceneManager(); | 128 | ISceneManager* smgr = device->getSceneManager(); |
129 | IGUIEnvironment* guienv = device->getGUIEnvironment(); | 129 | IGUIEnvironment* guienv = device->getGUIEnvironment(); |
130 | 130 | ||
131 | // set the filesystem relative to the executable | 131 | // set the filesystem relative to the executable |
132 | #if defined (_IRR_WINDOWS_) | 132 | #if defined (_IRR_WINDOWS_) |
133 | { | 133 | { |
134 | wchar_t buf[255]; | 134 | wchar_t buf[255]; |
135 | GetModuleFileNameW ( 0, buf, 255 ); | 135 | GetModuleFileNameW ( 0, buf, 255 ); |
136 | 136 | ||
137 | io::path base = buf; | 137 | io::path base = buf; |
138 | base = base.subString ( 0, base.findLast ( '\\' ) + 1 ); | 138 | base = base.subString ( 0, base.findLast ( '\\' ) + 1 ); |
139 | device->getFileSystem()->addFileArchive ( base ); | 139 | device->getFileSystem()->addFileArchive ( base ); |
140 | } | 140 | } |
141 | #endif | 141 | #endif |
142 | 142 | ||
143 | IGUIStaticText *text = guienv->addStaticText(L"FPS: 25", | 143 | IGUIStaticText *text = guienv->addStaticText(L"FPS: 25", |
144 | rect<s32>(140,15,200,30), false, false, 0, 100 ); | 144 | rect<s32>(140,15,200,30), false, false, 0, 100 ); |
145 | 145 | ||
146 | guienv->addButton(core::rect<int>(200,10,238,30), 0, 2, L"Quit"); | 146 | guienv->addButton(core::rect<int>(200,10,238,30), 0, 2, L"Quit"); |
147 | 147 | ||
148 | // add irrlicht logo | 148 | // add irrlicht logo |
149 | guienv->addImage(driver->getTexture("../../media/irrlichtlogo3.png"), | 149 | guienv->addImage(driver->getTexture("../../media/irrlichtlogo3.png"), |
150 | core::position2d<s32>(0,-2)); | 150 | core::position2d<s32>(0,-2)); |
151 | return device; | 151 | return device; |
152 | } | 152 | } |
153 | 153 | ||
154 | /*! | 154 | /*! |
155 | */ | 155 | */ |
156 | int run ( IrrlichtDevice *device ) | 156 | int run ( IrrlichtDevice *device ) |
157 | { | 157 | { |
158 | while(device->run()) | 158 | while(device->run()) |
159 | if (device->isWindowActive()) | 159 | if (device->isWindowActive()) |
160 | { | 160 | { |
161 | device->getVideoDriver()->beginScene(true, true, SColor(0,100,100,100)); | 161 | device->getVideoDriver()->beginScene(true, true, SColor(0,100,100,100)); |
162 | device->getSceneManager()->drawAll(); | 162 | device->getSceneManager()->drawAll(); |
163 | device->getGUIEnvironment()->drawAll(); | 163 | device->getGUIEnvironment()->drawAll(); |
164 | device->getVideoDriver()->endScene (); | 164 | device->getVideoDriver()->endScene (); |
165 | 165 | ||
166 | IGUIElement *stat = device->getGUIEnvironment()-> | 166 | IGUIElement *stat = device->getGUIEnvironment()-> |
167 | getRootGUIElement()->getElementFromId ( 100 ); | 167 | getRootGUIElement()->getElementFromId ( 100 ); |
168 | if ( stat ) | 168 | if ( stat ) |
169 | { | 169 | { |
170 | stringw str = L"FPS: "; | 170 | stringw str = L"FPS: "; |
171 | str += (s32)device->getVideoDriver()->getFPS(); | 171 | str += (s32)device->getVideoDriver()->getFPS(); |
172 | 172 | ||
173 | stat->setText ( str.c_str() ); | 173 | stat->setText ( str.c_str() ); |
174 | } | 174 | } |
175 | } | 175 | } |
176 | 176 | ||
177 | device->drop(); | 177 | device->drop(); |
178 | return 0; | 178 | return 0; |
179 | } | 179 | } |
180 | 180 | ||
181 | /*! | 181 | /*! |
182 | */ | 182 | */ |
183 | int example_customscenenode() | 183 | int example_customscenenode() |
184 | { | 184 | { |
185 | // create device | 185 | // create device |
186 | IrrlichtDevice *device = startup(); | 186 | IrrlichtDevice *device = startup(); |
187 | if (device == 0) | 187 | if (device == 0) |
188 | return 1; // could not create selected driver. | 188 | return 1; // could not create selected driver. |
189 | 189 | ||
190 | // create engine and camera | 190 | // create engine and camera |
191 | EventReceiver_basic receiver(device); | 191 | EventReceiver_basic receiver(device); |
192 | device->setEventReceiver(&receiver); | 192 | device->setEventReceiver(&receiver); |
193 | 193 | ||
194 | IVideoDriver* driver = device->getVideoDriver(); | 194 | IVideoDriver* driver = device->getVideoDriver(); |
195 | ISceneManager* smgr = device->getSceneManager(); | 195 | ISceneManager* smgr = device->getSceneManager(); |
196 | IGUIEnvironment* guienv = device->getGUIEnvironment(); | 196 | IGUIEnvironment* guienv = device->getGUIEnvironment(); |
197 | 197 | ||
198 | 198 | ||
199 | smgr->addCameraSceneNode(0, vector3df(0,-40,0), vector3df(0,0,0)); | 199 | smgr->addCameraSceneNode(0, vector3df(0,-40,0), vector3df(0,0,0)); |
200 | 200 | ||
201 | CSampleSceneNode *myNode = | 201 | CSampleSceneNode *myNode = |
202 | new CSampleSceneNode(smgr->getRootSceneNode(), smgr, 666); | 202 | new CSampleSceneNode(smgr->getRootSceneNode(), smgr, 666); |
203 | 203 | ||
204 | ISceneNodeAnimator* anim = | 204 | ISceneNodeAnimator* anim = |
205 | smgr->createRotationAnimator(vector3df(0.8f, 0, 0.8f)); | 205 | smgr->createRotationAnimator(vector3df(0.8f, 0, 0.8f)); |
206 | 206 | ||
207 | if(anim) | 207 | if(anim) |
208 | { | 208 | { |
209 | myNode->addAnimator(anim); | 209 | myNode->addAnimator(anim); |
210 | anim->drop(); | 210 | anim->drop(); |
211 | anim = 0; // As I shouldn't refer to it again, ensure that I can't | 211 | anim = 0; // As I shouldn't refer to it again, ensure that I can't |
212 | } | 212 | } |
213 | 213 | ||
214 | myNode->drop(); | 214 | myNode->drop(); |
215 | myNode = 0; // As I shouldn't refer to it again, ensure that I can't | 215 | myNode = 0; // As I shouldn't refer to it again, ensure that I can't |
216 | 216 | ||
217 | return run ( device ); | 217 | return run ( device ); |
218 | } | 218 | } |
219 | 219 | ||
220 | class EventReceiver_terrain : public IEventReceiver | 220 | class EventReceiver_terrain : public IEventReceiver |
221 | { | 221 | { |
222 | public: | 222 | public: |
223 | 223 | ||
224 | EventReceiver_terrain(IrrlichtDevice *device, scene::ISceneNode* terrain, scene::ISceneNode* skybox, scene::ISceneNode* skydome) : | 224 | EventReceiver_terrain(IrrlichtDevice *device, scene::ISceneNode* terrain, scene::ISceneNode* skybox, scene::ISceneNode* skydome) : |
225 | Device ( device ), Terrain(terrain), Skybox(skybox), Skydome(skydome), showBox(true) | 225 | Device ( device ), Terrain(terrain), Skybox(skybox), Skydome(skydome), showBox(true) |
226 | { | 226 | { |
227 | Skybox->setVisible(true); | 227 | Skybox->setVisible(true); |
228 | Skydome->setVisible(false); | 228 | Skydome->setVisible(false); |
229 | } | 229 | } |
230 | 230 | ||
231 | bool OnEvent(const SEvent& event) | 231 | bool OnEvent(const SEvent& event) |
232 | { | 232 | { |
233 | if (event.EventType == EET_GUI_EVENT) | 233 | if (event.EventType == EET_GUI_EVENT) |
234 | { | 234 | { |
235 | s32 id = event.GUIEvent.Caller->getID(); | 235 | s32 id = event.GUIEvent.Caller->getID(); |
236 | 236 | ||
237 | switch(event.GUIEvent.EventType) | 237 | switch(event.GUIEvent.EventType) |
238 | { | 238 | { |
239 | case EGET_BUTTON_CLICKED: | 239 | case EGET_BUTTON_CLICKED: |
240 | if (id == 2) | 240 | if (id == 2) |
241 | { | 241 | { |
242 | Device->closeDevice(); | 242 | Device->closeDevice(); |
243 | return true; | 243 | return true; |
244 | } break; | 244 | } break; |
245 | } | 245 | } |
246 | } | 246 | } |
247 | 247 | ||
248 | // check if user presses the key 'W' or 'D' | 248 | // check if user presses the key 'W' or 'D' |
249 | if (event.EventType == irr::EET_KEY_INPUT_EVENT && !event.KeyInput.PressedDown) | 249 | if (event.EventType == irr::EET_KEY_INPUT_EVENT && !event.KeyInput.PressedDown) |
250 | { | 250 | { |
251 | switch (event.KeyInput.Key) | 251 | switch (event.KeyInput.Key) |
252 | { | 252 | { |
253 | case irr::KEY_KEY_W: // switch wire frame mode | 253 | case irr::KEY_KEY_W: // switch wire frame mode |
254 | Terrain->setMaterialFlag(video::EMF_WIREFRAME, | 254 | Terrain->setMaterialFlag(video::EMF_WIREFRAME, |
255 | !Terrain->getMaterial(0).Wireframe); | 255 | !Terrain->getMaterial(0).Wireframe); |
256 | Terrain->setMaterialFlag(video::EMF_POINTCLOUD, false); | 256 | Terrain->setMaterialFlag(video::EMF_POINTCLOUD, false); |
257 | return true; | 257 | return true; |
258 | case irr::KEY_KEY_P: // switch wire frame mode | 258 | case irr::KEY_KEY_P: // switch wire frame mode |
259 | Terrain->setMaterialFlag(video::EMF_POINTCLOUD, | 259 | Terrain->setMaterialFlag(video::EMF_POINTCLOUD, |
260 | !Terrain->getMaterial(0).PointCloud); | 260 | !Terrain->getMaterial(0).PointCloud); |
261 | Terrain->setMaterialFlag(video::EMF_WIREFRAME, false); | 261 | Terrain->setMaterialFlag(video::EMF_WIREFRAME, false); |
262 | return true; | 262 | return true; |
263 | case irr::KEY_KEY_D: // toggle detail map | 263 | case irr::KEY_KEY_D: // toggle detail map |
264 | Terrain->setMaterialType( | 264 | Terrain->setMaterialType( |
265 | Terrain->getMaterial(0).MaterialType == video::EMT_SOLID ? | 265 | Terrain->getMaterial(0).MaterialType == video::EMT_SOLID ? |
266 | video::EMT_DETAIL_MAP : video::EMT_SOLID); | 266 | video::EMT_DETAIL_MAP : video::EMT_SOLID); |
267 | return true; | 267 | return true; |
268 | case irr::KEY_KEY_S: // toggle skies | 268 | case irr::KEY_KEY_S: // toggle skies |
269 | showBox=!showBox; | 269 | showBox=!showBox; |
270 | Skybox->setVisible(showBox); | 270 | Skybox->setVisible(showBox); |
271 | Skydome->setVisible(!showBox); | 271 | Skydome->setVisible(!showBox); |
272 | return true; | 272 | return true; |
273 | default: | 273 | default: |
274 | break; | 274 | break; |
275 | } | 275 | } |
276 | } | 276 | } |
277 | 277 | ||
278 | return false; | 278 | return false; |
279 | } | 279 | } |
280 | 280 | ||
281 | private: | 281 | private: |
282 | IrrlichtDevice *Device; | 282 | IrrlichtDevice *Device; |
283 | scene::ISceneNode* Terrain; | 283 | scene::ISceneNode* Terrain; |
284 | scene::ISceneNode* Skybox; | 284 | scene::ISceneNode* Skybox; |
285 | scene::ISceneNode* Skydome; | 285 | scene::ISceneNode* Skydome; |
286 | bool showBox; | 286 | bool showBox; |
287 | }; | 287 | }; |
288 | 288 | ||
289 | 289 | ||
290 | /* | 290 | /* |
291 | The start of the main function starts like in most other example. We ask the user | 291 | The start of the main function starts like in most other example. We ask the user |
292 | for the desired renderer and start it up. This time with the advanced parameter handling. | 292 | for the desired renderer and start it up. This time with the advanced parameter handling. |
293 | */ | 293 | */ |
294 | int example_terrain() | 294 | int example_terrain() |
295 | { | 295 | { |
296 | // create device | 296 | // create device |
297 | IrrlichtDevice *device = startup(); | 297 | IrrlichtDevice *device = startup(); |
298 | if (device == 0) | 298 | if (device == 0) |
299 | return 1; // could not create selected driver. | 299 | return 1; // could not create selected driver. |
300 | 300 | ||
301 | /* | 301 | /* |
302 | First, we add standard stuff to the scene: A nice irrlicht engine | 302 | First, we add standard stuff to the scene: A nice irrlicht engine |
303 | logo, a small help text, a user controlled camera, and we disable | 303 | logo, a small help text, a user controlled camera, and we disable |
304 | the mouse cursor. | 304 | the mouse cursor. |
305 | */ | 305 | */ |
306 | 306 | ||
307 | video::IVideoDriver* driver = device->getVideoDriver(); | 307 | video::IVideoDriver* driver = device->getVideoDriver(); |
308 | scene::ISceneManager* smgr = device->getSceneManager(); | 308 | scene::ISceneManager* smgr = device->getSceneManager(); |
309 | gui::IGUIEnvironment* env = device->getGUIEnvironment(); | 309 | gui::IGUIEnvironment* env = device->getGUIEnvironment(); |
310 | 310 | ||
311 | 311 | ||
312 | //set other font | 312 | //set other font |
313 | //env->getSkin()->setFont(env->getFont("../../media/fontlucida.png")); | 313 | //env->getSkin()->setFont(env->getFont("../../media/fontlucida.png")); |
314 | 314 | ||
315 | // add some help text | 315 | // add some help text |
316 | env->addStaticText( | 316 | env->addStaticText( |
317 | L"Press 'W' to change wireframe mode\nPress 'D' to toggle detail map\nPress 'S' to toggle skybox/skydome", | 317 | L"Press 'W' to change wireframe mode\nPress 'D' to toggle detail map\nPress 'S' to toggle skybox/skydome", |
318 | core::rect<s32>(5,250,235,320), true, true, 0, -1, true); | 318 | core::rect<s32>(5,250,235,320), true, true, 0, -1, true); |
319 | 319 | ||
320 | // add camera | 320 | // add camera |
321 | scene::ICameraSceneNode* camera = | 321 | scene::ICameraSceneNode* camera = |
322 | smgr->addCameraSceneNodeFPS(0,100.0f,1.2f); | 322 | smgr->addCameraSceneNodeFPS(0,100.0f,1.2f); |
323 | 323 | ||
324 | camera->setPosition(core::vector3df(2700*2,255*2,2600*2)); | 324 | camera->setPosition(core::vector3df(2700*2,255*2,2600*2)); |
325 | camera->setTarget(core::vector3df(2397*2,343*2,2700*2)); | 325 | camera->setTarget(core::vector3df(2397*2,343*2,2700*2)); |
326 | camera->setFarValue(42000.0f); | 326 | camera->setFarValue(42000.0f); |
327 | 327 | ||
328 | // disable mouse cursor | 328 | // disable mouse cursor |
329 | device->getCursorControl()->setVisible(false); | 329 | device->getCursorControl()->setVisible(false); |
330 | 330 | ||
331 | /* | 331 | /* |
332 | Here comes the terrain renderer scene node: We add it just like any | 332 | Here comes the terrain renderer scene node: We add it just like any |
333 | other scene node to the scene using | 333 | other scene node to the scene using |
334 | ISceneManager::addTerrainSceneNode(). The only parameter we use is a | 334 | ISceneManager::addTerrainSceneNode(). The only parameter we use is a |
335 | file name to the heightmap we use. A heightmap is simply a gray scale | 335 | file name to the heightmap we use. A heightmap is simply a gray scale |
336 | texture. The terrain renderer loads it and creates the 3D terrain from | 336 | texture. The terrain renderer loads it and creates the 3D terrain from |
337 | it. | 337 | it. |
338 | 338 | ||
339 | To make the terrain look more big, we change the scale factor of | 339 | To make the terrain look more big, we change the scale factor of |
340 | it to (40, 4.4, 40). Because we don't have any dynamic lights in the | 340 | it to (40, 4.4, 40). Because we don't have any dynamic lights in the |
341 | scene, we switch off the lighting, and we set the file | 341 | scene, we switch off the lighting, and we set the file |
342 | terrain-texture.jpg as texture for the terrain and detailmap3.jpg as | 342 | terrain-texture.jpg as texture for the terrain and detailmap3.jpg as |
343 | second texture, called detail map. At last, we set the scale values for | 343 | second texture, called detail map. At last, we set the scale values for |
344 | the texture: The first texture will be repeated only one time over the | 344 | the texture: The first texture will be repeated only one time over the |
345 | whole terrain, and the second one (detail map) 20 times. | 345 | whole terrain, and the second one (detail map) 20 times. |
346 | */ | 346 | */ |
347 | 347 | ||
348 | // add terrain scene node | 348 | // add terrain scene node |
349 | scene::ITerrainSceneNode* terrain = smgr->addTerrainSceneNode( | 349 | scene::ITerrainSceneNode* terrain = smgr->addTerrainSceneNode( |
350 | "../../media/terrain-heightmap.bmp", | 350 | "../../media/terrain-heightmap.bmp", |
351 | 0, // parent node | 351 | 0, // parent node |
352 | -1, // node id | 352 | -1, // node id |
353 | core::vector3df(0.f, 0.f, 0.f), // position | 353 | core::vector3df(0.f, 0.f, 0.f), // position |
354 | core::vector3df(0.f, 0.f, 0.f), // rotation | 354 | core::vector3df(0.f, 0.f, 0.f), // rotation |
355 | core::vector3df(40.f, 4.4f, 40.f), // scale | 355 | core::vector3df(40.f, 4.4f, 40.f), // scale |
356 | video::SColor ( 255, 255, 255, 255 ), // vertexColor | 356 | video::SColor ( 255, 255, 255, 255 ), // vertexColor |
357 | 5, // maxLOD | 357 | 5, // maxLOD |
358 | scene::ETPS_17, // patchSize | 358 | scene::ETPS_17, // patchSize |
359 | 4 // smoothFactor | 359 | 4 // smoothFactor |
360 | ); | 360 | ); |
361 | 361 | ||
362 | if ( terrain ) | 362 | if ( terrain ) |
363 | { | 363 | { |
364 | terrain->setMaterialFlag(video::EMF_LIGHTING, false); | 364 | terrain->setMaterialFlag(video::EMF_LIGHTING, false); |
365 | 365 | ||
366 | terrain->setMaterialTexture(0, | 366 | terrain->setMaterialTexture(0, |
367 | driver->getTexture("../../media/terrain-texture.jpg")); | 367 | driver->getTexture("../../media/terrain-texture.jpg")); |
368 | terrain->setMaterialTexture(1, | 368 | terrain->setMaterialTexture(1, |
369 | driver->getTexture("../../media/detailmap3.jpg")); | 369 | driver->getTexture("../../media/detailmap3.jpg")); |
370 | 370 | ||
371 | terrain->setMaterialType(video::EMT_DETAIL_MAP); | 371 | terrain->setMaterialType(video::EMT_DETAIL_MAP); |
372 | 372 | ||
373 | terrain->scaleTexture(1.0f, 20.0f); | 373 | terrain->scaleTexture(1.0f, 20.0f); |
374 | //terrain->setDebugDataVisible ( true ); | 374 | //terrain->setDebugDataVisible ( true ); |
375 | 375 | ||
376 | /* | 376 | /* |
377 | To be able to do collision with the terrain, we create a triangle selector. | 377 | To be able to do collision with the terrain, we create a triangle selector. |
378 | If you want to know what triangle selectors do, just take a look into the | 378 | If you want to know what triangle selectors do, just take a look into the |
379 | collision tutorial. The terrain triangle selector works together with the | 379 | collision tutorial. The terrain triangle selector works together with the |
380 | terrain. To demonstrate this, we create a collision response animator | 380 | terrain. To demonstrate this, we create a collision response animator |
381 | and attach it to the camera, so that the camera will not be able to fly | 381 | and attach it to the camera, so that the camera will not be able to fly |
382 | through the terrain. | 382 | through the terrain. |
383 | */ | 383 | */ |
384 | 384 | ||
385 | // create triangle selector for the terrain | 385 | // create triangle selector for the terrain |
386 | scene::ITriangleSelector* selector | 386 | scene::ITriangleSelector* selector |
387 | = smgr->createTerrainTriangleSelector(terrain, 0); | 387 | = smgr->createTerrainTriangleSelector(terrain, 0); |
388 | terrain->setTriangleSelector(selector); | 388 | terrain->setTriangleSelector(selector); |
389 | 389 | ||
390 | // create collision response animator and attach it to the camera | 390 | // create collision response animator and attach it to the camera |
391 | scene::ISceneNodeAnimator* anim = smgr->createCollisionResponseAnimator( | 391 | scene::ISceneNodeAnimator* anim = smgr->createCollisionResponseAnimator( |
392 | selector, camera, core::vector3df(60,100,60), | 392 | selector, camera, core::vector3df(60,100,60), |
393 | core::vector3df(0,0,0), | 393 | core::vector3df(0,0,0), |
394 | core::vector3df(0,50,0)); | 394 | core::vector3df(0,50,0)); |
395 | selector->drop(); | 395 | selector->drop(); |
396 | camera->addAnimator(anim); | 396 | camera->addAnimator(anim); |
397 | anim->drop(); | 397 | anim->drop(); |
398 | 398 | ||
399 | /* If you need access to the terrain data you can also do this directly via the following code fragment. | 399 | /* If you need access to the terrain data you can also do this directly via the following code fragment. |
400 | */ | 400 | */ |
401 | scene::CDynamicMeshBuffer* buffer = new scene::CDynamicMeshBuffer(video::EVT_2TCOORDS, video::EIT_16BIT); | 401 | scene::CDynamicMeshBuffer* buffer = new scene::CDynamicMeshBuffer(video::EVT_2TCOORDS, video::EIT_16BIT); |
402 | terrain->getMeshBufferForLOD(*buffer, 0); | 402 | terrain->getMeshBufferForLOD(*buffer, 0); |
403 | video::S3DVertex2TCoords* data = (video::S3DVertex2TCoords*)buffer->getVertexBuffer().getData(); | 403 | video::S3DVertex2TCoords* data = (video::S3DVertex2TCoords*)buffer->getVertexBuffer().getData(); |
404 | // Work on data or get the IndexBuffer with a similar call. | 404 | // Work on data or get the IndexBuffer with a similar call. |
405 | buffer->drop(); // When done drop the buffer again. | 405 | buffer->drop(); // When done drop the buffer again. |
406 | } | 406 | } |
407 | 407 | ||
408 | /* | 408 | /* |
409 | To make the user be able to switch between normal and wireframe mode, | 409 | To make the user be able to switch between normal and wireframe mode, |
410 | we create an instance of the event receiver from above and let Irrlicht | 410 | we create an instance of the event receiver from above and let Irrlicht |
411 | know about it. In addition, we add the skybox which we already used in | 411 | know about it. In addition, we add the skybox which we already used in |
412 | lots of Irrlicht examples and a skydome, which is shown mutually | 412 | lots of Irrlicht examples and a skydome, which is shown mutually |
413 | exclusive with the skybox by pressing 'S'. | 413 | exclusive with the skybox by pressing 'S'. |
414 | */ | 414 | */ |
415 | 415 | ||
416 | // create skybox and skydome | 416 | // create skybox and skydome |
417 | driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, false); | 417 | driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, false); |
418 | 418 | ||
419 | scene::ISceneNode* skybox=smgr->addSkyBoxSceneNode( | 419 | scene::ISceneNode* skybox=smgr->addSkyBoxSceneNode( |
420 | driver->getTexture("../../media/irrlicht2_up.jpg"), | 420 | driver->getTexture("../../media/irrlicht2_up.jpg"), |
421 | driver->getTexture("../../media/irrlicht2_dn.jpg"), | 421 | driver->getTexture("../../media/irrlicht2_dn.jpg"), |
422 | driver->getTexture("../../media/irrlicht2_lf.jpg"), | 422 | driver->getTexture("../../media/irrlicht2_lf.jpg"), |
423 | driver->getTexture("../../media/irrlicht2_rt.jpg"), | 423 | driver->getTexture("../../media/irrlicht2_rt.jpg"), |
424 | driver->getTexture("../../media/irrlicht2_ft.jpg"), | 424 | driver->getTexture("../../media/irrlicht2_ft.jpg"), |
425 | driver->getTexture("../../media/irrlicht2_bk.jpg")); | 425 | driver->getTexture("../../media/irrlicht2_bk.jpg")); |
426 | scene::ISceneNode* skydome=smgr->addSkyDomeSceneNode(driver->getTexture("../../media/skydome.jpg"),16,8,0.95f,2.0f); | 426 | scene::ISceneNode* skydome=smgr->addSkyDomeSceneNode(driver->getTexture("../../media/skydome.jpg"),16,8,0.95f,2.0f); |
427 | 427 | ||
428 | driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, true); | 428 | driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, true); |
429 | 429 | ||
430 | // create event receiver | 430 | // create event receiver |
431 | EventReceiver_terrain receiver( device, terrain, skybox, skydome); | 431 | EventReceiver_terrain receiver( device, terrain, skybox, skydome); |
432 | device->setEventReceiver(&receiver); | 432 | device->setEventReceiver(&receiver); |
433 | 433 | ||
434 | return run ( device ); | 434 | return run ( device ); |
435 | } | 435 | } |
436 | 436 | ||
437 | /* | 437 | /* |
438 | */ | 438 | */ |
439 | int example_helloworld() | 439 | int example_helloworld() |
440 | { | 440 | { |
441 | // create device | 441 | // create device |
442 | IrrlichtDevice *device = startup(); | 442 | IrrlichtDevice *device = startup(); |
443 | if (device == 0) | 443 | if (device == 0) |
444 | return 1; // could not create selected driver. | 444 | return 1; // could not create selected driver. |
445 | 445 | ||
446 | IVideoDriver* driver = device->getVideoDriver(); | 446 | IVideoDriver* driver = device->getVideoDriver(); |
447 | ISceneManager* smgr = device->getSceneManager(); | 447 | ISceneManager* smgr = device->getSceneManager(); |
448 | IGUIEnvironment* guienv = device->getGUIEnvironment(); | 448 | IGUIEnvironment* guienv = device->getGUIEnvironment(); |
449 | 449 | ||
450 | IAnimatedMesh* mesh = smgr->getMesh("../../media/sydney.md2"); | 450 | IAnimatedMesh* mesh = smgr->getMesh("../../media/sydney.md2"); |
451 | if (!mesh) | 451 | if (!mesh) |
452 | { | 452 | { |
453 | device->drop(); | 453 | device->drop(); |
454 | return 1; | 454 | return 1; |
455 | } | 455 | } |
456 | IAnimatedMeshSceneNode* node = smgr->addAnimatedMeshSceneNode( mesh ); | 456 | IAnimatedMeshSceneNode* node = smgr->addAnimatedMeshSceneNode( mesh ); |
457 | 457 | ||
458 | /* | 458 | /* |
459 | To let the mesh look a little bit nicer, we change its material. We | 459 | To let the mesh look a little bit nicer, we change its material. We |
460 | disable lighting because we do not have a dynamic light in here, and | 460 | disable lighting because we do not have a dynamic light in here, and |
461 | the mesh would be totally black otherwise. Then we set the frame loop, | 461 | the mesh would be totally black otherwise. Then we set the frame loop, |
462 | such that the predefined STAND animation is used. And last, we apply a | 462 | such that the predefined STAND animation is used. And last, we apply a |
463 | texture to the mesh. Without it the mesh would be drawn using only a | 463 | texture to the mesh. Without it the mesh would be drawn using only a |
464 | color. | 464 | color. |
465 | */ | 465 | */ |
466 | if (node) | 466 | if (node) |
467 | { | 467 | { |
468 | node->setMaterialFlag(EMF_LIGHTING, false); | 468 | node->setMaterialFlag(EMF_LIGHTING, false); |
469 | node->setMD2Animation(scene::EMAT_STAND); | 469 | node->setMD2Animation(scene::EMAT_STAND); |
470 | node->setMaterialTexture( 0, driver->getTexture("../../media/sydney.bmp") ); | 470 | node->setMaterialTexture( 0, driver->getTexture("../../media/sydney.bmp") ); |
471 | } | 471 | } |
472 | 472 | ||
473 | /* | 473 | /* |
474 | To look at the mesh, we place a camera into 3d space at the position | 474 | To look at the mesh, we place a camera into 3d space at the position |
475 | (0, 30, -40). The camera looks from there to (0,5,0), which is | 475 | (0, 30, -40). The camera looks from there to (0,5,0), which is |
476 | approximately the place where our md2 model is. | 476 | approximately the place where our md2 model is. |
477 | */ | 477 | */ |
478 | smgr->addCameraSceneNode(0, vector3df(0,30,-40), vector3df(0,5,0)); | 478 | smgr->addCameraSceneNode(0, vector3df(0,30,-40), vector3df(0,5,0)); |
479 | 479 | ||
480 | EventReceiver_basic receiver(device); | 480 | EventReceiver_basic receiver(device); |
481 | device->setEventReceiver(&receiver); | 481 | device->setEventReceiver(&receiver); |
482 | 482 | ||
483 | return run ( device ); | 483 | return run ( device ); |
484 | 484 | ||
485 | } | 485 | } |
486 | 486 | ||
487 | #if defined (_IRR_USE_WINDOWS_CE_DEVICE_) | 487 | #if defined (_IRR_USE_WINDOWS_CE_DEVICE_) |
488 | #pragma comment(linker, "/subsystem:WINDOWSCE /ENTRY:main") | 488 | #pragma comment(linker, "/subsystem:WINDOWSCE /ENTRY:main") |
489 | #elif defined (_IRR_WINDOWS_) | 489 | #elif defined (_IRR_WINDOWS_) |
490 | #pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup") | 490 | #pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup") |
491 | #endif | 491 | #endif |
492 | 492 | ||
493 | /* | 493 | /* |
494 | */ | 494 | */ |
495 | int main() | 495 | int main() |
496 | { | 496 | { |
497 | example_helloworld (); | 497 | example_helloworld (); |
498 | example_customscenenode(); | 498 | example_customscenenode(); |
499 | //example_terrain(); | 499 | //example_terrain(); |
500 | } | 500 | } |
501 | 501 | ||
502 | /* | 502 | /* |
503 | **/ | 503 | **/ |