1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

temporarily add TODO's

This commit is contained in:
Dydzio 2024-03-25 09:21:42 +01:00
parent 982e67cea8
commit 807035c321

View File

@ -636,7 +636,7 @@ void AdventureMapInterface::onTileHovered(const int3 &mapPos)
}
else
{
std::string hlp = CGI->mh->getTerrainDescr(mapPos, false);
std::string hlp = CGI->mh->getTerrainDescr(mapPos, false); //TODO: possible to get info about invisible tiles
GH.statusbar()->write(hlp);
}
@ -659,7 +659,7 @@ void AdventureMapInterface::onTileHovered(const int3 &mapPos)
const TerrainTile * t = LOCPLINT->cb->getTileForDimensionDoor(mapPos, LOCPLINT->localState->getCurrentHero());
int3 heroPosition = LOCPLINT->localState->getCurrentArmy()->getSightCenter();
if(t && t->isClear(LOCPLINT->cb->getTile(heroPosition))/* && isInScreenRange(hpos, mapPos)*/)
CCS->curh->set(Cursor::Map::TELEPORT);
CCS->curh->set(Cursor::Map::TELEPORT); //TODO: something wrong with beyond east spell range border cursor on arrogance after TP-ing near underground portal on previous day
else
CCS->curh->set(Cursor::Map::POINTER);
return;