Colobot
|
General config for graphics device. More...
#include <device.h>
Public Member Functions | |
void | LoadDefault () |
Loads the default values. | |
Public Attributes | |
Math::IntPoint | size = Math::IntPoint(800, 600) |
Screen size. | |
int | bpp = 32 |
Bits per pixel. | |
bool | fullScreen = false |
Full screen. | |
bool | resizeable = true |
Resizeable window. | |
bool | doubleBuf = true |
Double buffering. | |
bool | noFrame = false |
No window frame (also set with full screen) | |
int | redSize = 8 |
Size of red channel in bits. | |
int | greenSize = 8 |
Size of green channel in bits. | |
int | blueSize = 8 |
Size of blue channel in bits. | |
int | alphaSize = 8 |
Size of alpha channel in bits. | |
int | depthSize = 24 |
Color depth in bits. | |
int | stencilSize = 8 |
Stencil depth in bits. | |
bool | hardwareAccel = true |
Force hardware acceleration (video mode set will fail on lack of hw accel) | |
General config for graphics device.
These settings are common window options set by SDL.