Zack Middleton
699cbed7c7
Fix mouse grab after toggling fullscreen
...
cls.glconfig.isFullscreen was not updated when changing r_fullscreen
without a vid_restart. Starting in fullscreen and switching to
windowed mode would not release the mouse.
Mods calling trap_GetGlconfig() after a fullscreen toggle now get
the correct value for isFullscreen. (Note: Mods already got the
correct value at start up and after vid_restart.)
Reported by Mickaël "mickael9" Thomas.
2018-04-09 00:05:43 -05:00
Mickaël Thomas
e986384fde
Maximize cURL buffer size
...
Allows higher download throughput (from ~2 MB/s to ~60 MB/s at 120FPS)
This has no effect for curl versions older than 7.53.0 (for which the
buffer can only be shrunk below 16k)
2018-04-08 22:40:37 -05:00
IR4T4
63e59a4591
Fix the behaviour of CVAR_LATCH|CVAR_CHEAT cvars
...
Fix the output/behaviour of CVAR_CHEAT flagged cvars in case they are
also of type CVAR_LATCH (avoid the early latch case return to make it
work as intended).
2018-04-08 22:08:04 -05:00
Dominic Fandrey
b8ee77cecc
Avoid srcList[-1] in snd_openal.c
2018-04-08 21:41:31 -05:00
Dominic Fandrey
a740ba47dd
OpenGL1: Decay float[8] to float * in tr_marks.c
2018-04-08 21:41:31 -05:00
Dominic Fandrey
bf4c7a0341
Add missing address operator in cm_polylib.c
...
Also avoid nullptr dereference.
2018-04-08 21:41:31 -05:00
Dominic Fandrey
3a702ded65
Fix signed bit operations in MSG_ReadBits
2018-04-08 21:41:31 -05:00
Dominic Fandrey
62cec249d7
Fix shift into sign in cl_cin.c
2018-04-08 21:41:31 -05:00
Zack Middleton
ae9edd1491
Fix shifting bits out of byte in tr_font.c
...
Found using LLVM sanitizer. Reported by Dominic "lonkamikaze" Fandrey.
2018-04-08 21:41:31 -05:00
Dominic Fandrey
a494edeb94
Fix undefined behaviour due to shifting signed in snd_mem.c
2018-04-08 21:41:26 -05:00
Zack Middleton
4ea0eebfe5
Fix nullptr dereference in front of nullptr check in FS_CheckPak0
...
Found using LLVM sanitizer. Reported by Dominic "lonkamikaze" Fandrey
and David "devnexen" CARLIER.
2018-04-08 20:56:08 -05:00
Eugene C
9f294ce520
Fix MSG_Read*String*() functions not being able to read last byte from message
...
This is exact root of q3msgboom bug http://aluigi.altervista.org/adv/q3msgboom-adv.txt
Unfortunately, server still need this ugly '1022 char limit' hack to support unfixed clients in some degree.
And as it affects MSG_ReadBigString() - unfixed clients can still be crashed by 8191-chars long configstrings that comes with gamestate
2018-04-03 22:36:24 -05:00
Zack Middleton
3bf48877f3
Fix "Going to CS_ZOMBIE for [clientname]" developer message
...
Client name was cleared before printing the message resulting in
a blank name.
2018-04-03 21:37:59 -05:00
Zack Middleton
b61e2998f3
Fix exploit to reset player by sending wrong serverId
...
If client sends wrong serverId but is already active in the world
(CS_ACTIVE) don't resend initial gamestate for the map. This isn't a
valid situation. The player should be CS_CONNECTED or CS_PRIMED.
Resending gamestate to an active player will cause them to respawn
without dying or disconnecting. If the player had a CTF flag it gets
lost until the map is changed or restarted.
Reported by Ensiform at:
https://bugzilla.icculus.org/show_bug.cgi?id=6324
2018-04-03 21:37:15 -05:00
Zack Middleton
1284205012
Remove duplicate setting of FREETYPE_CFLAGS in Makefile
2018-04-03 20:11:53 -05:00
Zack Middleton
484149573b
Allow loading system OpenAL library on macOS again
...
In May 2017 the library loading was limited to *.dylib but the macOS
system OpenAL framework does not have dylib extension. So allow loading
files from /System/Library/Frameworks/ as libraries even without dylib
extension.
This is checked in Sys_DllExtension() so that QVM filesystem access will
not allow writing files to /System/Library/Frameworks/ even if homepath
is changed to include it. (Admittedly it doesn't fit the function name
but fits the function description and current usage.)
2018-03-22 14:58:44 -05:00
Zachary J. Slater
9465b445b0
Feedback from the PR
...
minor edits based on feedback to the PR
2018-03-21 10:59:13 +00:00
Zachary J. Slater
e511c114b3
First swing at a CONTRIBUTING.md
...
Thanks to Timbo for the suggestion. This one is mostly based on the one
from Atom.
2018-03-21 10:59:13 +00:00
Zack Middleton
acef71af5e
Rename (already updated) opusfile-0.8 to opusfile-0.9
2018-03-16 13:29:20 -05:00
Zack Middleton
58a315fe3f
Update opusfile from 0.8 to 0.9
2018-03-16 13:29:20 -05:00
Zack Middleton
8611eb421d
Rename (already updated) opus-1.1.4 to opus-1.2.1
2018-03-16 13:29:19 -05:00
Zack Middleton
cb24c59567
Update opus from 1.1.4 to 1.2.1
2018-03-16 13:29:19 -05:00
Zack Middleton
c38c823a2a
Rename (already updated) libvorbis-1.3.5 to libvorbis-1.3.6
2018-03-16 13:29:19 -05:00
Zack Middleton
b78c6e61bf
Update libvorbis from 1.3.5 to 1.3.6
...
* Fix CVE-2018-5146 - out-of-bounds write on codebook decoding.
* Fix CVE-2017-14632 - free() on unitialized data
* Fix CVE-2017-14633 - out-of-bounds read
2018-03-16 13:29:02 -05:00
Zack Middleton
ebd3d516ac
Rename (already updated) libogg-1.3.2 to libogg-1.3.3
2018-03-16 13:11:27 -05:00
Zack Middleton
2e7900c1aa
Update libogg from 1.3.2 to 1.3.3
2018-03-16 13:11:27 -05:00
Tom Murphy
af6b1f8edf
Remove CON_FlushIn function and where STDIN needs flushing, use tcflush POSIX function
2018-03-14 21:43:56 +00:00
Zack Middleton
b48d902672
OpenGL1: Use glGenTextures instead of hardcoded values
...
It's the proper way to use the OpenGL API. It's already done in the
OpenGL2 renderer.
2018-03-13 09:17:23 -05:00
Zack Middleton
9fcb8a05e4
Fix indent warning in sv_world.c
2018-03-06 18:38:45 -06:00
Zack Middleton
d28e667e46
Fix macOS app bundle with space in name
2018-03-04 05:16:29 -06:00
Zack Middleton
4a063679f8
Merge branch 'misc/lilium_common' into game/eliteforce
...
Conflicts:
code/qcommon/common.c
code/qcommon/q_shared.h
2018-03-04 05:10:01 -06:00
Zack Middleton
51a57b8420
Merge branch 'master' into misc/lilium_common
...
Conflicts:
Makefile
code/client/cl_main.c
code/qcommon/common.c
code/qcommon/q_shared.h
code/sys/sys_unix.c
2018-03-04 05:08:08 -06:00
Zack Middleton
83e5ecfe36
Add BUILD_FINAL from Spearmint
2018-03-04 05:03:27 -06:00
Zack Middleton
c5e5ec3204
Fix macOS app bundle version/renderer_prefix
...
Rename baseq3 to baseEF.
Don't create missionpack.
Don't try to add VMs to app bundle.
2018-03-04 04:39:33 -06:00
Zack Middleton
6ae59a4186
Fix macOS app bundle with space in name
2018-03-04 04:23:42 -06:00
Zack Middleton
7fda468f5b
Change renderer prefix, fix app bundle
2018-03-04 04:14:29 -06:00
Zack Middleton
3521787c14
Merge branch 'misc/lilium_common' into game/eliteforce
...
Conflicts:
README.md
code/client/cl_main.c
code/qcommon/common.c
code/qcommon/q_shared.h
code/sys/sys_unix.c
2018-03-04 04:04:35 -06:00
Zack Middleton
4c31c90f6c
Add lily icon for macOS and edit app bundle
2018-03-04 03:53:09 -06:00
Zack Middleton
95c3deaa0c
Unify com_homepath and use XDG_DATA_HOME
2018-03-04 03:25:13 -06:00
Zack Middleton
cb7ccbacac
Allow changing the renderer file name prefix
...
This makes it easier for forks to coexist without having issues with
incompatible renderers.
2018-03-04 03:17:31 -06:00
Zack Middleton
b9a643264d
Change version to 1.39, update README
2018-03-04 01:52:27 -06:00
Zack Middleton
15a82def3b
Fix server not being added to Raven master list
...
Raven master requires protocol in statusResponse. q3master and dpmaster
use protocol in infoResponse.
2018-03-04 00:39:38 -06:00
Zack Middleton
30190f45f3
Remove duplicate set netchan compat
...
Left over from before legacy protocol support was moved from iostvef
into ioquake3.
2018-03-04 00:32:06 -06:00
Zack Middleton
060610f671
Merge branch 'misc/lilium_common' into game/eliteforce
2018-03-03 23:21:51 -06:00
Zack Middleton
2c99e8f1d1
Update make-linux-portable.sh to current version in Spearmint
2018-03-03 23:21:15 -06:00
Zack Middleton
98272de2ea
Update README for adding libmad source to local tree
2018-03-03 23:01:54 -06:00
Zack Middleton
c0c4385122
Merge branch 'codec/mp3' into game/eliteforce
2018-03-03 22:58:53 -06:00
Zack Middleton
0704abe5ec
Add libmad source to internal source tree
...
Modified to fit into Quake 3 build system and use q_platform.h instead of
configure.
2018-03-03 22:47:09 -06:00
Zack Middleton
3d85ba00b1
Merge branch 'master' into codec/mp3
...
Conflicts:
Makefile
2018-03-03 22:44:15 -06:00
Zack Middleton
b9131e5980
Add note about MP3 to Elite Force README
2018-03-03 19:28:37 -06:00