summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-04-07OpenGL2: Use correct sunlight color for sunlight specular.SmileTheory
2016-04-07OpenGL2: Forgot a multiply.SmileTheory
2016-04-07OpenGL2: Parse radius entries from misc_cubemap entities.SmileTheory
2016-04-07OpenGL2: Add r_glossIsRoughness.SmileTheory
2016-04-07OpenGL2: Add option in code for alternate overbright method.SmileTheory
2016-04-07OpenGL2: Remove some rendering options for simplicity.SmileTheory
2016-04-07OpenGL2: automatically load textures with a _s suffix as specular.SmileTheory
2016-04-07Replace 4 with sizeof( int ) in R_GetCommandBufferReservedZack Middleton
2016-04-07Fix reserved size for swap buffer command being too small on x86_64Zack Middleton
2016-04-07Fix crash from reading past end of tr.refdef.drawSurfsZack Middleton
The number of draw surfaces was range checked against number of surfaces for the current view but needs to check total for the frame otherwise can read past the end of the tr.refdef.drawSurfs array when there are multiple views.
2016-04-07Fix not swapping buffers because out of cmd buffer spaceZack Middleton
Reserve space for end of list and swap buffer commands. These are absolutely required and cannot be dropped. Dropping swap buffer command causes screen to not update and possible crash from drawsurf buffer overflow if not enough cmd buffer space for many continous frames.
2016-04-07Add support for uncompressed image upload flag to OpenGL1Zack Middleton
2016-04-07Remove unused define MAC_EVENT_PUMP_MSECZack Middleton
2016-04-07Fix check for empty rconpassword in CL_Rcon_fTim Angus
2016-04-07Now with less infinite recursionTim Angus
2016-04-07Effectively revert c2e146c1Tim Angus
2016-04-07Search for mods in steam path as well as home and base paths.SmileTheory
2016-04-07Early out of Cmd_CompleteArgument and Cmd_SetCommandCompletionFuncZack Middleton
Reported by Ensiform.
2016-04-07Use correct array size for facets in cm_patch.cZack Middleton
2016-04-07Fix the wonky fix to the wonky va_list usageTim Angus
2016-04-07Fix wonky va_list usageTim Angus
2016-04-07Ensure reads from /dev/urandom are unbufferedDion Williams
Upstream: JACoders/OpenJK@de6a9dfd40065ae9a5a2b0b3ef701feee8dac867
2016-04-07Fix Cvar_Unset not notifying cvar_modifiedFlagsDion Williams
Upstream: JACoders/OpenJK@9a5e9e87ff2d1302261978fa3f1adafb851bd6d6
2016-04-07Better language, less tenseZachary J. Slater
2016-04-07more helpful error messageZachary J. Slater
Can’t find your pak0.pk3? Here’s where we tried looking.
2016-04-07Fix va_list warningPan7
2016-04-07Add missing qcurl handle cleanupPan7
2016-04-07Return the result from qcurl_easy_setopt_warnTim Angus
2016-04-07qcurl_multi_cleanup checkPan7
2016-04-07qcurl_easy_setopt dev warningPan7
2016-04-07qcurl_multi_strerror not curl_multi_strerrorPan7
2016-04-07qcurl_multi_remove_handle checkPan7
2016-04-07SDL_GL_SetSwapInterval() checkPan7
2016-04-07SDL_GetWindowDisplayIndex() check2Pan7
2016-04-07Added SDL_GetError()Pan7
2016-04-07Added SDL_GetError()Pan7
2016-04-07SDL_CreateWindow NULL checkPan7
2016-04-07SDL_GetWindowDisplayIndex checkPan7
2016-04-07SDL_SetWindowGammaRamp checkPan7
2016-04-07SDL_FALSE/TRUE for SDL_SetWindowGrabPan7
2016-04-07SDL_Init zero checkPan7
2016-04-07build: define ARCH_STRING in Makefile on Linux and other GNU platformsSimon McVittie
GNU platforms (Linux, kFreeBSD, Hurd) have endian.h to determine endianness, so all architectures except x86_64 are in fact treated identically, except that their ARCH_STRING is different. The ARCH_STRING must always be identical to the ARCH from the Makefile, otherwise the engine will not find its cgame, game and ui plugins under their expected names and startup will fail. If we pass it in from the Makefile, then an identical value is guaranteed, and we can get rid of an increasingly long list of defined(__some_cpu__) tests. The one remaining quirk is that we test __x86_64__ to determine whether to define idx64; I've kept that, but separated it from the ARCH_STRING. On non-Linux platforms we only support a few architectures anyway, so keeping the list up to date is less of a burden; *BSD porters could probably use the same technique to get support for lots of architectures with little effort, but I have not done that here, because I cannot test it. Windows must continue to support preprocessor-based architecture tests in any case, so that the MSVC solutions (which do not use the Makefile) can continue to work. However, Windows only runs on a few CPU families, so this shouldn't be a significant burden in practice. When cross-compiling, the tools are compiled for the build architecture (COMPILE_PLATFORM, COMPILE_ARCH) rather than the host architecture (PLATFORM, ARCH), so define ARCH_STRING to COMPILE_ARCH on a GNU COMPILE_PLATFORM.
2016-04-07Remove logically dead code from CL_GetServerStatusZack Middleton
Found by Coverity.
2016-04-07Fix alloc size for default skin and single shader skinZack Middleton
Found by Coverity.
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.