colobot/src/graphics/engine/pyro.cpp

186 lines
3.9 KiB
C++
Raw Normal View History

// * 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/.
#include "graphics/engine/pyro.h"
#include "common/logger.h"
2012-09-19 21:50:28 +00:00
// Graphics module namespace
namespace Gfx {
CPyro::CPyro(CInstanceManager* iMan)
{
GetLogger()->Trace("CParticle::CPyro() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
CPyro::~CPyro()
{
GetLogger()->Trace("CPyro::~CPyro() stub!");
// TODO!
}
2012-09-19 21:50:28 +00:00
void CPyro::DeleteObject(bool all)
{
GetLogger()->Trace("CPyro::DeleteObject() stub!");
// TODO!
}
2012-09-19 21:50:28 +00:00
bool CPyro::Create(PyroType type, CObject* pObj, float force)
{
GetLogger()->Trace("CPyro::Create() stub!");
// TODO!
return true;
}
2012-09-19 21:50:28 +00:00
bool CPyro::EventProcess(const Event &event)
{
GetLogger()->Trace("CPyro::EventProcess() stub!\n");
// TODO!
return true;
}
2012-09-19 21:50:28 +00:00
Error CPyro::IsEnded()
{
GetLogger()->Trace("CPyro::IsEnded() stub!\n");
// TODO!
return ERR_OK;
}
2012-09-19 21:50:28 +00:00
void CPyro::CutObjectLink(CObject* pObj)
{
GetLogger()->Trace("CPyro::CutObjectLink() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
void CPyro::DisplayError(PyroType type, CObject* pObj)
{
GetLogger()->Trace("CPyro::DisplayError() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
bool CPyro::CreateLight(Math::Vector pos, float height)
{
GetLogger()->Trace("CPyro::CreateLight() stub!\n");
// TODO!
return true;
}
2012-09-19 21:50:28 +00:00
void CPyro::DeleteObject(bool primary, bool secondary)
{
GetLogger()->Trace("CPyro::DeleteObject() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
void CPyro::CreateTriangle(CObject* pObj, ObjectType oType, int part)
{
GetLogger()->Trace("CPyro::CreateTriangle() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
void CPyro::ExploStart()
{
GetLogger()->Trace("CPyro::ExploStart() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
void CPyro::ExploTerminate()
{
GetLogger()->Trace("CPyro::ExploTerminate() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
void CPyro::BurnStart()
{
GetLogger()->Trace("CPyro::BurnStart() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
void CPyro::BurnAddPart(int part, Math::Vector pos, Math::Vector angle)
{
GetLogger()->Trace("CPyro::BurnAddPart() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
void CPyro::BurnProgress()
{
GetLogger()->Trace("CPyro::BurnProgress() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
bool CPyro::BurnIsKeepPart(int part)
{
GetLogger()->Trace("CPyro::BurnIsKeepPart() stub!\n");
// TODO!
return true;
}
2012-09-19 21:50:28 +00:00
void CPyro::BurnTerminate()
{
GetLogger()->Trace("CPyro::BurnTerminate() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
void CPyro::FallStart()
{
GetLogger()->Trace("CPyro::FallStart() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
CObject* CPyro::FallSearchBeeExplo()
{
GetLogger()->Trace("CPyro::FallSearchBeeExplo() stub!\n");
// TODO!
return nullptr;
}
2012-09-19 21:50:28 +00:00
void CPyro::FallProgress(float rTime)
{
GetLogger()->Trace("CPyro::FallProgress() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
Error CPyro::FallIsEnded()
{
GetLogger()->Trace("CPyro::FallIsEnded() stub!\n");
// TODO!
return ERR_OK;
}
2012-09-19 21:50:28 +00:00
void CPyro::LightOperFlush()
{
GetLogger()->Trace("CPyro::LightOperFlush() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
void CPyro::LightOperAdd(float progress, float intensity, float r, float g, float b)
{
GetLogger()->Trace("CPyro::LightOperAdd() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
void CPyro::LightOperFrame(float rTime)
{
GetLogger()->Trace("CPyro::LightOperFrame() stub!\n");
// TODO!
}
2012-09-19 21:50:28 +00:00
} // namespace Gfx