Commit bde140c7 authored by engineer_apple's avatar engineer_apple

vs2005 build all examples.sln

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3339 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 142c909b
<?xml version="1.0" encoding="Windows-1252"?> <?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject <VisualStudioProject
ProjectType="Visual C++" ProjectType="Visual C++"
Version="8.00" Version="8,00"
Name="22.MaterialViewer_vc8" Name="22.MaterialViewer_vc8"
ProjectGUID="{0914E5C8-5352-467B-8421-C9EB35BD5596}" ProjectGUID="{2856AB41-9BC5-4716-9B35-762A65F6F5D1}"
RootNamespace="MaterialViewer_vc8" RootNamespace="MaterialViewer_vc8"
> >
<Platforms> <Platforms>
......
<?xml version="1.0" encoding="Windows-1252"?> <?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject <VisualStudioProject
ProjectType="Visual C++" ProjectType="Visual C++"
Version="8.00" Version="8,00"
Name="23.SMeshHandling_vc8" Name="23.SMeshHandling_vc8"
ProjectGUID="{EB3B38EA-5CE7-4983-845B-880661E69D09}" ProjectGUID="{08D2F676-9DEB-4443-AEF7-52CC6F7D5F7C}"
Keyword="Win32Proj" Keyword="Win32Proj"
> >
<Platforms> <Platforms>
......
<?xml version="1.0" encoding="Windows-1252"?> <?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject <VisualStudioProject
ProjectType="Visual C++" ProjectType="Visual C++"
Version="8.00" Version="8,00"
Name="24.CursorControl_vc8" Name="24.CursorControl_vc8"
ProjectGUID="{02B67A37-50E1-49db-BECF-905BC029C2FE}" ProjectGUID="{02B67A37-50E1-49DB-BECF-905BC029C2FE}"
Keyword="Win32Proj" Keyword="Win32Proj"
> >
<Platforms> <Platforms>
......
...@@ -66,6 +66,12 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "21.Quake3Explorer_vc8", "21 ...@@ -66,6 +66,12 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "21.Quake3Explorer_vc8", "21
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "17.HelloWorld for Windows Mobile on PC", "17.HelloWorld_Mobile\17. HelloWorld for Windows Mobile on PC_v8.vcproj", "{2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "17.HelloWorld for Windows Mobile on PC", "17.HelloWorld_Mobile\17. HelloWorld for Windows Mobile on PC_v8.vcproj", "{2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}"
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "22.MaterialViewer_vc8", "22.MaterialViewer\MaterialViewer_vc8.vcproj", "{2856AB41-9BC5-4716-9B35-762A65F6F5D1}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "23.SMeshHandling_vc8", "23.SMeshHandling\SMeshHandling_vc8.vcproj", "{08D2F676-9DEB-4443-AEF7-52CC6F7D5F7C}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "24.CursorControl_vc8", "24.CursorControl\CursorControl_vc8.vcproj", "{02B67A37-50E1-49DB-BECF-905BC029C2FE}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32 Debug|Win32 = Debug|Win32
...@@ -160,6 +166,18 @@ Global ...@@ -160,6 +166,18 @@ Global
{2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}.Debug|Win32.Build.0 = Debug|Win32 {2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}.Debug|Win32.Build.0 = Debug|Win32
{2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}.Release|Win32.ActiveCfg = Release|Win32 {2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}.Release|Win32.ActiveCfg = Release|Win32
{2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}.Release|Win32.Build.0 = Release|Win32 {2A29B6B1-AFC4-46C7-9944-7052AAE66F7B}.Release|Win32.Build.0 = Release|Win32
{2856AB41-9BC5-4716-9B35-762A65F6F5D1}.Debug|Win32.ActiveCfg = Debug|Win32
{2856AB41-9BC5-4716-9B35-762A65F6F5D1}.Debug|Win32.Build.0 = Debug|Win32
{2856AB41-9BC5-4716-9B35-762A65F6F5D1}.Release|Win32.ActiveCfg = Release|Win32
{2856AB41-9BC5-4716-9B35-762A65F6F5D1}.Release|Win32.Build.0 = Release|Win32
{08D2F676-9DEB-4443-AEF7-52CC6F7D5F7C}.Debug|Win32.ActiveCfg = Debug|Win32
{08D2F676-9DEB-4443-AEF7-52CC6F7D5F7C}.Debug|Win32.Build.0 = Debug|Win32
{08D2F676-9DEB-4443-AEF7-52CC6F7D5F7C}.Release|Win32.ActiveCfg = Release|Win32
{08D2F676-9DEB-4443-AEF7-52CC6F7D5F7C}.Release|Win32.Build.0 = Release|Win32
{02B67A37-50E1-49DB-BECF-905BC029C2FE}.Debug|Win32.ActiveCfg = Debug|Win32
{02B67A37-50E1-49DB-BECF-905BC029C2FE}.Debug|Win32.Build.0 = Debug|Win32
{02B67A37-50E1-49DB-BECF-905BC029C2FE}.Release|Win32.ActiveCfg = Release|Win32
{02B67A37-50E1-49DB-BECF-905BC029C2FE}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
......
...@@ -2580,9 +2580,6 @@ u32 CBurningVideoDriver::getMaximalPrimitiveCount() const ...@@ -2580,9 +2580,6 @@ u32 CBurningVideoDriver::getMaximalPrimitiveCount() const
//! volume. Next use IVideoDriver::drawStencilShadow() to visualize the shadow. //! volume. Next use IVideoDriver::drawStencilShadow() to visualize the shadow.
void CBurningVideoDriver::drawStencilShadowVolume(const core::vector3df* triangles, s32 count, bool zfail) void CBurningVideoDriver::drawStencilShadowVolume(const core::vector3df* triangles, s32 count, bool zfail)
{ {
if (!StencilBuffer || !count)
return;
IBurningShader *shader = BurningShader [ ETR_STENCIL_SHADOW ]; IBurningShader *shader = BurningShader [ ETR_STENCIL_SHADOW ];
CurrentShader = shader; CurrentShader = shader;
...@@ -2645,9 +2642,6 @@ void CBurningVideoDriver::drawStencilShadowVolume(const core::vector3df* triangl ...@@ -2645,9 +2642,6 @@ void CBurningVideoDriver::drawStencilShadowVolume(const core::vector3df* triangl
void CBurningVideoDriver::drawStencilShadow(bool clearStencilBuffer, video::SColor leftUpEdge, void CBurningVideoDriver::drawStencilShadow(bool clearStencilBuffer, video::SColor leftUpEdge,
video::SColor rightUpEdge, video::SColor leftDownEdge, video::SColor rightDownEdge) video::SColor rightUpEdge, video::SColor leftDownEdge, video::SColor rightDownEdge)
{ {
if (!StencilBuffer)
return;
// draw a shadow rectangle covering the entire screen using stencil buffer // draw a shadow rectangle covering the entire screen using stencil buffer
const u32 h = RenderTargetSurface->getDimension().Height; const u32 h = RenderTargetSurface->getDimension().Height;
const u32 w = RenderTargetSurface->getDimension().Width; const u32 w = RenderTargetSurface->getDimension().Width;
...@@ -2669,61 +2663,6 @@ void CBurningVideoDriver::drawStencilShadow(bool clearStencilBuffer, video::SCol ...@@ -2669,61 +2663,6 @@ void CBurningVideoDriver::drawStencilShadow(bool clearStencilBuffer, video::SCol
} }
StencilBuffer->clear(); StencilBuffer->clear();
#if 0
if (!StencilBuffer)
return;
disableTextures();
// store attributes
glPushAttrib(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_ENABLE_BIT | GL_POLYGON_BIT | GL_STENCIL_BUFFER_BIT);
glDisable(GL_LIGHTING);
glDisable(GL_FOG);
glDepthMask(GL_FALSE);
glShadeModel(GL_FLAT);
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_STENCIL_TEST);
glStencilFunc(GL_NOTEQUAL, 0, ~0);
glStencilOp(GL_KEEP, GL_KEEP, GL_KEEP);
// draw a shadow rectangle covering the entire screen using stencil buffer
glMatrixMode(GL_MODELVIEW);
glPushMatrix();
glLoadIdentity();
glMatrixMode(GL_PROJECTION);
glPushMatrix();
glLoadIdentity();
glBegin(GL_QUADS);
glColor4ub(leftDownEdge.getRed(), leftDownEdge.getGreen(), leftDownEdge.getBlue(), leftDownEdge.getAlpha());
glVertex3f(-1.f,-1.f,-0.9f);
glColor4ub(leftUpEdge.getRed(), leftUpEdge.getGreen(), leftUpEdge.getBlue(), leftUpEdge.getAlpha());
glVertex3f(-1.f, 1.f,-0.9f);
glColor4ub(rightUpEdge.getRed(), rightUpEdge.getGreen(), rightUpEdge.getBlue(), rightUpEdge.getAlpha());
glVertex3f(1.f, 1.f,-0.9f);
glColor4ub(rightDownEdge.getRed(), rightDownEdge.getGreen(), rightDownEdge.getBlue(), rightDownEdge.getAlpha());
glVertex3f(1.f,-1.f,-0.9f);
glEnd();
clearBuffers(false, false, clearStencilBuffer, 0x0);
// restore settings
glPopMatrix();
glMatrixMode(GL_MODELVIEW);
glPopMatrix();
glPopAttrib();
#endif
} }
......
...@@ -1705,6 +1705,14 @@ ...@@ -1705,6 +1705,14 @@
RelativePath="CImageLoaderBMP.h" RelativePath="CImageLoaderBMP.h"
> >
</File> </File>
<File
RelativePath=".\CImageLoaderDDS.cpp"
>
</File>
<File
RelativePath=".\CImageLoaderDDS.h"
>
</File>
<File <File
RelativePath="CImageLoaderJPG.cpp" RelativePath="CImageLoaderJPG.cpp"
> >
...@@ -1945,6 +1953,14 @@ ...@@ -1945,6 +1953,14 @@
RelativePath=".\CTRGouraudAlphaNoZ2.cpp" RelativePath=".\CTRGouraudAlphaNoZ2.cpp"
> >
</File> </File>
<File
RelativePath=".\CTRNormalMap.cpp"
>
</File>
<File
RelativePath=".\CTRStencilShadow.cpp"
>
</File>
<File <File
RelativePath=".\CTRTextureBlend.cpp" RelativePath=".\CTRTextureBlend.cpp"
> >
...@@ -2093,6 +2109,14 @@ ...@@ -2093,6 +2109,14 @@
RelativePath=".\C3DSMeshFileLoader.h" RelativePath=".\C3DSMeshFileLoader.h"
> >
</File> </File>
<File
RelativePath=".\CAnimatedMeshHalfLife.cpp"
>
</File>
<File
RelativePath=".\CAnimatedMeshHalfLife.h"
>
</File>
<File <File
RelativePath=".\CAnimatedMeshMD2.cpp" RelativePath=".\CAnimatedMeshMD2.cpp"
> >
...@@ -2755,19 +2779,19 @@ ...@@ -2755,19 +2779,19 @@
> >
</File> </File>
<File <File
RelativePath="CPakReader.cpp" RelativePath="CNPKReader.cpp"
> >
</File> </File>
<File <File
RelativePath="CPakReader.h" RelativePath="CNPKReader.h"
> >
</File> </File>
<File <File
RelativePath="CNPKReader.cpp" RelativePath="CPakReader.cpp"
> >
</File> </File>
<File <File
RelativePath="CNPKReader.h" RelativePath="CPakReader.h"
> >
</File> </File>
<File <File
...@@ -2790,6 +2814,14 @@ ...@@ -2790,6 +2814,14 @@
RelativePath="CTarReader.h" RelativePath="CTarReader.h"
> >
</File> </File>
<File
RelativePath=".\CWADReader.cpp"
>
</File>
<File
RelativePath=".\CWADReader.h"
>
</File>
<File <File
RelativePath="CWriteFile.cpp" RelativePath="CWriteFile.cpp"
> >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment