mirror of
https://github.com/ClydeyEXE/uc2-recomp.git
synced 2026-11-25 01:52:20 +00:00
1cc7606807
The main loop passes the engine the real frame delta but never less than 0.0005 s (docs/HISTORY.md, item 21), so past 2,000 fps game time runs faster than real time. With the frame limit off, the title screen ran about 1,600 fps and menus about 1,000. With vsync off, the limiter now also holds frames to at most 800 a second when the limit is off or set higher; a lower limit applies as before, and vsync on is unaffected. RECOMP_FPS_CEILING=<fps> changes the ceiling, 0 for none. - Title screen, scale 3: 1,597-1,659 fps without the ceiling, 799.7 with it, p50 1.2 ms and p99 1.5 ms. - 7 bots A/B, 3 runs a side, ceiling off vs on: 325.1 vs 327.6 fps (no difference), 1% low 6.99 vs 5.73 ms. The scripted match through the menus passes. Refs #28