From 366838d800bdf2e470ccbc6f8f176e2fcc4c3c8c Mon Sep 17 00:00:00 2001 From: fgenesis Date: Sun, 23 Dec 2012 22:43:46 +0100 Subject: [PATCH] little enhancement to scene editor: show more entity details --- Aquaria/SceneEditor.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Aquaria/SceneEditor.cpp b/Aquaria/SceneEditor.cpp index d087619..ae8dc7a 100644 --- a/Aquaria/SceneEditor.cpp +++ b/Aquaria/SceneEditor.cpp @@ -3318,12 +3318,16 @@ void SceneEditor::updateText() os << "entities (" << dsq->entities.size() << ")"; if (editingEntity) { + os.precision(1); + os << std::fixed; os << " id: " << editingEntity->getID() << " name: " << editingEntity->name << " flag:" << dsq->continuity.getEntityFlag(dsq->game->sceneName, editingEntity->getID()) << " fh:" << editingEntity->isfh() << " fv:" << editingEntity->isfv() - << " state:" << editingEntity->getState(); + << " state:" << editingEntity->getState() + << " et:" << editingEntity->getEntityType() + << " hp:" << editingEntity->health << "/" << editingEntity->maxHealth; } break; case ET_PATHS: