mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-25 08:53:44 +01:00
73 lines
1.4 KiB
C++
73 lines
1.4 KiB
C++
|
/*
|
||
|
* =====================================================================
|
||
|
* Version: 1.0
|
||
|
* Created: 23.08.2012 12:35:53
|
||
|
* Author: Miroslav Bendík
|
||
|
* Company: LinuxOS.sk
|
||
|
* =====================================================================
|
||
|
*/
|
||
|
|
||
|
#include "TileGenerator.h"
|
||
|
|
||
|
TileGenerator::TileGenerator():
|
||
|
m_bgColor("#ffffff"),
|
||
|
m_scaleColor("#000000"),
|
||
|
m_originColor("#ff0000"),
|
||
|
m_playerColor("#ff0000"),
|
||
|
m_drawOrigin(false),
|
||
|
m_drawPlayers(false),
|
||
|
m_drawScale(false),
|
||
|
m_drawUnderground(false)
|
||
|
|
||
|
{
|
||
|
}
|
||
|
|
||
|
TileGenerator::~TileGenerator()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void TileGenerator::setBgColor(const std::string &bgColor)
|
||
|
{
|
||
|
m_bgColor = bgColor;
|
||
|
}
|
||
|
|
||
|
void TileGenerator::setScaleColor(const std::string &scaleColor)
|
||
|
{
|
||
|
m_scaleColor = scaleColor;
|
||
|
}
|
||
|
|
||
|
void TileGenerator::setOriginColor(const std::string &originColor)
|
||
|
{
|
||
|
m_originColor = originColor;
|
||
|
}
|
||
|
|
||
|
void TileGenerator::setPlayerColor(const std::string &playerColor)
|
||
|
{
|
||
|
m_playerColor = playerColor;
|
||
|
}
|
||
|
|
||
|
void TileGenerator::setDrawOrigin(bool drawOrigin)
|
||
|
{
|
||
|
m_drawOrigin = drawOrigin;
|
||
|
}
|
||
|
|
||
|
void TileGenerator::setDrawPlayers(bool drawPlayers)
|
||
|
{
|
||
|
m_drawPlayers = drawPlayers;
|
||
|
}
|
||
|
|
||
|
void TileGenerator::setDrawScale(bool drawScale)
|
||
|
{
|
||
|
m_drawScale = drawScale;
|
||
|
}
|
||
|
|
||
|
void TileGenerator::setDrawUnderground(bool drawUnderground)
|
||
|
{
|
||
|
m_drawUnderground = drawUnderground;
|
||
|
}
|
||
|
|
||
|
void TileGenerator::generate(const std::string &/*input*/, const std::string &/*output*/)
|
||
|
{
|
||
|
}
|
||
|
|