2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-06-28 19:33:28 +00:00

Move Highlight checkbox to Entity

This commit is contained in:
Luke Street 2021-05-27 10:41:46 -04:00
parent 4e804d0bc2
commit d2160eb74d

View File

@ -270,6 +270,7 @@ void CEntity::ImGuiInspect() {
ImGui::Text("ID: %x", x8_uid.Value()); ImGui::Text("ID: %x", x8_uid.Value());
ImGui::Text("Name: %s", x10_name.c_str()); ImGui::Text("Name: %s", x10_name.c_str());
BITFIELD_CHECKBOX("Active", x30_24_active); BITFIELD_CHECKBOX("Active", x30_24_active);
ImGui::Checkbox("Highlight", &m_debugSelected);
} }
} }
@ -278,7 +279,6 @@ IMGUI_ENTITY_INSPECT(CActor, CEntity, Actor, {
if (ImGuiVector3fInput("Position", x34_transform.origin)) { if (ImGuiVector3fInput("Position", x34_transform.origin)) {
SetTranslation(x34_transform.origin); SetTranslation(x34_transform.origin);
} }
ImGui::Checkbox("Highlight", &m_debugSelected);
}) })
IMGUI_ENTITY_INSPECT(MP1::CFireFlea::CDeathCameraEffect, CEntity, FireFleaDeathCameraEffect, {}) IMGUI_ENTITY_INSPECT(MP1::CFireFlea::CDeathCameraEffect, CEntity, FireFleaDeathCameraEffect, {})
IMGUI_ENTITY_INSPECT(MP1::CMetroidPrimeRelay, CEntity, MetroidPrimeRelay, {}) IMGUI_ENTITY_INSPECT(MP1::CMetroidPrimeRelay, CEntity, MetroidPrimeRelay, {})