summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2023-09-25 16:00:56 -0400
committerJonathan Bradley <jcb@pikum.xyz>2023-09-25 16:00:56 -0400
commitda93fbc8c91b82ec623922a3890283f7982f6f88 (patch)
tree0cb52f2be9753cd77c24afe2589e368538566720 /src
parentfad381eb199f162cc25d2fec5449485b112678b8 (diff)
entitites table better hex formatting
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp8
1 files changed, 4 insertions, 4 deletions
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<EntityHandle_T>(entity->handle));
+ ImGui::Text("0x%016lX", static_cast<EntityHandle_T>(entity->handle));
ImGui::TableSetColumnIndex(1);
- ImGui::Text("%lx", static_cast<EntityHandle_T>(entity->parentHandle));
+ ImGui::Text("0x%016lX", static_cast<EntityHandle_T>(entity->parentHandle));
ImGui::TableSetColumnIndex(2);
- ImGui::Text("%lx", static_cast<GrBindsHandle_T>(entity->grBindsHandle));
+ ImGui::Text("0x%016lX", static_cast<GrBindsHandle_T>(entity->grBindsHandle));
ImGui::TableSetColumnIndex(3);
- ImGui::Text("%lx", static_cast<InstanceHandle_T>(entity->instanceHandle));
+ ImGui::Text("0x%016lX", static_cast<InstanceHandle_T>(entity->instanceHandle));
ImGui::TableSetColumnIndex(4);
ImGui::Text("%u", entity->isMarkedForRemoval);
}