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:
parent
c606409403
commit
7d51a97145
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
@ -1476,6 +1478,7 @@ void WorldMapRender::updateEditor()
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue