summaryrefslogtreecommitdiffstats
path: root/src/graphics/opengl
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-06-22 16:31:55 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-06-22 16:31:55 +0200
commit8bb223e67955904c14e26a980927d313272ed22b (patch)
treeaa59cbd36f30485af4720f1055ad6be92caf88ef /src/graphics/opengl
parent4531ac88d3c022866d564be40c20593de4c70bfc (diff)
downloadcolobot-8bb223e67955904c14e26a980927d313272ed22b.tar.gz
colobot-8bb223e67955904c14e26a980927d313272ed22b.tar.bz2
colobot-8bb223e67955904c14e26a980927d313272ed22b.zip
Templates for new implementation
- added template of classes/structs for new implementation - changed #include paths - updated README files
Diffstat (limited to 'src/graphics/opengl')
-rw-r--r--src/graphics/opengl/README.txt6
-rw-r--r--src/graphics/opengl/glengine.h32
2 files changed, 38 insertions, 0 deletions
diff --git a/src/graphics/opengl/README.txt b/src/graphics/opengl/README.txt
new file mode 100644
index 0000000..11aba8d
--- /dev/null
+++ b/src/graphics/opengl/README.txt
@@ -0,0 +1,6 @@
+src/graphics/opengl
+
+OpenGL engine implementation
+
+Contains the concreate implementation using OpenGL of functions
+of grahpics engine in graphics/common.
diff --git a/src/graphics/opengl/glengine.h b/src/graphics/opengl/glengine.h
new file mode 100644
index 0000000..fa67bfe
--- /dev/null
+++ b/src/graphics/opengl/glengine.h
@@ -0,0 +1,32 @@
+// * This file is part of the COLOBOT source code
+// * Copyright (C) 2012, Polish Portal of Colobot (PPC)
+// *
+// * This program is free software: you can redistribute it and/or modify
+// * it under the terms of the GNU General Public License as published by
+// * the Free Software Foundation, either version 3 of the License, or
+// * (at your option) any later version.
+// *
+// * This program is distributed in the hope that it will be useful,
+// * but WITHOUT ANY WARRANTY; without even the implied warranty of
+// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// * GNU General Public License for more details.
+// *
+// * You should have received a copy of the GNU General Public License
+// * along with this program. If not, see http://www.gnu.org/licenses/.
+
+// glengine.h
+
+#pragma once
+
+
+#include "graphics/common/engine.h"
+
+namespace Gfx
+{
+
+class CGLEngine : public Gfx::CEngine
+{
+ // TODO
+};
+
+};