summaryrefslogtreecommitdiff
path: root/src/qcommon
AgeCommit message (Collapse)Author
2017-02-07fix some format specifiers in printf()-like function calls/dev/humancontroller
2017-02-07silence some MSVC warnings/dev/humancontroller
2017-02-07silence a bunch of compiler warnings/dev/humancontroller
2017-02-07fix compilation with MSVC/dev/humancontroller
TODO: uhm, _snprintf()... WRONG ?
2017-02-06use system libraries more properly; introduce a dependency on Minizip/dev/humancontroller
remove the USE_LOCAL_HEADERS option (it was broken anyway)
2017-01-26remove most libraries from the source tree/dev/humancontroller
2016-04-09Merge branch 'master' into gppTim Angus
2016-04-07Make it compileTim Angus
2016-04-07OpenGL2: Add named cubemaps and per-map env.json parsing.SmileTheory
2016-04-07Use Opus for VoIPZack Middleton
Server/client VoIP protocol is handled by adding new cvars cl_voipProtocol and sv_voipProtocol, sv_voip and cl_voip are used to auto set/clear them. All users need to touch are cl/sv_voip as 0 or 1 just like before. Old Speex VoIP packets in demos are skipped. New VoIP packets are skipped in demos if sv_voipProtocol doesn't match cl_voipProtocol. Notable difference between usage of speex and opus codecs, when using Speex client would be sent 80ms at a time. Using Opus, 60ms is sent at a time. This was changed because the Opus codec supports encoding up to 60ms at a time. (Simpler to send only one codec frame in a packet.)
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 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-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-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-07Add support for Aarch64 (ARM64)Martin Michlmayr
Add support for Aarch64, the 64-bit ARM architecture.
2016-04-07fix a stupid use of strcpy()/dev/humancontroller
strcpy() arguments may not overlap !
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-18let fs_basegame default to gpp/dev/humancontroller
2015-06-08merge some changes from the old "gpp" branch: edit version tags and the set ↵/dev/humancontroller
the default fs_game to "gpp"
2015-06-08change the serverlist-querying methods to be compatible with the current ↵/dev/humancontroller
deployment of master servers
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-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-17Add facility to describe cvarsTim Angus
2015-03-17Actually, that's not suppressing, that's changing behaviourTim Angus
2015-03-17Suppress warning of (deliberate) null pointer deferenceTim Angus
2015-03-17Fix a few warningsTim Angus
2015-03-17Add ColorIndexForNumber macro replacing '& 0x07'Pan7
Makes it easier to add more colors.
2015-03-17Add cvar_modified commandZack Middleton
Based on cvarlist command, it only lists modified cvars.
2014-08-28guard against out-of-bounds jump table targets/dev/humancontroller
2014-08-28Fix SkipRestOfLine going past end of stringZack Middleton
If string data starts with a 0 (string terminator), don't skip over it at p++. Not causing any problems in ioq3 as far as I know.
2014-06-17Various adjustments so it compilesTim Angus
2014-06-17Fix OOB access in CM_EdgePlaneNum without erroring in CM_GridPlaneZack Middleton
I changed warning to error in 9d74227559d46b85d0c43d395cd280d3de7ae8f4, which broke JA's mp/ctf4 map and probably others.
2014-06-17Fix potential out of bounds access caused by CM_GridPlaneZack Middleton
Coverity doesn't care if there is a warning, out of bounds access is bad.
2014-06-17Fix FS_FOpenFileReadDir non-zero file handle when file not found in pk3Zack Middleton
If a pk3 search path is passed to FS_FOpenFileReadDir, a non-zero file handle is returned if file is not found. This causes incorrect behavior in FS_ReadFileDir (when a pk3 search path is passed in) which only checks file handle, not length, for seeing if file exists. I don't know of any issues in ioq3 caused by this.
2014-06-17Bunch of comment fixesTequila
2014-06-17#6069: Remove md4 model support.SmileTheory
2014-06-17Remove function prototypes for non-existant Sys_* DLL functionsZack Middleton
2014-06-17Remove old comment that FS_Seek doesn't work on zipped filesZack Middleton
2014-06-17Support FS_SEEK_END and negative offset for zipped files in FS_SeekZack Middleton
Use FS_SEEK_END in sound code instead of working around it. If FS_SEEK_SET and going to current position, just return.
2014-06-17Remove unused variable baseOffset from fsh[]Zack Middleton
2014-06-17Fix VM FOpenFile( FS_READ ) files seeking twice in FS_SeekZack Middleton
2014-06-17Fix running if built on OS X 10.9Zack Middleton
strncpy with in == out causes signal 6 if built on OS X 10.9. (If built on older OS X versions, the game works on 10.9 though.) It was happening in COM_StripExtension during map load.