aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/examples/18.SplitScreen
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/examples/18.SplitScreen')
-rw-r--r--src/others/irrlicht-1.8.1/examples/18.SplitScreen/Makefile38
-rw-r--r--src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen.cbp55
-rw-r--r--src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen.dev59
-rw-r--r--src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen.vcproj132
-rw-r--r--src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc10.vcxproj190
-rw-r--r--src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc11.vcxproj194
-rw-r--r--src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc8.vcproj189
-rw-r--r--src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc9.vcproj188
-rw-r--r--src/others/irrlicht-1.8.1/examples/18.SplitScreen/main.cpp244
9 files changed, 1289 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/examples/18.SplitScreen/Makefile b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/Makefile
new file mode 100644
index 0000000..5ad6913
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/Makefile
@@ -0,0 +1,38 @@
1# Makefile for Irrlicht Examples
2# It's usually sufficient to change just the target name and source file list
3# and be sure that CXX is set to a valid compiler
4Target = 18.SplitScreen
5Sources = main.cpp
6
7# general compiler settings
8CPPFLAGS = -I../../include -I/usr/X11R6/include
9CXXFLAGS = -O3 -ffast-math
10#CXXFLAGS = -g -Wall
11
12#default target is Linux
13all: all_linux
14
15ifeq ($(HOSTTYPE), x86_64)
16LIBSELECT=64
17endif
18
19# target specific settings
20all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor
21all_linux clean_linux: SYSTEM=Linux
22all_win32: LDFLAGS = -L../../lib/Win32-gcc -lIrrlicht -lopengl32 -lm
23all_win32 clean_win32: SYSTEM=Win32-gcc
24all_win32 clean_win32: SUF=.exe
25# name of the binary - only valid for targets which set SYSTEM
26DESTPATH = ../../bin/$(SYSTEM)/$(Target)$(SUF)
27
28all_linux all_win32:
29 $(warning Building...)
30 $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(Sources) -o $(DESTPATH) $(LDFLAGS)
31
32clean: clean_linux clean_win32
33 $(warning Cleaning...)
34
35clean_linux clean_win32:
36 @$(RM) $(DESTPATH)
37
38.PHONY: all all_win32 clean clean_linux clean_win32
diff --git a/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen.cbp b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen.cbp
new file mode 100644
index 0000000..93ff1d8
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen.cbp
@@ -0,0 +1,55 @@
1<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2<CodeBlocks_project_file>
3 <FileVersion major="1" minor="6" />
4 <Project>
5 <Option title="Irrlicht Example 18 Split Screen" />
6 <Option pch_mode="0" />
7 <Option compiler="gcc" />
8 <Build>
9 <Target title="Windows">
10 <Option platforms="Windows;" />
11 <Option output="..\..\bin\Win32-gcc\SplitScreen" prefix_auto="0" extension_auto="1" />
12 <Option type="1" />
13 <Option compiler="gcc" />
14 <Option projectResourceIncludeDirsRelation="1" />
15 <Compiler>
16 <Add option="-g" />
17 </Compiler>
18 <Linker>
19 <Add directory="..\..\lib\Win32-gcc" />
20 </Linker>
21 </Target>
22 <Target title="Linux">
23 <Option platforms="Unix;" />
24 <Option output="..\..\bin\Linux\SplitScreen" prefix_auto="0" extension_auto="0" />
25 <Option type="1" />
26 <Option compiler="gcc" />
27 <Compiler>
28 <Add option="-g" />
29 </Compiler>
30 <Linker>
31 <Add library="Xxf86vm" />
32 <Add library="Xcursor" />
33 <Add library="GL" />
34 <Add directory="..\..\lib\Linux" />
35 </Linker>
36 </Target>
37 </Build>
38 <VirtualTargets>
39 <Add alias="All" targets="Windows;Linux;" />
40 </VirtualTargets>
41 <Compiler>
42 <Add option="-g" />
43 <Add directory="..\..\include" />
44 </Compiler>
45 <Linker>
46 <Add library="Irrlicht" />
47 </Linker>
48 <Unit filename="main.cpp" />
49 <Extensions>
50 <code_completion />
51 <debugger />
52 <envvars />
53 </Extensions>
54 </Project>
55</CodeBlocks_project_file>
diff --git a/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen.dev b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen.dev
new file mode 100644
index 0000000..cd843c6
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen.dev
@@ -0,0 +1,59 @@
1[Project]
2FileName=example.dev
3Name=Irrlicht Example 18 SplitScreen
4UnitCount=1
5Type=1
6Ver=1
7ObjFiles=
8Includes=..\..\include
9Libs=
10PrivateResource=
11ResourceIncludes=
12MakeIncludes=
13Compiler=
14CppCompiler=
15Linker=../../lib/Win32-gcc/libIrrlicht.a_@@_
16IsCpp=1
17Icon=
18ExeOutput=../../bin/Win32-gcc
19ObjectOutput=obj
20OverrideOutput=1
21OverrideOutputName=18.SplitScreen.exe
22HostApplication=
23Folders=
24CommandLine=
25IncludeVersionInfo=0
26SupportXPThemes=0
27CompilerSet=0
28CompilerSettings=0000000000000000000000
29UseCustomMakefile=0
30CustomMakefile=
31
32[Unit1]
33FileName=main.cpp
34CompileCpp=1
35Folder=Projekt1
36Compile=1
37Link=1
38Priority=1000
39OverrideBuildCmd=0
40BuildCmd=
41
42[VersionInfo]
43Major=0
44Minor=1
45Release=1
46Build=1
47LanguageID=1033
48CharsetID=1252
49CompanyName=
50FileVersion=
51FileDescription=Irrlicht Engine example compiled using DevCpp and gcc
52InternalName=
53LegalCopyright=
54LegalTrademarks=
55OriginalFilename=
56ProductName=
57ProductVersion=
58AutoIncBuildNr=0
59
diff --git a/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen.vcproj b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen.vcproj
new file mode 100644
index 0000000..46cb6b7
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen.vcproj
@@ -0,0 +1,132 @@
1<?xml version="1.0" encoding="Windows-1252"?>
2<VisualStudioProject
3 ProjectType="Visual C++"
4 Version="7.10"
5 Name="18.SplitScreen"
6 ProjectGUID="{1AB9413E-4F53-42A3-8CB2-CB4BE22336D0}"
7 Keyword="Win32Proj">
8 <Platforms>
9 <Platform
10 Name="Win32"/>
11 </Platforms>
12 <Configurations>
13 <Configuration
14 Name="Debug|Win32"
15 OutputDirectory="Debug"
16 IntermediateDirectory="Debug"
17 ConfigurationType="1"
18 CharacterSet="2">
19 <Tool
20 Name="VCCLCompilerTool"
21 Optimization="0"
22 AdditionalIncludeDirectories="..\..\include"
23 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
24 MinimalRebuild="TRUE"
25 BasicRuntimeChecks="3"
26 RuntimeLibrary="5"
27 UsePrecompiledHeader="0"
28 WarningLevel="3"
29 Detect64BitPortabilityProblems="TRUE"
30 DebugInformationFormat="4"/>
31 <Tool
32 Name="VCCustomBuildTool"/>
33 <Tool
34 Name="VCLinkerTool"
35 OutputFile="..\..\bin\Win32-VisualStudio\18.SplitScreen.exe"
36 LinkIncremental="0"
37 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio"
38 GenerateDebugInformation="TRUE"
39 ProgramDatabaseFile="$(OutDir)/SplitScreen.pdb"
40 SubSystem="1"
41 TargetMachine="1"/>
42 <Tool
43 Name="VCMIDLTool"/>
44 <Tool
45 Name="VCPostBuildEventTool"/>
46 <Tool
47 Name="VCPreBuildEventTool"/>
48 <Tool
49 Name="VCPreLinkEventTool"/>
50 <Tool
51 Name="VCResourceCompilerTool"/>
52 <Tool
53 Name="VCWebServiceProxyGeneratorTool"/>
54 <Tool
55 Name="VCXMLDataGeneratorTool"/>
56 <Tool
57 Name="VCWebDeploymentTool"/>
58 <Tool
59 Name="VCManagedWrapperGeneratorTool"/>
60 <Tool
61 Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
62 </Configuration>
63 <Configuration
64 Name="Release|Win32"
65 OutputDirectory="Release"
66 IntermediateDirectory="Release"
67 ConfigurationType="1"
68 CharacterSet="2"
69 WholeProgramOptimization="TRUE">
70 <Tool
71 Name="VCCLCompilerTool"
72 AdditionalOptions="/QIfist /Oa"
73 Optimization="3"
74 GlobalOptimizations="TRUE"
75 InlineFunctionExpansion="2"
76 EnableIntrinsicFunctions="TRUE"
77 FavorSizeOrSpeed="1"
78 OmitFramePointers="TRUE"
79 AdditionalIncludeDirectories="..\..\include"
80 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
81 RuntimeLibrary="4"
82 BufferSecurityCheck="FALSE"
83 UsePrecompiledHeader="0"
84 WarningLevel="3"
85 Detect64BitPortabilityProblems="TRUE"
86 DebugInformationFormat="0"
87 CallingConvention="1"/>
88 <Tool
89 Name="VCCustomBuildTool"/>
90 <Tool
91 Name="VCLinkerTool"
92 OutputFile="..\..\bin\Win32-VisualStudio\18.SplitScreen.exe"
93 LinkIncremental="0"
94 SuppressStartupBanner="TRUE"
95 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio"
96 GenerateDebugInformation="FALSE"
97 SubSystem="1"
98 OptimizeReferences="2"
99 EnableCOMDATFolding="2"
100 TargetMachine="1"/>
101 <Tool
102 Name="VCMIDLTool"/>
103 <Tool
104 Name="VCPostBuildEventTool"/>
105 <Tool
106 Name="VCPreBuildEventTool"/>
107 <Tool
108 Name="VCPreLinkEventTool"/>
109 <Tool
110 Name="VCResourceCompilerTool"/>
111 <Tool
112 Name="VCWebServiceProxyGeneratorTool"/>
113 <Tool
114 Name="VCXMLDataGeneratorTool"/>
115 <Tool
116 Name="VCWebDeploymentTool"/>
117 <Tool
118 Name="VCManagedWrapperGeneratorTool"/>
119 <Tool
120 Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
121 </Configuration>
122 </Configurations>
123 <References>
124 </References>
125 <Files>
126 <File
127 RelativePath=".\main.cpp">
128 </File>
129 </Files>
130 <Globals>
131 </Globals>
132</VisualStudioProject>
diff --git a/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc10.vcxproj b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc10.vcxproj
new file mode 100644
index 0000000..7db11fe
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc10.vcxproj
@@ -0,0 +1,190 @@
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>18.SplitScreen</ProjectName>
23 <ProjectGuid>{1AB9413E-4F53-42A3-8CB2-CB4BE22336D0}</ProjectGuid>
24 <RootNamespace>18.SplitScreen</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>MultiByte</CharacterSet>
31 </PropertyGroup>
32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
33 <ConfigurationType>Application</ConfigurationType>
34 <CharacterSet>MultiByte</CharacterSet>
35 </PropertyGroup>
36 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
37 <ConfigurationType>Application</ConfigurationType>
38 <CharacterSet>MultiByte</CharacterSet>
39 </PropertyGroup>
40 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
41 <ConfigurationType>Application</ConfigurationType>
42 <CharacterSet>MultiByte</CharacterSet>
43 </PropertyGroup>
44 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
45 <ImportGroup Label="ExtensionSettings">
46 </ImportGroup>
47 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
48 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
49 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
50 </ImportGroup>
51 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
52 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
53 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
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 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
58 </ImportGroup>
59 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
60 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
62 </ImportGroup>
63 <PropertyGroup Label="UserMacros" />
64 <PropertyGroup>
65 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
66 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir>
67 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir>
68 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
69 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
70 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir>
71 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir>
72 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
73 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
74 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
75 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
76 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
77 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
78 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
79 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
80 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
81 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
82 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
83 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
84 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
85 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
86 </PropertyGroup>
87 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
88 <ClCompile>
89 <Optimization>Disabled</Optimization>
90 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
91 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
92 <MinimalRebuild>true</MinimalRebuild>
93 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
94 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
95 <PrecompiledHeader>
96 </PrecompiledHeader>
97 <WarningLevel>Level3</WarningLevel>
98 <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
99 </ClCompile>
100 <Link>
101 <OutputFile>..\..\bin\Win32-VisualStudio\18.SplitScreen.exe</OutputFile>
102 <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
103 <GenerateDebugInformation>true</GenerateDebugInformation>
104 <ProgramDatabaseFile>$(OutDir)SplitScreen.pdb</ProgramDatabaseFile>
105 <SubSystem>Console</SubSystem>
106 <DataExecutionPrevention>
107 </DataExecutionPrevention>
108 </Link>
109 </ItemDefinitionGroup>
110 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
111 <ClCompile>
112 <Optimization>Disabled</Optimization>
113 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
114 <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
115 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
116 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
117 <PrecompiledHeader>
118 </PrecompiledHeader>
119 <WarningLevel>Level3</WarningLevel>
120 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
121 </ClCompile>
122 <Link>
123 <OutputFile>..\..\bin\Win64-VisualStudio\18.SplitScreen.exe</OutputFile>
124 <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
125 <GenerateDebugInformation>true</GenerateDebugInformation>
126 <ProgramDatabaseFile>$(OutDir)SplitScreen.pdb</ProgramDatabaseFile>
127 <SubSystem>Console</SubSystem>
128 <DataExecutionPrevention>
129 </DataExecutionPrevention>
130 </Link>
131 </ItemDefinitionGroup>
132 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
133 <ClCompile>
134 <IntrinsicFunctions>true</IntrinsicFunctions>
135 <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
136 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
137 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
138 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
139 <BufferSecurityCheck>false</BufferSecurityCheck>
140 <PrecompiledHeader>
141 </PrecompiledHeader>
142 <WarningLevel>Level3</WarningLevel>
143 <DebugInformationFormat>
144 </DebugInformationFormat>
145 <CallingConvention>Cdecl</CallingConvention>
146 </ClCompile>
147 <Link>
148 <OutputFile>..\..\bin\Win32-VisualStudio\18.SplitScreen.exe</OutputFile>
149 <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
150 <GenerateDebugInformation>false</GenerateDebugInformation>
151 <SubSystem>Console</SubSystem>
152 <OptimizeReferences>true</OptimizeReferences>
153 <EnableCOMDATFolding>true</EnableCOMDATFolding>
154 <DataExecutionPrevention>
155 </DataExecutionPrevention>
156 </Link>
157 </ItemDefinitionGroup>
158 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
159 <ClCompile>
160 <IntrinsicFunctions>true</IntrinsicFunctions>
161 <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
162 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
163 <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
164 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
165 <BufferSecurityCheck>false</BufferSecurityCheck>
166 <PrecompiledHeader>
167 </PrecompiledHeader>
168 <WarningLevel>Level3</WarningLevel>
169 <DebugInformationFormat>
170 </DebugInformationFormat>
171 <CallingConvention>Cdecl</CallingConvention>
172 </ClCompile>
173 <Link>
174 <OutputFile>..\..\bin\Win64-VisualStudio\18.SplitScreen.exe</OutputFile>
175 <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
176 <GenerateDebugInformation>false</GenerateDebugInformation>
177 <SubSystem>Console</SubSystem>
178 <OptimizeReferences>true</OptimizeReferences>
179 <EnableCOMDATFolding>true</EnableCOMDATFolding>
180 <DataExecutionPrevention>
181 </DataExecutionPrevention>
182 </Link>
183 </ItemDefinitionGroup>
184 <ItemGroup>
185 <ClCompile Include="main.cpp" />
186 </ItemGroup>
187 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
188 <ImportGroup Label="ExtensionTargets">
189 </ImportGroup>
190</Project> \ No newline at end of file
diff --git a/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc11.vcxproj b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc11.vcxproj
new file mode 100644
index 0000000..954ace3
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc11.vcxproj
@@ -0,0 +1,194 @@
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>18.SplitScreen</ProjectName>
23 <ProjectGuid>{1AB9413E-4F53-42A3-8CB2-CB4BE22336D0}</ProjectGuid>
24 <RootNamespace>18.SplitScreen</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>MultiByte</CharacterSet>
31 <PlatformToolset>v110</PlatformToolset>
32 </PropertyGroup>
33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
34 <ConfigurationType>Application</ConfigurationType>
35 <CharacterSet>MultiByte</CharacterSet>
36 <PlatformToolset>v110</PlatformToolset>
37 </PropertyGroup>
38 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
39 <ConfigurationType>Application</ConfigurationType>
40 <CharacterSet>MultiByte</CharacterSet>
41 <PlatformToolset>v110</PlatformToolset>
42 </PropertyGroup>
43 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
44 <ConfigurationType>Application</ConfigurationType>
45 <CharacterSet>MultiByte</CharacterSet>
46 <PlatformToolset>v110</PlatformToolset>
47 </PropertyGroup>
48 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
49 <ImportGroup Label="ExtensionSettings">
50 </ImportGroup>
51 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
52 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
53 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
54 </ImportGroup>
55 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
56 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
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 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
62 </ImportGroup>
63 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
64 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
66 </ImportGroup>
67 <PropertyGroup Label="UserMacros" />
68 <PropertyGroup>
69 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
70 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\Win32-VisualStudio\</OutDir>
71 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\bin\Win64-VisualStudio\</OutDir>
72 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
73 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
74 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\Win32-VisualStudio\</OutDir>
75 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\bin\Win64-VisualStudio\</OutDir>
76 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
77 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
78 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
79 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
80 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
81 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
82 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
83 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
84 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
85 <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
86 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
87 <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
88 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
89 <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
90 </PropertyGroup>
91 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
92 <ClCompile>
93 <Optimization>Disabled</Optimization>
94 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
95 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
96 <MinimalRebuild>true</MinimalRebuild>
97 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
98 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
99 <PrecompiledHeader>
100 </PrecompiledHeader>
101 <WarningLevel>Level3</WarningLevel>
102 <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
103 </ClCompile>
104 <Link>
105 <OutputFile>..\..\bin\Win32-VisualStudio\18.SplitScreen.exe</OutputFile>
106 <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
107 <GenerateDebugInformation>true</GenerateDebugInformation>
108 <ProgramDatabaseFile>$(OutDir)SplitScreen.pdb</ProgramDatabaseFile>
109 <SubSystem>Console</SubSystem>
110 <DataExecutionPrevention>
111 </DataExecutionPrevention>
112 </Link>
113 </ItemDefinitionGroup>
114 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
115 <ClCompile>
116 <Optimization>Disabled</Optimization>
117 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
118 <PreprocessorDefinitions>WIN32;WIN64;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
119 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
120 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
121 <PrecompiledHeader>
122 </PrecompiledHeader>
123 <WarningLevel>Level3</WarningLevel>
124 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
125 </ClCompile>
126 <Link>
127 <OutputFile>..\..\bin\Win64-VisualStudio\18.SplitScreen.exe</OutputFile>
128 <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
129 <GenerateDebugInformation>true</GenerateDebugInformation>
130 <ProgramDatabaseFile>$(OutDir)SplitScreen.pdb</ProgramDatabaseFile>
131 <SubSystem>Console</SubSystem>
132 <DataExecutionPrevention>
133 </DataExecutionPrevention>
134 </Link>
135 </ItemDefinitionGroup>
136 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
137 <ClCompile>
138 <IntrinsicFunctions>true</IntrinsicFunctions>
139 <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
140 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
141 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
142 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
143 <BufferSecurityCheck>false</BufferSecurityCheck>
144 <PrecompiledHeader>
145 </PrecompiledHeader>
146 <WarningLevel>Level3</WarningLevel>
147 <DebugInformationFormat>
148 </DebugInformationFormat>
149 <CallingConvention>Cdecl</CallingConvention>
150 </ClCompile>
151 <Link>
152 <OutputFile>..\..\bin\Win32-VisualStudio\18.SplitScreen.exe</OutputFile>
153 <AdditionalLibraryDirectories>..\..\lib\Win32-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
154 <GenerateDebugInformation>false</GenerateDebugInformation>
155 <SubSystem>Console</SubSystem>
156 <OptimizeReferences>true</OptimizeReferences>
157 <EnableCOMDATFolding>true</EnableCOMDATFolding>
158 <DataExecutionPrevention>
159 </DataExecutionPrevention>
160 </Link>
161 </ItemDefinitionGroup>
162 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
163 <ClCompile>
164 <IntrinsicFunctions>true</IntrinsicFunctions>
165 <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
166 <AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
167 <PreprocessorDefinitions>WIN32;WIN64;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
168 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
169 <BufferSecurityCheck>false</BufferSecurityCheck>
170 <PrecompiledHeader>
171 </PrecompiledHeader>
172 <WarningLevel>Level3</WarningLevel>
173 <DebugInformationFormat>
174 </DebugInformationFormat>
175 <CallingConvention>Cdecl</CallingConvention>
176 </ClCompile>
177 <Link>
178 <OutputFile>..\..\bin\Win64-VisualStudio\18.SplitScreen.exe</OutputFile>
179 <AdditionalLibraryDirectories>..\..\lib\Win64-visualstudio;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
180 <GenerateDebugInformation>false</GenerateDebugInformation>
181 <SubSystem>Console</SubSystem>
182 <OptimizeReferences>true</OptimizeReferences>
183 <EnableCOMDATFolding>true</EnableCOMDATFolding>
184 <DataExecutionPrevention>
185 </DataExecutionPrevention>
186 </Link>
187 </ItemDefinitionGroup>
188 <ItemGroup>
189 <ClCompile Include="main.cpp" />
190 </ItemGroup>
191 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
192 <ImportGroup Label="ExtensionTargets">
193 </ImportGroup>
194</Project> \ No newline at end of file
diff --git a/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc8.vcproj b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc8.vcproj
new file mode 100644
index 0000000..906b950
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc8.vcproj
@@ -0,0 +1,189 @@
1<?xml version="1.0" encoding="Windows-1252"?>
2<VisualStudioProject
3 ProjectType="Visual C++"
4 Version="8,00"
5 Name="18.SplitScreen_vc8"
6 ProjectGUID="{1AB9413E-4F53-42A3-8CB2-CB4BE22336D0}"
7 Keyword="Win32Proj"
8 >
9 <Platforms>
10 <Platform
11 Name="Win32"
12 />
13 </Platforms>
14 <ToolFiles>
15 </ToolFiles>
16 <Configurations>
17 <Configuration
18 Name="Debug|Win32"
19 OutputDirectory="Debug"
20 IntermediateDirectory="Debug"
21 ConfigurationType="1"
22 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
23 CharacterSet="2"
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;_WINDOWS"
45 MinimalRebuild="true"
46 BasicRuntimeChecks="3"
47 RuntimeLibrary="1"
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\18.SplitScreen.exe"
65 LinkIncremental="2"
66 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio"
67 GenerateDebugInformation="true"
68 ProgramDatabaseFile="$(OutDir)/SplitScreen.pdb"
69 SubSystem="1"
70 TargetMachine="1"
71 />
72 <Tool
73 Name="VCALinkTool"
74 />
75 <Tool
76 Name="VCManifestTool"
77 />
78 <Tool
79 Name="VCXDCMakeTool"
80 />
81 <Tool
82 Name="VCBscMakeTool"
83 />
84 <Tool
85 Name="VCFxCopTool"
86 />
87 <Tool
88 Name="VCAppVerifierTool"
89 />
90 <Tool
91 Name="VCWebDeploymentTool"
92 />
93 <Tool
94 Name="VCPostBuildEventTool"
95 />
96 </Configuration>
97 <Configuration
98 Name="Release|Win32"
99 OutputDirectory="Release"
100 IntermediateDirectory="Release"
101 ConfigurationType="1"
102 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
103 CharacterSet="2"
104 >
105 <Tool
106 Name="VCPreBuildEventTool"
107 />
108 <Tool
109 Name="VCCustomBuildTool"
110 />
111 <Tool
112 Name="VCXMLDataGeneratorTool"
113 />
114 <Tool
115 Name="VCWebServiceProxyGeneratorTool"
116 />
117 <Tool
118 Name="VCMIDLTool"
119 />
120 <Tool
121 Name="VCCLCompilerTool"
122 EnableIntrinsicFunctions="true"
123 FavorSizeOrSpeed="1"
124 AdditionalIncludeDirectories="..\..\include"
125 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
126 RuntimeLibrary="0"
127 BufferSecurityCheck="false"
128 UsePrecompiledHeader="0"
129 WarningLevel="3"
130 Detect64BitPortabilityProblems="true"
131 DebugInformationFormat="0"
132 />
133 <Tool
134 Name="VCManagedResourceCompilerTool"
135 />
136 <Tool
137 Name="VCResourceCompilerTool"
138 />
139 <Tool
140 Name="VCPreLinkEventTool"
141 />
142 <Tool
143 Name="VCLinkerTool"
144 OutputFile="..\..\bin\Win32-VisualStudio\18.SplitScreen.exe"
145 LinkIncremental="0"
146 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio"
147 GenerateDebugInformation="false"
148 SubSystem="1"
149 OptimizeReferences="2"
150 EnableCOMDATFolding="2"
151 TargetMachine="1"
152 />
153 <Tool
154 Name="VCALinkTool"
155 />
156 <Tool
157 Name="VCManifestTool"
158 />
159 <Tool
160 Name="VCXDCMakeTool"
161 />
162 <Tool
163 Name="VCBscMakeTool"
164 />
165 <Tool
166 Name="VCFxCopTool"
167 />
168 <Tool
169 Name="VCAppVerifierTool"
170 />
171 <Tool
172 Name="VCWebDeploymentTool"
173 />
174 <Tool
175 Name="VCPostBuildEventTool"
176 />
177 </Configuration>
178 </Configurations>
179 <References>
180 </References>
181 <Files>
182 <File
183 RelativePath=".\main.cpp"
184 >
185 </File>
186 </Files>
187 <Globals>
188 </Globals>
189</VisualStudioProject>
diff --git a/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc9.vcproj b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc9.vcproj
new file mode 100644
index 0000000..86f6552
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/SplitScreen_vc9.vcproj
@@ -0,0 +1,188 @@
1<?xml version="1.0" encoding="Windows-1252"?>
2<VisualStudioProject
3 ProjectType="Visual C++"
4 Version="9,00"
5 Name="18.SplitScreen_vc9"
6 ProjectGUID="{1AB9413E-4F53-42A3-8CB2-CB4BE22336D0}"
7 RootNamespace="18.SplitScreen_vc9"
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="Debug"
22 IntermediateDirectory="Debug"
23 ConfigurationType="1"
24 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
25 CharacterSet="2"
26 >
27 <Tool
28 Name="VCPreBuildEventTool"
29 />
30 <Tool
31 Name="VCCustomBuildTool"
32 />
33 <Tool
34 Name="VCXMLDataGeneratorTool"
35 />
36 <Tool
37 Name="VCWebServiceProxyGeneratorTool"
38 />
39 <Tool
40 Name="VCMIDLTool"
41 />
42 <Tool
43 Name="VCCLCompilerTool"
44 Optimization="0"
45 AdditionalIncludeDirectories="..\..\include"
46 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
47 MinimalRebuild="true"
48 BasicRuntimeChecks="3"
49 RuntimeLibrary="1"
50 UsePrecompiledHeader="0"
51 WarningLevel="3"
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\18.SplitScreen.exe"
66 LinkIncremental="2"
67 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio"
68 GenerateDebugInformation="true"
69 ProgramDatabaseFile="$(OutDir)/SplitScreen.pdb"
70 SubSystem="1"
71 RandomizedBaseAddress="1"
72 DataExecutionPrevention="0"
73 TargetMachine="1"
74 />
75 <Tool
76 Name="VCALinkTool"
77 />
78 <Tool
79 Name="VCManifestTool"
80 />
81 <Tool
82 Name="VCXDCMakeTool"
83 />
84 <Tool
85 Name="VCBscMakeTool"
86 />
87 <Tool
88 Name="VCFxCopTool"
89 />
90 <Tool
91 Name="VCAppVerifierTool"
92 />
93 <Tool
94 Name="VCPostBuildEventTool"
95 />
96 </Configuration>
97 <Configuration
98 Name="Release|Win32"
99 OutputDirectory="Release"
100 IntermediateDirectory="Release"
101 ConfigurationType="1"
102 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
103 CharacterSet="2"
104 >
105 <Tool
106 Name="VCPreBuildEventTool"
107 />
108 <Tool
109 Name="VCCustomBuildTool"
110 />
111 <Tool
112 Name="VCXMLDataGeneratorTool"
113 />
114 <Tool
115 Name="VCWebServiceProxyGeneratorTool"
116 />
117 <Tool
118 Name="VCMIDLTool"
119 />
120 <Tool
121 Name="VCCLCompilerTool"
122 EnableIntrinsicFunctions="true"
123 FavorSizeOrSpeed="1"
124 AdditionalIncludeDirectories="..\..\include"
125 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
126 RuntimeLibrary="0"
127 BufferSecurityCheck="false"
128 UsePrecompiledHeader="0"
129 WarningLevel="3"
130 DebugInformationFormat="0"
131 CallingConvention="0"
132 />
133 <Tool
134 Name="VCManagedResourceCompilerTool"
135 />
136 <Tool
137 Name="VCResourceCompilerTool"
138 />
139 <Tool
140 Name="VCPreLinkEventTool"
141 />
142 <Tool
143 Name="VCLinkerTool"
144 OutputFile="..\..\bin\Win32-VisualStudio\18.SplitScreen.exe"
145 LinkIncremental="0"
146 AdditionalLibraryDirectories="..\..\lib\Win32-visualstudio"
147 GenerateDebugInformation="false"
148 SubSystem="1"
149 OptimizeReferences="2"
150 EnableCOMDATFolding="2"
151 RandomizedBaseAddress="1"
152 DataExecutionPrevention="0"
153 TargetMachine="1"
154 />
155 <Tool
156 Name="VCALinkTool"
157 />
158 <Tool
159 Name="VCManifestTool"
160 />
161 <Tool
162 Name="VCXDCMakeTool"
163 />
164 <Tool
165 Name="VCBscMakeTool"
166 />
167 <Tool
168 Name="VCFxCopTool"
169 />
170 <Tool
171 Name="VCAppVerifierTool"
172 />
173 <Tool
174 Name="VCPostBuildEventTool"
175 />
176 </Configuration>
177 </Configurations>
178 <References>
179 </References>
180 <Files>
181 <File
182 RelativePath=".\main.cpp"
183 >
184 </File>
185 </Files>
186 <Globals>
187 </Globals>
188</VisualStudioProject>
diff --git a/src/others/irrlicht-1.8.1/examples/18.SplitScreen/main.cpp b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/main.cpp
new file mode 100644
index 0000000..32266c5
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/examples/18.SplitScreen/main.cpp
@@ -0,0 +1,244 @@
1/** Example 018 Splitscreen
2
3A tutorial by Max Winkel.
4
5In this tutorial we'll learn how to use splitscreen (e.g. for racing-games)
6with Irrlicht. We'll create a viewport divided
7into 4 parts, with 3 fixed cameras and one user-controlled.
8
9Ok, let's start with the headers (I think there's
10nothing to say about it)
11*/
12
13#include <irrlicht.h>
14#include "driverChoice.h"
15
16#ifdef _MSC_VER
17#pragma comment(lib, "Irrlicht.lib")
18#endif
19
20//Namespaces for the engine
21using namespace irr;
22using namespace core;
23using namespace video;
24using namespace scene;
25
26/*
27Now we'll define the resolution in a constant for use in
28initializing the device and setting up the viewport. In addition
29we set up a global variable saying splitscreen is active or not.
30*/
31//Resolution
32const int ResX=800;
33const int ResY=600;
34const bool fullScreen=false;
35
36//Use SplitScreen?
37bool SplitScreen=true;
38
39/*
40Now we need four pointers to our cameras which are created later:
41*/
42//cameras
43ICameraSceneNode *camera[4]={0,0,0,0};
44/*
45In our event-receiver we switch the SplitScreen-variable,
46whenever the user press the S-key. All other events are sent
47to the FPS camera.
48*/
49
50class MyEventReceiver : public IEventReceiver
51{
52 public:
53 virtual bool OnEvent(const SEvent& event)
54 {
55 //Key S enables/disables SplitScreen
56 if (event.EventType == irr::EET_KEY_INPUT_EVENT &&
57 event.KeyInput.Key == KEY_KEY_S && event.KeyInput.PressedDown)
58 {
59 SplitScreen = !SplitScreen;
60 return true;
61 }
62 //Send all other events to camera4
63 if (camera[3])
64 return camera[3]->OnEvent(event);
65 return false;
66 }
67};
68
69/*
70Ok, now the main-function:
71First, we initialize the device, get the SourceManager and
72VideoDriver, load an animated mesh from .md2 and a map from
73.pk3. Because that's old stuff, I won't explain every step.
74Just take care of the maps position.
75*/
76int main()
77{
78 // ask user for driver
79 video::E_DRIVER_TYPE driverType=driverChoiceConsole();
80 if (driverType==video::EDT_COUNT)
81 return 1;
82
83 //Instance of the EventReceiver
84 MyEventReceiver receiver;
85
86 //Initialise the engine
87 IrrlichtDevice *device = createDevice(driverType,
88 dimension2du(ResX,ResY), 32, fullScreen,
89 false, false, &receiver);
90 if (!device)
91 return 1;
92
93 ISceneManager *smgr = device->getSceneManager();
94 IVideoDriver *driver = device->getVideoDriver();
95
96 //Load model
97 IAnimatedMesh *model = smgr->getMesh("../../media/sydney.md2");
98 if (!model)
99 return 1;
100 IAnimatedMeshSceneNode *model_node = smgr->addAnimatedMeshSceneNode(model);
101 //Load texture
102 if (model_node)
103 {
104 ITexture *texture = driver->getTexture("../../media/sydney.bmp");
105 model_node->setMaterialTexture(0,texture);
106 model_node->setMD2Animation(scene::EMAT_RUN);
107 //Disable lighting (we've got no light)
108 model_node->setMaterialFlag(EMF_LIGHTING,false);
109 }
110
111 //Load map
112 device->getFileSystem()->addFileArchive("../../media/map-20kdm2.pk3");
113 IAnimatedMesh *map = smgr->getMesh("20kdm2.bsp");
114 if (map)
115 {
116 ISceneNode *map_node = smgr->addOctreeSceneNode(map->getMesh(0));
117 //Set position
118 map_node->setPosition(vector3df(-850,-220,-850));
119 }
120
121/*
122Now we create our four cameras. One is looking at the model
123from the front, one from the top and one from the side. In
124addition there's a FPS-camera which can be controlled by the
125user.
126*/
127 // Create 3 fixed and one user-controlled cameras
128 //Front
129 camera[0] = smgr->addCameraSceneNode(0, vector3df(50,0,0), vector3df(0,0,0));
130 //Top
131 camera[1] = smgr->addCameraSceneNode(0, vector3df(0,50,0), vector3df(0,0,0));
132 //Left
133 camera[2] = smgr->addCameraSceneNode(0, vector3df(0,0,50), vector3df(0,0,0));
134 //User-controlled
135 camera[3] = smgr->addCameraSceneNodeFPS();
136 // don't start at sydney's position
137 if (camera[3])
138 camera[3]->setPosition(core::vector3df(-50,0,-50));
139
140/*
141Create a variable for counting the fps and hide the mouse:
142*/
143 //Hide mouse
144 device->getCursorControl()->setVisible(false);
145 //We want to count the fps
146 int lastFPS = -1;
147
148/*
149There wasn't much new stuff - till now!
150Only by defining four cameras, the game won't be splitscreen.
151To do this you need several steps:
152 - Set the viewport to the whole screen
153 - Begin a new scene (Clear screen)
154
155 - The following 3 steps are repeated for every viewport in the splitscreen
156 - Set the viewport to the area you wish
157 - Activate the camera which should be "linked" with the viewport
158 - Render all objects
159
160 - If you have a GUI:
161 - Set the viewport the whole screen
162 - Display the GUI
163 - End scene
164
165Sounds a little complicated, but you'll see it isn't:
166*/
167
168 while(device->run())
169 {
170 //Set the viewpoint to the whole screen and begin scene
171 driver->setViewPort(rect<s32>(0,0,ResX,ResY));
172 driver->beginScene(true,true,SColor(255,100,100,100));
173 //If SplitScreen is used
174 if (SplitScreen)
175 {
176 //Activate camera1
177 smgr->setActiveCamera(camera[0]);
178 //Set viewpoint to the first quarter (left top)
179 driver->setViewPort(rect<s32>(0,0,ResX/2,ResY/2));
180 //Draw scene
181 smgr->drawAll();
182 //Activate camera2
183 smgr->setActiveCamera(camera[1]);
184 //Set viewpoint to the second quarter (right top)
185 driver->setViewPort(rect<s32>(ResX/2,0,ResX,ResY/2));
186 //Draw scene
187 smgr->drawAll();
188 //Activate camera3
189 smgr->setActiveCamera(camera[2]);
190 //Set viewpoint to the third quarter (left bottom)
191 driver->setViewPort(rect<s32>(0,ResY/2,ResX/2,ResY));
192 //Draw scene
193 smgr->drawAll();
194 //Set viewport the last quarter (right bottom)
195 driver->setViewPort(rect<s32>(ResX/2,ResY/2,ResX,ResY));
196 }
197 //Activate camera4
198 smgr->setActiveCamera(camera[3]);
199 //Draw scene
200 smgr->drawAll();
201 driver->endScene();
202
203 /*
204 As you can probably see, the image is rendered for every
205 viewport separately. That means, that you'll loose much performance.
206 Ok, if you're asking "How do I have to set the viewport
207 to get this or that screen?", don't panic. It's really
208 easy: In the rect-function you define 4 coordinates:
209 - X-coordinate of the corner left top
210 - Y-coordinate of the corner left top
211 - X-coordinate of the corner right bottom
212 - Y-coordinate of the corner right bottom
213
214 That means, if you want to split the screen into 2 viewports
215 you would give the following coordinates:
216 - 1st viewport: 0,0,ResX/2,ResY
217 - 2nd viewport: ResX/2,0,ResX,ResY
218
219 If you didn't fully understand, just play around with the example
220 to check out what happens.
221
222 Now we just view the current fps and shut down the engine,
223 when the user wants to:
224 */
225 //Get and show fps
226 if (driver->getFPS() != lastFPS)
227 {
228 lastFPS = driver->getFPS();
229 core::stringw tmp = L"Irrlicht SplitScreen-Example (FPS: ";
230 tmp += lastFPS;
231 tmp += ")";
232 device->setWindowCaption(tmp.c_str());
233 }
234 }
235 //Delete device
236 device->drop();
237 return 0;
238}
239/*
240That's it! Just compile and play around with the program.
241Note: With the S-Key you can switch between using splitscreen
242and not.
243**/
244