diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-07-01 01:37:30 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-07-01 01:37:30 +0200 |
commit | 9bd4ec03b272e7925b11c3efc2bd8460894ea589 (patch) | |
tree | f97339cd526e4240d2fc5932a263fb84cbec93d8 /src/graphics/common/engine.cpp | |
parent | 5bbf897fb1d54df0dc84a0cea35775083591b88f (diff) | |
download | colobot-9bd4ec03b272e7925b11c3efc2bd8460894ea589.tar.gz colobot-9bd4ec03b272e7925b11c3efc2bd8460894ea589.tar.bz2 colobot-9bd4ec03b272e7925b11c3efc2bd8460894ea589.zip |
CDevice interface and stub of implementation
- added CDevice abstract interface
- began implementation of CGLDevice
- added stub for Texture struct
- created CGLDeviceConfig
- changed particule -> particle & other minor changes
Diffstat (limited to 'src/graphics/common/engine.cpp')
-rw-r--r-- | src/graphics/common/engine.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/graphics/common/engine.cpp b/src/graphics/common/engine.cpp index 3b9a89d..9906a0a 100644 --- a/src/graphics/common/engine.cpp +++ b/src/graphics/common/engine.cpp @@ -35,6 +35,17 @@ Gfx::CEngine::~CEngine() // TODO } +std::string Gfx::CEngine::RetError() +{ + return m_error; +} + +int Gfx::CEngine::OneTimeSceneInit() +{ + // TODO + return 1; +} + int Gfx::CEngine::Render() { /* Just a hello world for now */ @@ -71,3 +82,5 @@ int Gfx::CEngine::Render() return 1; } + + |