]> git.lizzy.rs Git - irrlicht.git/blobdiff - include/SIrrCreationParameters.h
Drop obsolete video drivers
[irrlicht.git] / include / SIrrCreationParameters.h
index f07cdf7d4314d3c6817f31b02bc8078596d6b01e..743960489bcdd504023570537d288e7b4c7ca6a3 100644 (file)
@@ -11,7 +11,7 @@
 #include "ILogger.h"\r
 #include "position2d.h"\r
 #include "path.h"\r
-#include "IrrCompileConfig.h"\r
+#include "IrrCompileConfig.h" // for IRRLICHT_SDK_VERSION\r
 \r
 namespace irr\r
 {\r
@@ -24,12 +24,13 @@ namespace irr
                //! Constructs a SIrrlichtCreationParameters structure with default values.\r
                SIrrlichtCreationParameters() :\r
                        DeviceType(EIDT_BEST),\r
-                       DriverType(video::EDT_BURNINGSVIDEO),\r
+                       DriverType(video::EDT_OPENGL),\r
                        WindowSize(core::dimension2d<u32>(800, 600)),\r
                        WindowPosition(core::position2di(-1,-1)),\r
                        Bits(32),\r
                        ZBufferBits(24),\r
                        Fullscreen(false),\r
+                       WindowMaximized(false),\r
                        WindowResizable(2),\r
                        Stencilbuffer(true),\r
                        Vsync(false),\r
@@ -52,7 +53,7 @@ namespace irr
                        UsePerformanceTimer(true),\r
                        SDK_version_do_not_use(IRRLICHT_SDK_VERSION),\r
                        PrivateData(0),\r
-#if defined(_IRR_COMPILE_WITH_IOS_DEVICE_) || defined(_IRR_ANDROID_PLATFORM_) || defined(_IRR_EMSCRIPTEN_PLATFORM_)\r
+#ifdef IRR_MOBILE_PATHS\r
                        OGLES2ShaderPath("media/Shaders/")\r
 #else\r
                        OGLES2ShaderPath("../../media/Shaders/")\r
@@ -73,6 +74,7 @@ namespace irr
                        Bits = other.Bits;\r
                        ZBufferBits = other.ZBufferBits;\r
                        Fullscreen = other.Fullscreen;\r
+                       WindowMaximized = other.WindowMaximized;\r
                        WindowResizable = other.WindowResizable;\r
                        Stencilbuffer = other.Stencilbuffer;\r
                        Vsync = other.Vsync;\r
@@ -98,11 +100,9 @@ namespace irr
                /** This setting decides the windowing system used by the device, most device types are native\r
                to a specific operating system and so may not be available.\r
                EIDT_WIN32 is only available on Windows desktops,\r
-               EIDT_WINCE is only available on Windows mobile devices,\r
                EIDT_COCOA is only available on Mac OSX,\r
                EIDT_X11 is available on Linux, Solaris, BSD and other operating systems which use X11,\r
                EIDT_SDL is available on most systems if compiled in,\r
-               EIDT_CONSOLE is usually available but can only render to text,\r
                EIDT_BEST will select the best available device for your operating system.\r
                Default: EIDT_BEST. */\r
                E_DEVICE_TYPE DeviceType;\r
@@ -129,6 +129,9 @@ namespace irr
                /** Otherwise the device runs in windowed mode. Default: false. */\r
                bool Fullscreen;\r
 \r
+               //! Maximised window. (Only supported on SDL.) Default: false\r
+               bool WindowMaximized;\r
+\r
                //! Should a non-fullscreen window be resizable.\r
                /** Might not be supported by all devices. Ignored when Fullscreen is true.\r
                Values: 0 = not resizable, 1 = resizable, 2 = system decides default itself\r