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