~baltix/+junk/irrlicht-test

« back to all changes in this revision

Viewing changes to include/EDeviceTypes.h

  • Committer: Mantas Kriaučiūnas
  • Date: 2011-07-18 13:06:25 UTC
  • Revision ID: mantas@akl.lt-20110718130625-c5pvifp61e7kj1ol
Included whole irrlicht SVN libraries to work around launchpad recipe issue with quilt, see https://answers.launchpad.net/launchpad/+question/165193

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __E_DEVICE_TYPES_H_INCLUDED__
 
2
#define __E_DEVICE_TYPES_H_INCLUDED__
 
3
 
 
4
namespace irr
 
5
{
 
6
 
 
7
        //! An enum for the different device types supported by the Irrlicht Engine.
 
8
        enum E_DEVICE_TYPE
 
9
        {
 
10
 
 
11
                //! A device native to Microsoft Windows
 
12
                /** This device uses the Win32 API and works in all versions of Windows. */
 
13
                EIDT_WIN32,
 
14
 
 
15
                //! A device native to Windows CE devices
 
16
                /** This device works on Windows Mobile, Pocket PC and Microsoft SmartPhone devices */
 
17
                EIDT_WINCE,
 
18
 
 
19
                //! A device native to Unix style operating systems.
 
20
                /** This device uses the X11 windowing system and works in Linux, Solaris, FreeBSD, OSX and
 
21
                other operating systems which support X11. */
 
22
                EIDT_X11,
 
23
 
 
24
                //! A device native to Mac OSX
 
25
                /** This device uses Apple's Cocoa API and works in Mac OSX 10.2 and above. */
 
26
                EIDT_OSX,
 
27
 
 
28
                //! A device which uses Simple DirectMedia Layer
 
29
                /** The SDL device works under all platforms supported by SDL but first must be compiled
 
30
                in by defining the IRR_USE_SDL_DEVICE macro in IrrCompileConfig.h */
 
31
                EIDT_SDL,
 
32
 
 
33
                //! A device for raw framebuffer access
 
34
                /** Best used with embedded devices and mobile systems.
 
35
                Does not need X11 or other graphical subsystems.
 
36
                May support hw-acceleration via OpenGL-ES for FBDirect */
 
37
                EIDT_FRAMEBUFFER,
 
38
 
 
39
                //! A simple text only device supported by all platforms.
 
40
                /** This device allows applications to run from the command line without opening a window.
 
41
                It can render the output of the software drivers to the console as ASCII. It only supports
 
42
                mouse and keyboard in Windows operating systems. */
 
43
                EIDT_CONSOLE,
 
44
 
 
45
                //! This selection allows Irrlicht to choose the best device from the ones available.
 
46
                /** If this selection is chosen then Irrlicht will try to use the IrrlichtDevice native
 
47
                to your operating system. If this is unavailable then the X11, SDL and then console device
 
48
                will be tried. This ensures that Irrlicht will run even if your platform is unsupported,
 
49
                although it may not be able to render anything. */
 
50
                EIDT_BEST
 
51
        };
 
52
 
 
53
} // end namespace irr
 
54
 
 
55
#endif // __E_DEVICE_TYPES_H_INCLUDED__
 
56