文件名称:ParallelWorld
介绍说明--下载内容均来自于网络,请自行研究使用
一个用DirectX9编写的3D小游戏,虽然功能不多,但是基本的倒影,人物行走,对话等都实现。-RView::CRView()
{
// TODO: add construction code here
}
CRView::~CRView()
{
}
BOOL CRView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
cs.style|=WS_CLIPSIBLINGS|WS_CLIPCHILDREN
return CView::PreCreateWindow(cs)
}
/////////////////////////////////////////////////////////////////////////////
// CRView drawing
void CRView::OnDraw(CDC* pDC)
{
CRDoc* pDoc = GetDocument()
ASSERT_VALID(pDoc)
// TODO: add draw code for native data here
}
/////////////////////////////////////////////////////////////////////////////
// CRView printing
BOOL CRView::OnPreparePrinting(CPrintInfo* pInfo)
{
// default preparation
return DoPreparePrinting(pInfo)
}
void CRView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
// TODO: add extra initialization before printing
}
void CRView::OnEndPrinting(CDC* /*
{
// TODO: add construction code here
}
CRView::~CRView()
{
}
BOOL CRView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
cs.style|=WS_CLIPSIBLINGS|WS_CLIPCHILDREN
return CView::PreCreateWindow(cs)
}
/////////////////////////////////////////////////////////////////////////////
// CRView drawing
void CRView::OnDraw(CDC* pDC)
{
CRDoc* pDoc = GetDocument()
ASSERT_VALID(pDoc)
// TODO: add draw code for native data here
}
/////////////////////////////////////////////////////////////////////////////
// CRView printing
BOOL CRView::OnPreparePrinting(CPrintInfo* pInfo)
{
// default preparation
return DoPreparePrinting(pInfo)
}
void CRView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
// TODO: add extra initialization before printing
}
void CRView::OnEndPrinting(CDC* /*
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Parallel World
..............\GameRes Readme.txt
..............\just a demo
..............\...........\angelscript.h
..............\...........\angelscript.lib
..............\...........\App.cpp
..............\...........\App.h
..............\...........\Camera.cpp
..............\...........\Camera.h
..............\...........\Common.h
..............\...........\d3dx9_32.dll
..............\...........\Data
..............\...........\....\GUI
..............\...........\....\...\checkbox.bmp
..............\...........\....\...\mouse1.bmp
..............\...........\....\...\mouse2.png
..............\...........\....\...\panel.bmp
..............\...........\....\Object
..............\...........\....\......\dirt.dds
..............\...........\....\......\flare0.dds
..............\...........\....\......\flare3.dds
..............\...........\....\......\flare4.dds
..............\...........\....\......\fungus.dds
..............\...........\....\......\grass02.dds
..............\...........\....\......\grasslayer.dds
..............\...........\....\......\Halo.dds
..............\...........\....\......\terrain.raw
..............\...........\....\......\tone.png
..............\...........\....\......\water.raw
..............\...........\....\......\watermap.jpg
..............\...........\....\......\wave.dds
..............\...........\....\Script
..............\...........\....\......\mm.as
..............\...........\....\......\monster.as
..............\...........\....\......\panda.as
..............\...........\....\Shader
..............\...........\....\......\Entity.fx
..............\...........\....\......\Grass.fx
..............\...........\....\......\SkinnedMesh.fx
..............\...........\....\......\Sky.fx
..............\...........\....\......\Terrain.fx
..............\...........\....\......\Water.fx
..............\...........\....\XML
..............\...........\....\...\entity.xml
..............\...........\....\...\lensflare.xml
..............\...........\....\...\skinnedmesh.xml
..............\...........\....\...\sky.xml
..............\...........\....\...\terrain.xml
..............\...........\....\...\water.xml
..............\...........\Demo.cpp
..............\...........\Dialog.cpp
..............\...........\Dialog.h
..............\...........\DragonWhelp.x
..............\...........\Entity.cpp
..............\...........\Entity.h
..............\...........\EntityManager.cpp
..............\...........\EntityManager.h
..............\...........\fpd.x
..............\...........\Frustum.cpp
..............\...........\Frustum.h
..............\...........\Geometry.cpp
..............\...........\Geometry.h
..............\...........\Graphic.cpp
..............\...........\Graphic.h
..............\...........\Grass.cpp
..............\...........\Grass.h
..............\...........\Gui.cpp
..............\...........\Gui.h
..............\...........\GuiCtrl.cpp
..............\...........\GuiCtrl.h
..............\...........\jingtian.x
..............\...........\jingtianjian.jpg
..............\...........\just a demo.exe
..............\...........\just a demo.vcproj
..............\...........\LensFlare.cpp
..............\...........\LensFlare.h
..............\...........\Light.cpp
..............\...........\Light.h
..............\...........\LightHouse.x
..............\...........\LightHouse_1.png
..............\...........\LightHouse_10.png
..............\...........\LightHouse_11.png
..............\...........\LightHouse_12.png
..............\...........\LightHouse_13.png
..............\...........\LightHouse_14.png
..............\...........\LightHouse_2.png
..............\...........\LightHouse_3.png
..............\...........\LightHouse_4.png
..............\GameRes Readme.txt
..............\just a demo
..............\...........\angelscript.h
..............\...........\angelscript.lib
..............\...........\App.cpp
..............\...........\App.h
..............\...........\Camera.cpp
..............\...........\Camera.h
..............\...........\Common.h
..............\...........\d3dx9_32.dll
..............\...........\Data
..............\...........\....\GUI
..............\...........\....\...\checkbox.bmp
..............\...........\....\...\mouse1.bmp
..............\...........\....\...\mouse2.png
..............\...........\....\...\panel.bmp
..............\...........\....\Object
..............\...........\....\......\dirt.dds
..............\...........\....\......\flare0.dds
..............\...........\....\......\flare3.dds
..............\...........\....\......\flare4.dds
..............\...........\....\......\fungus.dds
..............\...........\....\......\grass02.dds
..............\...........\....\......\grasslayer.dds
..............\...........\....\......\Halo.dds
..............\...........\....\......\terrain.raw
..............\...........\....\......\tone.png
..............\...........\....\......\water.raw
..............\...........\....\......\watermap.jpg
..............\...........\....\......\wave.dds
..............\...........\....\Script
..............\...........\....\......\mm.as
..............\...........\....\......\monster.as
..............\...........\....\......\panda.as
..............\...........\....\Shader
..............\...........\....\......\Entity.fx
..............\...........\....\......\Grass.fx
..............\...........\....\......\SkinnedMesh.fx
..............\...........\....\......\Sky.fx
..............\...........\....\......\Terrain.fx
..............\...........\....\......\Water.fx
..............\...........\....\XML
..............\...........\....\...\entity.xml
..............\...........\....\...\lensflare.xml
..............\...........\....\...\skinnedmesh.xml
..............\...........\....\...\sky.xml
..............\...........\....\...\terrain.xml
..............\...........\....\...\water.xml
..............\...........\Demo.cpp
..............\...........\Dialog.cpp
..............\...........\Dialog.h
..............\...........\DragonWhelp.x
..............\...........\Entity.cpp
..............\...........\Entity.h
..............\...........\EntityManager.cpp
..............\...........\EntityManager.h
..............\...........\fpd.x
..............\...........\Frustum.cpp
..............\...........\Frustum.h
..............\...........\Geometry.cpp
..............\...........\Geometry.h
..............\...........\Graphic.cpp
..............\...........\Graphic.h
..............\...........\Grass.cpp
..............\...........\Grass.h
..............\...........\Gui.cpp
..............\...........\Gui.h
..............\...........\GuiCtrl.cpp
..............\...........\GuiCtrl.h
..............\...........\jingtian.x
..............\...........\jingtianjian.jpg
..............\...........\just a demo.exe
..............\...........\just a demo.vcproj
..............\...........\LensFlare.cpp
..............\...........\LensFlare.h
..............\...........\Light.cpp
..............\...........\Light.h
..............\...........\LightHouse.x
..............\...........\LightHouse_1.png
..............\...........\LightHouse_10.png
..............\...........\LightHouse_11.png
..............\...........\LightHouse_12.png
..............\...........\LightHouse_13.png
..............\...........\LightHouse_14.png
..............\...........\LightHouse_2.png
..............\...........\LightHouse_3.png
..............\...........\LightHouse_4.png