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