MCPcopy Create free account
hub / github.com/OfficialCodeNoodles/2D-Minecraft / updateDebugMenu

Function updateDebugMenu

2D Minecraft v 1.0/src/graphics/UI.cpp:2034–2039  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2032 }
2033 }
2034 void updateDebugMenu() {
2035 if (window::ticks % 20 == 0 || fpsString.empty())
2036 fpsString = toString(window::renderingFramerate) + "/"
2037 + toString(window::currentFramerate) + "/"
2038 + toString(window::currentUncappedFramerate);
2039 }
2040 void updatePauseMenu() {
2041 if (pausedSettingsOpen) {
2042 updateSettingsScreen();

Callers 1

updateIngameUIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected