From 9bd4ec03b272e7925b11c3efc2bd8460894ea589 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Sun, 1 Jul 2012 01:37:30 +0200 Subject: 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 --- src/graphics/common/engine.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/graphics/common/engine.cpp') 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; } + + -- cgit v1.2.3-1-g7c22