SDL major versions must not be combined in one process, otherwise bad things will happen. In the best case the game crashes, in the worst case strange bugs will occure. To prevent that: * Add a new field `framework_version` to the renderer API and use it to pass the SDL major version from the renderer to client. Don't load the renderer if it and the client were build with different SDL major versions. * Bump the renderer API version to 7. This could have been implemented by assuming `framework_version == 0` (not filled by renderer) as SDL 2, but let's keep things clean and bump the version. While here fix a long standing bug with printing the error when not loading a renderer lib. The message must be generated before shutting down the renderer, otherwise the API version will alsways be 0. The struct is zeroed at renderer shutdown. |
||
---|---|---|
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/