summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-04-07Remove logically dead code in R_CheckFBOZack Middleton
Found by Coverity.
2016-04-07Don't segfault in FS_CreatePath when there are no path seperatorsZack Middleton
2016-04-07Make more vm_x86 macros use braces so they work with if blah run macroZack Middleton
MASK_REG in EmitMovEDXStack would incorrectly emit asm if 'andit' was 0. 'andit' would never be 0 though so it wasn't causing issues. Found by Coverity.
2016-04-07Fix range checks for numBorders in CM_AddFacetBevelsZack Middleton
Found by Coverity.
2016-04-07Backport ignoring values outside lightgrid to OpenGL1Zack Middleton
Fixes possibly of reading memory past end of lightGridData or reading wrong light grid data (wrapping around to next row).
2016-04-07Fix OpenGL2 ignoring last light grid point on each axisZack Middleton
Also change light grid bounds clamping to make it more clear what invalid values are.
2016-04-07Remove unused fpucw from snapvector.asmZack Middleton
It's usage was removed in commit 8a500d71.
2016-04-07Fix Windows file list extension checkZack Middleton
Windows' Sys_ListFiles would add files that contain the extension anywhere, not only at the end of the file name. Example: "word.pk3omghacks" use to be loaded as a pk3 file.
2016-04-07Don't fog 3D crosshair spriteZack Middleton
2016-04-07Apply greyscaling to fog blocksZack Middleton
2016-04-07Add support for Aarch64 (ARM64)Martin Michlmayr
Add support for Aarch64, the 64-bit ARM architecture.
2016-04-07Fix abs() being used for float in cl_input.cZack Middleton
2016-04-07Make cinematic times be int like CL_ScaledMillisecondsZack Middleton
Cinematic's startTime and lastTime are always set from CL_ScaledMilliseconds which returns int and are converted back and forth to int and unsigned int. This fixes a warning that abs() is used on an unsigned int.
2016-04-07Remove unused function WRITE_1BYTES from cl_avi.cZack Middleton
2016-04-07Fix variable declaration for C89 compilersZack Middleton
2016-04-07Check SDL_GetNumDisplayModes return value for errorsTim Angus
2016-04-07fix a stupid use of strcpy()/dev/humancontroller
strcpy() arguments may not overlap !
2016-04-07Move image load function prototypes to tr_common.hZack Middleton
The functions themselves are in code/renderercommon/tr_image_*.c
2016-04-07Remove erroneous new line from error messageZack Middleton
2016-04-07fix buffer overflow in CL_CheckForResendJeff Kent
2016-04-07SIGABRT is in ANSI and POSIX.1, and SIGIOT isn't.Pan7
2016-04-07No unix memmove for msvcPan7
2016-04-07Don't crash if more than 128 modes are availableSimon McVittie
2016-04-07qcurl_multi_add_handle error checkPan7
2016-04-07sayto cmd with player name completionPan7
2016-04-07Add support for the GNU/Hurd architectureSvante Signell
[As with GNU/kFreeBSD, it's treated as "Linux": all three use the GNU libc and runtime linker, which is mostly what matters for ioquake3. -smcv] Bug-Debian: http://bugs.debian.org/679330 Reviewed-by: Simon McVittie <smcv@debian.org>
2015-06-08fix initialization based on r_width and r_height/dev/humancontroller
let the cvars default to "0"; upon video startup, if any of these are non-positive, try to pick up the desktop's resolution, and update the cvars
2015-06-07Commit newly generated gram.cTim Angus
2015-06-07Fix cppcheck warningTim Angus
2015-06-07Horizontal scroll should not cause K_MWHEELDOWN key pressZack Middleton
2015-06-07OpenGL2: Use signed value in case value goes below 0.SmileTheory
2015-06-07Fix MDR surface indexes overflow checkZack Middleton
Also, use the check overflow macro like everywhere else.
2015-06-07OpenGL2: Fix shadow cubemap segfaultZack Middleton
Changed image size to 512, but 'data' buffer is only 16x16 resulting in libGL segfault. Use NULL instead like other dynamic images.
2015-06-07Fix return values in nested system calls from QVMs/dev/humancontroller
When the engine is compiled with Clang it appears that the return value is being written to the WRONG address, either due to the vm_ variables being changed (unexpectedly) elsewhere, or as a result of bad assembly assumptions; having a stack variable pointing to where to write the return value seems to do the trick. This fixes the case where, for a trap_Register()-like call, weird numbers are being returned when, during the process, an error message is printed (which in Tremulous results in a QVM call and (nested) system call).
2015-06-07OpenGL2: Fix shadow cubemap sizeAuthor: Xycaleth
2015-06-07Fix Com_RandomBytes weak-random case/dev/humancontroller
255 is valid for unsigned char too.
2015-06-07unzip: comment why there is no USE_INTERNAL_MINIZIP boolean optionSimon McVittie
Bug: https://github.com/ioquake/ioq3/pull/116
2015-03-17OpenGL2: Fix culling again.SmileTheory
2015-03-17Don't run vid_restart when "resized" to current sizeZack Middleton
2015-03-17OpenGL2: Remove unused function prototype from tr_fbo.cZack Middleton
2015-03-17Fix incorrect strncpy in S_AL_StartBackgroundTrackZack Middleton
Error is loop argument is NULL. Ensure that s_backgroundTrack is a null terminated string.
2015-03-17Inform how many shader stages the max is in the warning messageEnsiform
2015-03-17Add arrow key support for win32 consoleXycaleth
2015-03-17Move Event processor call down below the mouse checks.Ensiform
Only send mouse events if both values are non-zero. Hopefully this helps with the event overflow spam that can sometimes happen on loads or laggy situations.
2015-03-17Fix crash in MSVC x64 qsnapvectorsse, bug #5905Zack Middleton
Make MASM x64 qsnapvectorsse the same as the inline version. Remove leftover OP code, see commit 8a500d71daaadf199957309f5ee4d8c0fc2157da.
2015-03-17Set float rounding mode on non-Windows platformsZack Middleton
Sys_SetFloatEnv in sys_unix.c existed but was not called. It sets the rounding mode to "to nearest" which is the default on Linux. Might be required on other platforms, I don't know.
2015-03-17Use MSVC mode marcos for creat in q3cpp on WindowsZack Middleton
Using unix mode 0666 for creat was causing crashes when compiled with MSVC. So use the marcos recommended by MSDN. MinGW also has the marcos, so apply to Windows builds in general.
2015-03-17Ensure that mbstowcs does not overflow its bufferSimon McVittie
Similar to one of the changes by Tim Angus in fd986da: mbstowcs' third argument is the number of wchar_t available in dest, not the number of bytes. This does not appear to be exploitable, because ioquake3 does not actually call mumble_set_identity() or mumble_set_description() anywhere, but it might be relevant to derivatives. Spotted via compiler warnings.
2015-03-17Stop LCC from warning about null pointer conversion to function pointerJun Woong
Fixed LCC to correctly diagnose expressions with NPC. It no longer reports messages such as warning: conversion from `pointer to void' to `pointer to void function(void)' is compiler dependent
2015-03-17q3lcc option -lcppdir and -lrccdirPan7