a44225c625
regardless of keyboard layout, with a special exemption for layouts where that key generates a quote character (like the Brazilian one) because you may wanna type a quote into the console. (It's SDL_SCANCODE_GRAVE, that key between Esc, 1 and Tab) The old hack of matching for ^, ~ and ` in Char_Event() didn't work very well for layouts we didn't anticipate, which is especially relevant with the recent Scancode fallback, which for example allows binding the ^ key on Belgian keyboards (which is on SDL_SCANCODE_LEFTBRACKET, far away from the "console key"), but in that case would *also* open the console. This is mostly straight-forward, except for a small hack to prevent the key from generating text input (on German layouts you otherwise get "^" in the console when closing+opening it), which requires the "console key" to be pressed without any modifiers like Shift or AltGr. Yes, it's ugly, but it works and all the uglyness is contained in IN_Update() and on the other hand Char_Event() becomes less ugly :) |
||
---|---|---|
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, 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/