ed918cf423
The easiest way to build this is to check out the dhewm3-libs project (https://github.com/dhewm/dhewm3-libs/) to provide the dependencies (SDL2, OpenAL, cURL) and set YQUAKE2LIBS accordingly, by passing -DYQUAKE2LIBS=c:/path/to/dhewm3-libs/i686-w64-mingw32 to cmake. I wouldn't really recommend building with MSVC - I just somehow made it work and ignored all the warnings and I have no idea how portable the resulting binaries are etc. For binaries you actually want to use, please continue using MinGW-w64. Especially my workaround for VLAs (C99 variable length arrays) is kinda fishy, particularly if those arrays are allocated in a loop (that's inly done in ref_gl1.dll's code). The only reason I did this is that I had to debug on Windows and, at least for my specific bug, gdb didn't really work with binaries produced by MingGW-w64 and MSVC's debugger works well with binaries produced by MSVC. Currently requires VS 2019 16.8 or newer with C11 (/std:c11) because I couldn't get YQ2_ALIGNAS_TYPE() to work with MSVC without _Alignas(). If we can get this to work, VS2015 or newer might suffice (but not older versions, because their so called C standardlib didn't provide exotic functions like snprintf()). # Conflicts: # CMakeLists.txt |
||
---|---|---|
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/