summaryrefslogtreecommitdiff
path: root/src/qcommon
AgeCommit message (Collapse)Author
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.
2014-06-17Make COM_ParseWarning report starting line number of multi-line tokensZack Middleton
COM_ParseWarning use to show last line number of multi-line string tokens, now shows starting line number.
2014-06-17Check for shaders without closing braceZack Middleton
Shaders without closing brace can eat shaders in other files. Pass depth to SkipBracedSection instead of reparsing text as it messed up parse line numbers.
2014-06-17Fix setting COM_Parse current line numberZack Middleton
Fix initial off-by-one error. Count lines in /* */ comments and multi-line strings. Fix counting some lines twice if text has Unix newlines.
2013-05-31fix some OOB enumerator usages/dev/humancontroller
(should be no-op with usual compiler workings)
2013-05-31drop some useless return statements/dev/humancontroller
2013-05-31remove some redundant exit() calls/dev/humancontroller
2013-05-31add some noreturn annotations/dev/humancontroller
2013-05-31fix some "\n"-related stuff/dev/humancontroller
add missing "\n"s to some Printf()-like calls (in Rend2) drop erroneous "\n"s from some Error()-like calls (in Rend2) drop erroneous "\n" from a Com_Error() call (in vm_sparc.c)
2013-05-03Rename FS_CheckFilenameIsNotImmutable to ..IsMutableHarley Laue
2013-05-03Rename FS_CheckFilenameIsNotExecutable to ..NotImmutableZack Middleton
2013-05-03Don't allow modifying qvms or pk3sZack Middleton
Exception for allowing pk3s to be downloaded.
2013-05-03Fix referencing pk3 with only qagame QVMZack Middleton
2013-05-03Add fallback for __func__ (ioq3 isn't compiled as c99 by default)Zack Middleton
Using Debian gcc version 4.7.2 and clang 3.0-6.1 anyway.
2013-05-03Fix setting CVAR_VM_CREATED flag on user created cvarsZack Middleton
Fix setting CVAR_VM_CREATED flag on cvars created using set[asu] commands (including archived cvars from cfg) and trap_Cvar_Set. trap_Cvar_Register called Cvar_Get which cleared CVAR_USER_CREATED flag, but CVAR_VM_CREATED wasn't set because the cvar already existed.
2013-03-27Fix some warnings caused by lack of noreturnTim Angus
2013-03-27Fix some of the things clang --analyze flaggedTim Angus
2013-03-22Ditch 'historical compatibility' and use 'logic' insteadTim Angus
2013-03-19Fix NET_IPSocket and NET_IP6Socket return typeZack Middleton
It was causing a warning on Windows x64.
2013-03-19Use PATH_SEP for a debug message in FS_FOpenFileReadDirEnsiform
2013-03-19Remove RAVENMD4 #defineTim Angus
2013-03-19Fix some clang warningsTim Angus
2013-03-19Remove old x86_64 JIT compilerTim Angus
2013-03-19Remove Sys_SnapVectorZack Middleton
2013-02-16Update copyright noticesTim Angus
2013-02-165717 - Gamecode can open file "" for readingZack Middleton
2013-02-16Don't add pk3dirs if connecting to a pure serverZack Middleton
Only .cfg etc would be read from pk3dirs, but they should be treated like pk3s that are not on the pure list.
2013-02-16Change pk3dir README / comments to fit in betterZack Middleton
2013-02-165289 - Support for .pk3dirAndrew Browne
2013-02-16Unify/cleanup max snapshot entities on client and serverZack Middleton
2013-02-16Remove MSG_WriteDeltaUsercmd and MSG_ReadDeltaUsercmdZack Middleton
2013-02-16Remove some unused defines from msg.cZack Middleton
2013-02-16Fix MSG_ReadDeltaKey setting bit 1<<bits oftenZack Middleton
MSG_ReadDeltaKey would often set 1<<bits, it should never be set. It exceeds the size of what was being read. Worked okay for weapons/forward/right/up as they stored as chars (value would wrap around to correct value, lucky). Angles had the wrong value, not sure if it was causing issues.
2013-01-13Fix screwed up whitespace in files.cTim Angus
Apologies to anyone merging this :(
2013-01-13Fix FS_FOpenFileRead corner caseTim Angus
FS_FOpenFileRead is a fairly mental function that changes its return behaviour depending on whether or not file is NULL or not. It turns out in the case where file is NULL, we were returning the wrong value when the file didn't exist.
2013-01-13Update src/qcommon/q_shared.hM. Kristall
ioq3 merge prevented servers from showing up on the master The Tremulous master server expects HEARTBEAT_FOR_MASTER to be the same as GAMENAME_FOR_MASTER, but dpmaster wants DarkPlaces