From 53a663577f0dd27209b96c98b3e504f11b46d48c Mon Sep 17 00:00:00 2001 From: djevangelia <263709373+djevangelia@users.noreply.github.com> Date: Sat, 4 Jul 2026 14:23:10 +0200 Subject: [PATCH] ActorViewer, add hex id and params (#6863) --- soh/soh/Enhancements/debugger/actorViewer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/soh/soh/Enhancements/debugger/actorViewer.cpp b/soh/soh/Enhancements/debugger/actorViewer.cpp index 4ff9f82f13..07efb890f4 100644 --- a/soh/soh/Enhancements/debugger/actorViewer.cpp +++ b/soh/soh/Enhancements/debugger/actorViewer.cpp @@ -40,7 +40,7 @@ typedef struct { std::array acMapping = { "Switch", "Background (Prop type 1)", - "Player", "Bomb", + "Player", "Bomb/Bombchu", "NPC", "Enemy", "Prop type 2", "Item/Action", "Misc.", "Boss", @@ -958,9 +958,9 @@ void ActorViewerWindow::DrawElement() { [&]() { ImGui::Text("Name: %s", ActorDB::Instance->RetrieveEntry(display->id).name.c_str()); ImGui::Text("Description: %s", GetActorDescription(display->id).c_str()); - ImGui::Text("Category: %s", acMapping[display->category]); - ImGui::Text("ID: %d", display->id); - ImGui::Text("Parameters: %d", display->params); + ImGui::Text("Category: %s (%d)", acMapping[display->category], display->category); + ImGui::Text("ID: %d (0x%x)", display->id, display->id); + ImGui::Text("Parameters: %d (0x%x)", display->params, display->params); ImGui::Text("Actor List Index: %d", GetActorListIndex(display)); }, "Selected Actor");