summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/lightning.cpp
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/lightning.cpp
parent7479f486b671acb2a6aea2c84a56b383aaba00ca (diff)
downloadcolobot-7b6bbf79c4bb73013e2fe01f84f0025e7c06c00e.tar.gz
colobot-7b6bbf79c4bb73013e2fe01f84f0025e7c06c00e.tar.bz2
colobot-7b6bbf79c4bb73013e2fe01f84f0025e7c06c00e.zip
Namespace and styling fix
Diffstat (limited to 'src/graphics/engine/lightning.cpp')
-rw-r--r--src/graphics/engine/lightning.cpp28
1 files changed, 17 insertions, 11 deletions
diff --git a/src/graphics/engine/lightning.cpp b/src/graphics/engine/lightning.cpp
index b6b111a..1b9cbf1 100644
--- a/src/graphics/engine/lightning.cpp
+++ b/src/graphics/engine/lightning.cpp
@@ -15,75 +15,81 @@
// * You should have received a copy of the GNU General Public License
// * along with this program. If not, see http://www.gnu.org/licenses/.
-// lightning.cpp (aka blitz.cpp)
#include "graphics/engine/lightning.h"
#include "common/logger.h"
-Gfx::CLightning::CLightning(CInstanceManager* iMan, Gfx::CEngine* engine)
+// Graphics module namespace
+namespace Gfx {
+
+
+CLightning::CLightning(CInstanceManager* iMan, CEngine* engine)
{
GetLogger()->Trace("CLightning::CLightning() stub!\n");
// TODO!
}
-Gfx::CLightning::~CLightning()
+CLightning::~CLightning()
{
GetLogger()->Trace("CLightning::~CLightning() stub!\n");
// TODO!
}
-void Gfx::CLightning::Flush()
+void CLightning::Flush()
{
GetLogger()->Trace("CLightning::Flush() stub!\n");
// TODO!
}
-bool Gfx::CLightning::EventProcess(const Event &event)
+bool CLightning::EventProcess(const Event &event)
{
GetLogger()->Trace("CLightning::EventProcess() stub!\n");
// TODO!
return true;
}
-bool Gfx::CLightning::Create(float sleep, float delay, float magnetic)
+bool CLightning::Create(float sleep, float delay, float magnetic)
{
GetLogger()->Trace("CLightning::Create() stub!\n");
// TODO!
return true;
}
-bool Gfx::CLightning::GetStatus(float &sleep, float &delay, float &magnetic, float &progress)
+bool CLightning::GetStatus(float &sleep, float &delay, float &magnetic, float &progress)
{
GetLogger()->Trace("CLightning::GetStatus() stub!\n");
// TODO!
return true;
}
-bool Gfx::CLightning::SetStatus(float sleep, float delay, float magnetic, float progress)
+bool CLightning::SetStatus(float sleep, float delay, float magnetic, float progress)
{
GetLogger()->Trace("CLightning::SetStatus() stub!\n");
// TODO!
return true;
}
-void Gfx::CLightning::Draw()
+void CLightning::Draw()
{
GetLogger()->Trace("CLightning::Draw() stub!\n");
// TODO!
}
-bool Gfx::CLightning::EventFrame(const Event &event)
+bool CLightning::EventFrame(const Event &event)
{
GetLogger()->Trace("CLightning::EventFrame() stub!\n");
// TODO!
return true;
}
-CObject* Gfx::CLightning::SearchObject(Math::Vector pos)
+CObject* CLightning::SearchObject(Math::Vector pos)
{
GetLogger()->Trace("CLightning::SearchObject() stub!\n");
// TODO!
return nullptr;
}
+
+
+} // namespace Gfx