From da93fbc8c91b82ec623922a3890283f7982f6f88 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Mon, 25 Sep 2023 16:00:56 -0400 Subject: entitites table better hex formatting --- src/game.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/game.cpp b/src/game.cpp index 325b5e6..43cc7f2 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -273,13 +273,13 @@ void RecordImGuiEntityList() { auto *entity = &entities[row]; ImGui::TableNextRow(); ImGui::TableSetColumnIndex(0); - ImGui::Text("%lx", static_cast(entity->handle)); + ImGui::Text("0x%016lX", static_cast(entity->handle)); ImGui::TableSetColumnIndex(1); - ImGui::Text("%lx", static_cast(entity->parentHandle)); + ImGui::Text("0x%016lX", static_cast(entity->parentHandle)); ImGui::TableSetColumnIndex(2); - ImGui::Text("%lx", static_cast(entity->grBindsHandle)); + ImGui::Text("0x%016lX", static_cast(entity->grBindsHandle)); ImGui::TableSetColumnIndex(3); - ImGui::Text("%lx", static_cast(entity->instanceHandle)); + ImGui::Text("0x%016lX", static_cast(entity->instanceHandle)); ImGui::TableSetColumnIndex(4); ImGui::Text("%u", entity->isMarkedForRemoval); } -- cgit v1.2.3