Added debug overlay v1.
It features various collision info perspective projected and overlayed on the table.
This commit is contained in:
1 parent
0cb75ecf7f
commit
5461483bb5
15 files changed
+388
-29
No files matched your search
@@ -577,6 +577,24 @@ void winmain::RenderUi()
|
||||
{
|
||||
DispGRhistory ^= true;
|
||||
}
|
||||
if (ImGui::MenuItem("Debug Overlay", nullptr, Options.DebugOverlay))
|
||||
{
|
||||
Options.DebugOverlay ^= true;
|
||||
}
|
||||
if (Options.DebugOverlay && ImGui::BeginMenu("Overlay Options"))
|
||||
{
|
||||
if (ImGui::MenuItem("Box Grid", nullptr, Options.DebugOverlayGrid))
|
||||
Options.DebugOverlayGrid ^= true;
|
||||
if (ImGui::MenuItem("All Edges", nullptr, Options.DebugOverlayAllEdges))
|
||||
Options.DebugOverlayAllEdges ^= true;
|
||||
if (ImGui::MenuItem("Ball Position", nullptr, Options.DebugOverlayBallPosition))
|
||||
Options.DebugOverlayBallPosition ^= true;
|
||||
if (ImGui::MenuItem("Ball Box Edges", nullptr, Options.DebugOverlayBallEdges))
|
||||
Options.DebugOverlayBallEdges ^= true;
|
||||
if (ImGui::MenuItem("Apply Collision Mask", nullptr, Options.DebugOverlayCollisionMask))
|
||||
Options.DebugOverlayCollisionMask ^= true;
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
if (ImGui::BeginMenu("Cheats"))
|
||||
{
|
||||
if (ImGui::MenuItem("hidden test", nullptr, pb::cheat_mode))
|
||||
|
||||
Reference in new issue
Block a user