diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8/examples/Demo/CMainMenu.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8/examples/Demo/CMainMenu.h b/libraries/irrlicht-1.8/examples/Demo/CMainMenu.h new file mode 100644 index 0000000..06a0d04 --- /dev/null +++ b/libraries/irrlicht-1.8/examples/Demo/CMainMenu.h | |||
@@ -0,0 +1,48 @@ | |||
1 | // This is a Demo of the Irrlicht Engine (c) 2005 by N.Gebhardt. | ||
2 | // This file is not documentated. | ||
3 | |||
4 | #ifndef __C_MAIN_MENU_H_INCLUDED__ | ||
5 | #define __C_MAIN_MENU_H_INCLUDED__ | ||
6 | |||
7 | #include <irrlicht.h> | ||
8 | |||
9 | using namespace irr; | ||
10 | |||
11 | class CMainMenu : public IEventReceiver | ||
12 | { | ||
13 | public: | ||
14 | |||
15 | CMainMenu(); | ||
16 | |||
17 | bool run(bool& outFullscreen, bool& outMusic, bool& outShadows, | ||
18 | bool& outAdditive, bool &outVSync, bool& outAA, | ||
19 | video::E_DRIVER_TYPE& outDriver); | ||
20 | |||
21 | virtual bool OnEvent(const SEvent& event); | ||
22 | |||
23 | private: | ||
24 | |||
25 | void setTransparency(); | ||
26 | |||
27 | gui::IGUIButton* startButton; | ||
28 | IrrlichtDevice *MenuDevice; | ||
29 | s32 selected; | ||
30 | bool start; | ||
31 | bool fullscreen; | ||
32 | bool music; | ||
33 | bool shadows; | ||
34 | bool additive; | ||
35 | bool transparent; | ||
36 | bool vsync; | ||
37 | bool aa; | ||
38 | |||
39 | scene::IAnimatedMesh* quakeLevel; | ||
40 | scene::ISceneNode* lightMapNode; | ||
41 | scene::ISceneNode* dynamicNode; | ||
42 | |||
43 | video::SColor SkinColor [ gui::EGDC_COUNT ]; | ||
44 | void getOriginalSkinColor(); | ||
45 | }; | ||
46 | |||
47 | #endif | ||
48 | |||