From 7028cbe09c688437910a25623098762bf0fa592d Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 28 Mar 2016 22:28:34 +1000 Subject: Move Irrlicht to src/others. --- .../irrlicht-1.8.1/examples/Demo/CMainMenu.h | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/others/irrlicht-1.8.1/examples/Demo/CMainMenu.h (limited to 'src/others/irrlicht-1.8.1/examples/Demo/CMainMenu.h') 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 @@ +// This is a Demo of the Irrlicht Engine (c) 2005 by N.Gebhardt. +// This file is not documentated. + +#ifndef __C_MAIN_MENU_H_INCLUDED__ +#define __C_MAIN_MENU_H_INCLUDED__ + +#include + +using namespace irr; + +class CMainMenu : public IEventReceiver +{ +public: + + CMainMenu(); + + bool run(bool& outFullscreen, bool& outMusic, bool& outShadows, + bool& outAdditive, bool &outVSync, bool& outAA, + video::E_DRIVER_TYPE& outDriver); + + virtual bool OnEvent(const SEvent& event); + +private: + + void setTransparency(); + + gui::IGUIButton* startButton; + IrrlichtDevice *MenuDevice; + s32 selected; + bool start; + bool fullscreen; + bool music; + bool shadows; + bool additive; + bool transparent; + bool vsync; + bool aa; + + scene::IAnimatedMesh* quakeLevel; + scene::ISceneNode* lightMapNode; + scene::ISceneNode* dynamicNode; + + video::SColor SkinColor [ gui::EGDC_COUNT ]; + void getOriginalSkinColor(); +}; + +#endif + -- cgit v1.1