diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-25 19:59:17 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-25 19:59:17 +0200 |
commit | b08a63790c0fbeacb3f96a74e3eb15abe8c70dab (patch) | |
tree | 7260140ae1ea308bd256370c6fcbbc57dbd13441 /src/graphics/common/device.cpp | |
parent | f58918031c001a0159eaf8f18d4e451e70089d30 (diff) | |
download | colobot-b08a63790c0fbeacb3f96a74e3eb15abe8c70dab.tar.gz colobot-b08a63790c0fbeacb3f96a74e3eb15abe8c70dab.tar.bz2 colobot-b08a63790c0fbeacb3f96a74e3eb15abe8c70dab.zip |
SDL project
- added (very basic) SDL template in CApplication and CEngine
- split project into two targets: colobot_old (dependent on DirectX and WinAPI)
and colobot_new (dependent on SDL and OpenGL)
- moved sound.h/cpp to old/ and created new template in Snd namespace
- added platform-independent dialog boxes in app/system.h/cpp
Diffstat (limited to 'src/graphics/common/device.cpp')
-rw-r--r-- | src/graphics/common/device.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/graphics/common/device.cpp b/src/graphics/common/device.cpp new file mode 100644 index 0000000..2e3db61 --- /dev/null +++ b/src/graphics/common/device.cpp @@ -0,0 +1,14 @@ +#include "graphics/common/device.h" + +//! Sets the default values +Gfx::DeviceConfig::DeviceConfig() +{ + width = 800; + height = 600; + bpp = 16; + fullScreen = false; + resizeable = false; + hardwareAccel = true; + doubleBuf = true; + noFrame = false; +}
\ No newline at end of file |