#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
//! 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
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
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
/** 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
/** 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
/** If this is set to a value other than 0, the Irrlicht Engine\r
will be created in an already existing window.\r
For Windows, set this to the HWND of the window you want.\r
- For iOS, assign UIView to this variable.\r
The windowSize and FullScreen options will be ignored when using\r
the WindowId parameter. Default this is set to 0.\r
To make Irrlicht run inside the custom window, you still will\r