Yamagi Quake II with Q2 Remaster support
Find a file
Yamagi Burmeister b1629fb768 Prevent buffer overflows console if vertical resolution > 2048.
The stores it's text in the key_lines array which is NUM_KEY_LINES *
MAXCMDLINE chars long. The code never checked for overflows, it just
assumed that a line will never be longer then 256 chars * 8 = 2048
pixel. With modern displays we can have higher vertical resolutions,
so the array will overflow sooner or later.

Fix it by clamping the maximum line width to MAXCMDLINE - 2 chars (1
for the prompt and 1 for the terminating \0). While at it increase
MAXCMDLINE to 1024 chars * 8 = 8192 pixel, which is more then 8k
resolution and should be enough for the years to come.

This is belived tot fix at least a part of issue #368.
2019-02-16 08:57:44 +01:00
doc Documentation for HTTP downloading 2019-01-03 16:54:22 -01:00
src Prevent buffer overflows console if vertical resolution > 2048. 2019-02-16 08:57:44 +01:00
stuff Move the packaging guide into our new doc/ directory. 2018-11-07 16:38:41 +01:00
.gitignore Also ignore .d files as they got generated every time. 2015-11-12 19:15:37 +01:00
CHANGELOG Update the CHANGELOG. 2019-02-04 14:20:16 +01:00
CMakeLists.txt Update stb_image and add stb_image_resize code 2019-01-30 22:43:54 +02:00
LICENSE Update stb_image and add stb_image_resize code 2019-01-30 22:43:54 +02:00
Makefile Remove adivtab 2019-01-30 22:42:21 +02:00
README.md Update links. 2018-11-07 16:43:54 +01:00

Yamagi Quake II

This is the Yamagi Quake II Client, an enhanced version of id Software's Quake II with focus on offline and coop gameplay. Both the gameplay and the graphics are unchanged, but many bugs if 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 OS X (experimental).

This code is build 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 questions read through the documentation! The current version can be found here: doc/01_index.md

Releases

The official releases (including Windows binaries) can be found at our homepage: https://www.yamagi.org/quake2