mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-25 09:44:02 +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)
|
||||
{
|
||||
debugLog("selectedTile: " + selectedTile->name);
|
||||
|
||||
if(revMethod == REVEAL_DEFAULT)
|
||||
clearVis(activeTile);
|
||||
|
||||
|
@ -1473,9 +1475,10 @@ void WorldMapRender::createGemHint(const std::string &gfx)
|
|||
void WorldMapRender::updateEditor()
|
||||
{
|
||||
std::ostringstream os;
|
||||
os << "EDITING... ";
|
||||
os << "EDITING...";
|
||||
if(activeTile)
|
||||
{
|
||||
os << " (" << activeTile->name << ")" << std::endl;
|
||||
os << "x=" << activeTile->gridPos.x << "; y=" << activeTile->gridPos.y << std::endl;
|
||||
os << "scale=" << activeTile->scale << "; scale2=" << activeTile->scale2;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue