aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/examples/Demo/CMainMenu.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-28 22:28:34 +1000
committerDavid Walter Seikel2016-03-28 22:28:34 +1000
commit7028cbe09c688437910a25623098762bf0fa592d (patch)
tree10b5af58277d9880380c2251f109325542c4e6eb /src/others/irrlicht-1.8.1/examples/Demo/CMainMenu.h
parentMove lemon to the src/others directory. (diff)
downloadSledjHamr-7028cbe09c688437910a25623098762bf0fa592d.zip
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.gz
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.bz2
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.xz
Move Irrlicht to src/others.
Diffstat (limited to 'src/others/irrlicht-1.8.1/examples/Demo/CMainMenu.h')
-rw-r--r--src/others/irrlicht-1.8.1/examples/Demo/CMainMenu.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/examples/Demo/CMainMenu.h b/src/others/irrlicht-1.8.1/examples/Demo/CMainMenu.h
new file mode 100644
index 0000000..06a0d04
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/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
9using namespace irr;
10
11class CMainMenu : public IEventReceiver
12{
13public:
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
23private:
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