1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-27 07:06:00 +00:00

little enhancement to scene editor: show more entity details

This commit is contained in:
fgenesis 2012-12-23 22:43:46 +01:00
parent c358c98256
commit 366838d800

View file

@ -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: