5a21397761
With SDL 2 the refreshrate handling was rather limited by SDL 2 only supporting integer refreshrates, making it impossible to represent the common 59.95hz and other non-integer refreshrates. Quake II works around this by assuming a refreshrate of 2hz higher than returned by SDL. SDL 3 finally supports float refreshrates. Refactor the internal API to also use floats. This should be a no-op since the 'refreshrate * 1.02' logic stayes in place for the time being. This can be reevaluated at a later time for the SDL 3 build, but needs testing. As a nice side effect fix the `vid_displayrefreshrate` cvar. It was broken in both SDL 2 and 3 since it was always overwritten with the actual display refresh rate. |
||
---|---|---|
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/