mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-26 14:45:48 +00:00
little enhancement to scene editor: show more entity details
This commit is contained in:
parent
c358c98256
commit
366838d800
1 changed files with 5 additions and 1 deletions
|
@ -3318,12 +3318,16 @@ void SceneEditor::updateText()
|
||||||
os << "entities (" << dsq->entities.size() << ")";
|
os << "entities (" << dsq->entities.size() << ")";
|
||||||
if (editingEntity)
|
if (editingEntity)
|
||||||
{
|
{
|
||||||
|
os.precision(1);
|
||||||
|
os << std::fixed;
|
||||||
os << " id: " << editingEntity->getID()
|
os << " id: " << editingEntity->getID()
|
||||||
<< " name: " << editingEntity->name
|
<< " name: " << editingEntity->name
|
||||||
<< " flag:" << dsq->continuity.getEntityFlag(dsq->game->sceneName, editingEntity->getID())
|
<< " flag:" << dsq->continuity.getEntityFlag(dsq->game->sceneName, editingEntity->getID())
|
||||||
<< " fh:" << editingEntity->isfh()
|
<< " fh:" << editingEntity->isfh()
|
||||||
<< " fv:" << editingEntity->isfv()
|
<< " fv:" << editingEntity->isfv()
|
||||||
<< " state:" << editingEntity->getState();
|
<< " state:" << editingEntity->getState()
|
||||||
|
<< " et:" << editingEntity->getEntityType()
|
||||||
|
<< " hp:" << editingEntity->health << "/" << editingEntity->maxHealth;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ET_PATHS:
|
case ET_PATHS:
|
||||||
|
|
Loading…
Reference in a new issue