413b44b4cd
.. by running a packet frame if the current renderframe is closer to the time the packet frame *should* be run than the next renderframe (presumably) will be. This should also help when using cl_maxfps -1 on a slow system that can't reach the desired rfps (vid_maxfps or display refresh rate). Without this change, we might run int the problem described in the following example: Imagine having cl_async 1, cl_maxfps 100, no vsync and a system that mostly only reaches about 60fps. So rfps is 100 and pfps is 50. But then (without this change) running at 60fps means that only every second renderframe is a packetframe, so the packetframerate *effectively* is 30, which can cause movement/clipping/physics bugs (for example when hugging some non-perpendicular walls, like the right wall with the window that leads to the last room in base1). With this change the packet framerate would effectively be 60 (every renderframe is also a packetframe), which is less buggy and also closer to 50 than 30 is. |
||
---|---|---|
doc | ||
src | ||
stuff | ||
.gitignore | ||
CHANGELOG | ||
CMakeLists.txt | ||
LICENSE | ||
Makefile | ||
README.md |
Yamagi Quake II
Yamagi Quake II is an enhanced client for id Software's Quake II with focus on offline and coop gameplay. Both the gameplay and the graphics are unchanged, but many bugs in the last official release were fixed and some nice to have features like widescreen support and a modern OpenGL 3.2 renderer were added. Unlike most other Quake II source ports Yamagi Quake II is fully 64-bit clean. It works perfectly on modern processors and operating systems. Yamagi Quake II runs on nearly all common platforms; including FreeBSD, Linux, NetBSD, OpenBSD, Windows and macOS (experimental).
This code is built upon Icculus Quake II, which itself is based on Quake II 3.21. Yamagi Quake II is released under the terms of the GPL version 2. See the LICENSE file for further information.
Documentation
Before asking any question, read through the documentation! The current version can be found here: doc/010_index.md
Releases
The official releases (including Windows binaries) can be found at our
homepage: https://www.yamagi.org/quake2
Unsupported preview builds for Windows can be found at
https://deponie.yamagi.org/quake2/misc/