summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/planet.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-09-19 23:50:28 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-09-19 23:50:28 +0200
commit7b6bbf79c4bb73013e2fe01f84f0025e7c06c00e (patch)
tree18196404b7f9a7c000f006076030e1d568302e5d /src/graphics/engine/planet.h
parent7479f486b671acb2a6aea2c84a56b383aaba00ca (diff)
downloadcolobot-7b6bbf79c4bb73013e2fe01f84f0025e7c06c00e.tar.gz
colobot-7b6bbf79c4bb73013e2fe01f84f0025e7c06c00e.tar.bz2
colobot-7b6bbf79c4bb73013e2fe01f84f0025e7c06c00e.zip
Namespace and styling fix
Diffstat (limited to 'src/graphics/engine/planet.h')
-rw-r--r--src/graphics/engine/planet.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/graphics/engine/planet.h b/src/graphics/engine/planet.h
index fd119f6..82c3aea 100644
--- a/src/graphics/engine/planet.h
+++ b/src/graphics/engine/planet.h
@@ -17,12 +17,14 @@
/**
* \file graphics/engine/planet.h
- * \brief Planet rendering - Gfx::CPlanet class
+ * \brief Planet rendering - CPlanet class
*/
#pragma once
+
#include "common/event.h"
+
#include "math/point.h"
#include <vector>
@@ -31,6 +33,7 @@
class CInstanceManager;
+// Graphics module namespace
namespace Gfx {
class CEngine;
@@ -79,7 +82,7 @@ struct Planet
class CPlanet
{
public:
- CPlanet(CInstanceManager* iMan, Gfx::CEngine* engine);
+ CPlanet(CInstanceManager* iMan, CEngine* engine);
~CPlanet();
//! Removes all the planets
@@ -107,12 +110,13 @@ protected:
protected:
CInstanceManager* m_iMan;
- Gfx::CEngine* m_engine;
+ CEngine* m_engine;
float m_time;
int m_mode;
- std::vector<Gfx::Planet> m_planet[2];
+ std::vector<Planet> m_planet[2];
bool m_planetExist;
};
-}; // namespace Gfx
+
+} // namespace Gfx