1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-29 03:33:48 +00:00

show would map tile name when editing or selecting

This commit is contained in:
fgenesis 2023-01-31 00:52:11 +01:00
parent c606409403
commit 7d51a97145

View file

@ -917,6 +917,8 @@ void WorldMapRender::onUpdate(float dt)
{ {
if ((activeTile != selectedTile) && selectedTile->q) if ((activeTile != selectedTile) && selectedTile->q)
{ {
debugLog("selectedTile: " + selectedTile->name);
if(revMethod == REVEAL_DEFAULT) if(revMethod == REVEAL_DEFAULT)
clearVis(activeTile); clearVis(activeTile);
@ -1473,9 +1475,10 @@ void WorldMapRender::createGemHint(const std::string &gfx)
void WorldMapRender::updateEditor() void WorldMapRender::updateEditor()
{ {
std::ostringstream os; std::ostringstream os;
os << "EDITING... "; os << "EDITING...";
if(activeTile) if(activeTile)
{ {
os << " (" << activeTile->name << ")" << std::endl;
os << "x=" << activeTile->gridPos.x << "; y=" << activeTile->gridPos.y << std::endl; os << "x=" << activeTile->gridPos.x << "; y=" << activeTile->gridPos.y << std::endl;
os << "scale=" << activeTile->scale << "; scale2=" << activeTile->scale2; os << "scale=" << activeTile->scale << "; scale2=" << activeTile->scale2;
} }