diff options
author | David Walter Seikel | 2016-03-28 22:28:34 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-03-28 22:28:34 +1000 |
commit | 7028cbe09c688437910a25623098762bf0fa592d (patch) | |
tree | 10b5af58277d9880380c2251f109325542c4e6eb /libraries/irrlicht-1.8.1/examples/Demo/main.cpp | |
parent | Move lemon to the src/others directory. (diff) | |
download | SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.zip SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.gz SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.bz2 SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.xz |
Move Irrlicht to src/others.
Diffstat (limited to 'libraries/irrlicht-1.8.1/examples/Demo/main.cpp')
-rw-r--r-- | libraries/irrlicht-1.8.1/examples/Demo/main.cpp | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/libraries/irrlicht-1.8.1/examples/Demo/main.cpp b/libraries/irrlicht-1.8.1/examples/Demo/main.cpp deleted file mode 100644 index 3d26999..0000000 --- a/libraries/irrlicht-1.8.1/examples/Demo/main.cpp +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | // This is a Demo of the Irrlicht Engine (c) 2005-2009 by N.Gebhardt. | ||
2 | // This file is not documented. | ||
3 | |||
4 | #include <irrlicht.h> | ||
5 | #ifdef _IRR_WINDOWS_ | ||
6 | #include <windows.h> | ||
7 | #endif | ||
8 | |||
9 | #include <stdio.h> | ||
10 | |||
11 | #include "CMainMenu.h" | ||
12 | #include "CDemo.h" | ||
13 | |||
14 | using namespace irr; | ||
15 | |||
16 | #ifdef _WIN32 | ||
17 | |||
18 | #pragma comment(lib, "Irrlicht.lib") | ||
19 | INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT ) | ||
20 | #else | ||
21 | int main(int argc, char* argv[]) | ||
22 | #endif | ||
23 | { | ||
24 | bool fullscreen = false; | ||
25 | bool music = true; | ||
26 | bool shadows = false; | ||
27 | bool additive = false; | ||
28 | bool vsync = false; | ||
29 | bool aa = false; | ||
30 | |||
31 | #ifndef _IRR_WINDOWS_ | ||
32 | video::E_DRIVER_TYPE driverType = video::EDT_OPENGL; | ||
33 | #else | ||
34 | video::E_DRIVER_TYPE driverType = video::EDT_DIRECT3D9; | ||
35 | #endif | ||
36 | |||
37 | CMainMenu menu; | ||
38 | |||
39 | //#ifndef _DEBUG | ||
40 | if (menu.run(fullscreen, music, shadows, additive, vsync, aa, driverType)) | ||
41 | //#endif | ||
42 | { | ||
43 | CDemo demo(fullscreen, music, shadows, additive, vsync, aa, driverType); | ||
44 | demo.run(); | ||
45 | } | ||
46 | |||
47 | return 0; | ||
48 | } | ||
49 | |||