For historical reasons numbered paks must be loaded before all other paks. The logic is easy: Add all numbered paks. Iterate over all available paks, filter out numbered paks and add everything that's left. Until now a simple glob comparisson against 'pak*' was used for the filtering. This has two problems: 1. All paks starting with 'pak*' were filtered, regardless if they're numbered paks or not. 2. Upper case or mixed case file names that are valid on caseinsenstive systems like Windows weren't recognized as numbered paks and added twice. Once as numbered pak and once as other pak. Refactor the logic to only match paks starting with 'pak%d' and use strcasecmp() for comparison. Closed #730. |
||
---|---|---|
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/