You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace scattered frame rate limiting logic with centralized `FPSLimiter` class.
**Key improvements:**
- High-precision timing using `RDTSC`, `QueryPerformanceFrequency`, and waitable timers
- Unified FPS limit handling from server, client scripts, user settings, and VSync
- Dynamic CEF browser frame rate synchronization
- Consistent frame pacing through `CModManager` pulse integration
**Changes:**
- Add `FPSLimiter` class with centralized frame limiting logic
- Integrate limiter into `CCore`, replacing old methods and variables
- Refactor `CCommands` to handle `fps_limit` and `vsync` cvars
- Update all APIs, Lua functions, and network packets to use `FPSLimiterInterface`
0 commit comments