diff options
Diffstat (limited to 'ClientHamr/extantz/CDemo.h')
-rw-r--r-- | ClientHamr/extantz/CDemo.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/ClientHamr/extantz/CDemo.h b/ClientHamr/extantz/CDemo.h deleted file mode 100644 index 035c01f..0000000 --- a/ClientHamr/extantz/CDemo.h +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | // This is a Demo of the Irrlicht Engine (c) 2006 by N.Gebhardt. | ||
2 | // This file is not documented. | ||
3 | |||
4 | #ifndef __C_DEMO_H_INCLUDED__ | ||
5 | #define __C_DEMO_H_INCLUDED__ | ||
6 | |||
7 | #ifdef _IRR_WINDOWS_ | ||
8 | #include <windows.h> | ||
9 | #endif | ||
10 | |||
11 | const int CAMERA_COUNT = 7; | ||
12 | |||
13 | class CDemo : public IEventReceiver | ||
14 | { | ||
15 | public: | ||
16 | |||
17 | CDemo(GLData *gld, bool additive); | ||
18 | |||
19 | ~CDemo(); | ||
20 | |||
21 | void setup(GLData *gld); | ||
22 | void preDraw(GLData *gld, u32 now); | ||
23 | |||
24 | virtual bool OnEvent(const SEvent& event); | ||
25 | |||
26 | private: | ||
27 | |||
28 | void createLoadingScreen(); | ||
29 | void loadSceneData(); | ||
30 | void switchToNextScene(GLData *gld); | ||
31 | void shoot(); | ||
32 | void createParticleImpacts(); | ||
33 | |||
34 | bool additive; | ||
35 | IrrlichtDevice *device; | ||
36 | |||
37 | struct SParticleImpact | ||
38 | { | ||
39 | u32 when; | ||
40 | core::vector3df pos; | ||
41 | core::vector3df outVector; | ||
42 | }; | ||
43 | |||
44 | int currentScene; | ||
45 | |||
46 | scene::IQ3LevelMesh* quakeLevelMesh; | ||
47 | scene::ISceneNode* quakeLevelNode; | ||
48 | scene::ISceneNode* skyboxNode; | ||
49 | scene::IAnimatedMeshSceneNode* model1; | ||
50 | scene::IAnimatedMeshSceneNode* model2; | ||
51 | scene::IParticleSystemSceneNode* campFire; | ||
52 | |||
53 | scene::IMetaTriangleSelector* metaSelector; | ||
54 | scene::ITriangleSelector* mapSelector; | ||
55 | |||
56 | s32 sceneStartTime; | ||
57 | s32 timeForThisScene; | ||
58 | |||
59 | core::array<SParticleImpact> Impacts; | ||
60 | }; | ||
61 | |||
62 | #endif | ||
63 | |||