mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-13 01:20:34 +02:00
A little TODO
This commit is contained in:
@ -3076,8 +3076,12 @@ const SectorMap::TSectorID &SectorMap::retreiveTileN(const SectorMap::TSectorArr
|
|||||||
void SectorMap::clear()
|
void SectorMap::clear()
|
||||||
{
|
{
|
||||||
//TODO: rotate to [z][x][y]
|
//TODO: rotate to [z][x][y]
|
||||||
//TODO: any magic to automate this?
|
|
||||||
auto fow = cb->getVisibilityMap();
|
auto fow = cb->getVisibilityMap();
|
||||||
|
//TODO: any magic to automate this? will need array->array conversion
|
||||||
|
//std::transform(fow.begin(), fow.end(), sector.begin(), [](const ui8 &f) -> unsigned short
|
||||||
|
//{
|
||||||
|
// return f; //type conversion
|
||||||
|
//});
|
||||||
auto width = fow.size();
|
auto width = fow.size();
|
||||||
auto height = fow.front().size();
|
auto height = fow.front().size();
|
||||||
auto depth = fow.front().front().size();
|
auto depth = fow.front().front().size();
|
||||||
|
Reference in New Issue
Block a user