2012-06-22 14:31:55 +00:00
|
|
|
// * This file is part of the COLOBOT source code
|
|
|
|
// * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
|
|
|
|
// * 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/.
|
|
|
|
|
|
|
|
// lightning.cpp (aka blitz.cpp)
|
|
|
|
|
2012-07-26 20:26:19 +00:00
|
|
|
#include "graphics/engine/lightning.h"
|
2012-06-22 14:31:55 +00:00
|
|
|
|
2012-08-09 20:50:04 +00:00
|
|
|
#include "common/logger.h"
|
2012-06-22 14:31:55 +00:00
|
|
|
|
2012-08-09 20:50:04 +00:00
|
|
|
|
|
|
|
Gfx::CLightning::CLightning(CInstanceManager* iMan, Gfx::CEngine* engine)
|
|
|
|
{
|
2012-08-12 17:28:22 +00:00
|
|
|
GetLogger()->Trace("CLightning::CLightning() stub!\n");
|
2012-08-09 20:50:04 +00:00
|
|
|
// TODO!
|
|
|
|
}
|
|
|
|
|
|
|
|
Gfx::CLightning::~CLightning()
|
|
|
|
{
|
2012-08-12 17:28:22 +00:00
|
|
|
GetLogger()->Trace("CLightning::~CLightning() stub!\n");
|
2012-08-09 20:50:04 +00:00
|
|
|
// TODO!
|
|
|
|
}
|
|
|
|
|
|
|
|
void Gfx::CLightning::Flush()
|
|
|
|
{
|
2012-08-12 17:28:22 +00:00
|
|
|
GetLogger()->Trace("CLightning::Flush() stub!\n");
|
2012-08-09 20:50:04 +00:00
|
|
|
// TODO!
|
|
|
|
}
|
|
|
|
|
|
|
|
bool Gfx::CLightning::EventProcess(const Event &event)
|
|
|
|
{
|
2012-08-12 17:28:22 +00:00
|
|
|
GetLogger()->Trace("CLightning::EventProcess() stub!\n");
|
2012-08-09 20:50:04 +00:00
|
|
|
// TODO!
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool Gfx::CLightning::Create(float sleep, float delay, float magnetic)
|
|
|
|
{
|
2012-08-12 17:28:22 +00:00
|
|
|
GetLogger()->Trace("CLightning::Create() stub!\n");
|
2012-08-09 20:50:04 +00:00
|
|
|
// TODO!
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool Gfx::CLightning::GetStatus(float &sleep, float &delay, float &magnetic, float &progress)
|
|
|
|
{
|
2012-08-12 17:28:22 +00:00
|
|
|
GetLogger()->Trace("CLightning::GetStatus() stub!\n");
|
2012-08-09 20:50:04 +00:00
|
|
|
// TODO!
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool Gfx::CLightning::SetStatus(float sleep, float delay, float magnetic, float progress)
|
|
|
|
{
|
2012-08-12 17:28:22 +00:00
|
|
|
GetLogger()->Trace("CLightning::SetStatus() stub!\n");
|
2012-08-09 20:50:04 +00:00
|
|
|
// TODO!
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Gfx::CLightning::Draw()
|
|
|
|
{
|
2012-08-12 17:28:22 +00:00
|
|
|
GetLogger()->Trace("CLightning::Draw() stub!\n");
|
2012-08-09 20:50:04 +00:00
|
|
|
// TODO!
|
|
|
|
}
|
|
|
|
|
|
|
|
bool Gfx::CLightning::EventFrame(const Event &event)
|
|
|
|
{
|
2012-08-12 17:28:22 +00:00
|
|
|
GetLogger()->Trace("CLightning::EventFrame() stub!\n");
|
2012-08-09 20:50:04 +00:00
|
|
|
// TODO!
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
CObject* Gfx::CLightning::SearchObject(Math::Vector pos)
|
|
|
|
{
|
2012-08-12 17:28:22 +00:00
|
|
|
GetLogger()->Trace("CLightning::SearchObject() stub!\n");
|
2012-08-09 20:50:04 +00:00
|
|
|
// TODO!
|
|
|
|
return nullptr;
|
|
|
|
}
|