MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / DrawDebug

Method DrawDebug

TombEngine/Game/Hud/TargetHighlighter.cpp:359–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357 }
358
359 void TargetHighlighterController::DrawDebug() const
360 {
361 unsigned int primaryCount = 0;
362 unsigned int peripheralCount = 0;
363
364 for (const auto& [itemNumber, crosshair] : _crosshairs)
365 crosshair.IsPrimary ? primaryCount++ : peripheralCount++;
366
367 PrintDebugMessage("TARGET HIGHLIGHTER DEBUG");
368 PrintDebugMessage(g_Configuration.EnableTargetHighlighter ? "Enabled" : "Disabled");
369 PrintDebugMessage("Primary crosshairs: %d", primaryCount);
370 PrintDebugMessage("Peripheral crosshairs: %d", peripheralCount);
371 }
372}

Callers

nothing calls this directly

Calls 1

PrintDebugMessageFunction · 0.85

Tested by

no test coverage detected