Touch controls concept

This commit is contained in:
Shinovon 2026-05-03 08:52:21 +05:00
parent b310f7081f
commit a56793f44b
2 changed files with 124 additions and 53 deletions

View file

@ -117,16 +117,16 @@ void tbDisplay()
CFont::SetFontStyle(FONT_BANK);
sprintf(temp, "FPS: %.2f", Diag_GetFPS());
if (frames >= 15) {
RDebug_Printf("FPS: %.2f", Diag_GetFPS());
RDebug_Printf("vbo: %d, draw: %d, render: %d, matfx: %d, skin: %d, im2d: %d, im3d: %d", vboUploads, draw, render, matfx, skin, im2d, im3d);
for (uint32 i = 0; i < TimerBar.count; i++) {
MaxTimes[i] = Max(MaxTimes[i], TimerBar.Timers[i].endTime - TimerBar.Timers[i].startTime);
RDebug_Printf("%s: %.2f", &TimerBar.Timers[i].name[0], MaxTimes[i]);
}
MaxFrameTime = Max(MaxFrameTime, FrameEndTime - FrameInitTime);
RDebug_Printf("EndOfFrame: %.2f", endOfFrameTime);
RDebug_Printf("Frame Time: %.2f", MaxFrameTime);
RDebug_Printf(" ");
// RDebug_Printf("FPS: %.2f", Diag_GetFPS());
// RDebug_Printf("vbo: %d, draw: %d, render: %d, matfx: %d, skin: %d, im2d: %d, im3d: %d", vboUploads, draw, render, matfx, skin, im2d, im3d);
// for (uint32 i = 0; i < TimerBar.count; i++) {
// MaxTimes[i] = Max(MaxTimes[i], TimerBar.Timers[i].endTime - TimerBar.Timers[i].startTime);
// RDebug_Printf("%s: %.2f", &TimerBar.Timers[i].name[0], MaxTimes[i]);
// }
// MaxFrameTime = Max(MaxFrameTime, FrameEndTime - FrameInitTime);
// RDebug_Printf("EndOfFrame: %.2f", endOfFrameTime);
// RDebug_Printf("Frame Time: %.2f", MaxFrameTime);
// RDebug_Printf(" ");
frames = 0;
} else frames++;