summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-08change the UI server-sorting fields to be GPP-compatible/dev/humancontroller
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-07Merged ioq3 708fe6937a7bf4a838766d1c3a07552160ab4f1eTim Angus
2015-06-07use osxcross compilersTim Angus
2015-06-07Commit newly generated gram.cTim Angus
2015-06-07Fix cppcheck warningTim Angus
2015-06-07clang gets upset by some of these compiler options (and they're probably ↵Tim Angus
pretty pointless in 2015 anyway)
2015-06-07Horizontal scroll should not cause K_MWHEELDOWN key pressZack Middleton
2015-06-07Save bot accompany distance across map change or restartZack Middleton
If a bot is accompanying someone before map change or restart, the bot would continue accompanying them but press up against them and orbit around them. This is caused by the bot's formation distance being 0. Save the formation distance so they maintain proper distance and do not orbit around the player.
2015-06-07Let's not ifdef MISSIONPACK inside of ifdef MISSIONPACKZack 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-07Add a comment about non-functional bot codeZack Middleton
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 attacker icon being default image if attacker leftZack Middleton
With cg_draw3dicons 0 if attacker is kicked or disconnects, the attacker icon becomes the default image.
2015-06-07Fix crosshair drawing not clearing colorZack Middleton
The renderer color is set to health color when drawing crosshair. After drawing the crosshair, the renderer color was not cleared and could affect other things. With cg_draw3dicons 0 and cg_drawCrosshairNames 0 it affected the attacker icon.
2015-06-07Clean up CG_DrawProxWarning designZack Middleton
Hopefully fixes the following warning cg_draw.c:2315 assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]
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-06-07Use pkg-config for a system libjpeg if available: libjpeg-turbo has itSimon McVittie
Bug: https://github.com/ioquake/ioq3/pull/116
2015-04-14Merge pull request #8 from jkent/masterTim Angus
Customize macosx app build script for Tremulous
2015-04-11Customize macosx app build script for TremulousJeff Kent
2015-03-17Merged ioq3 40cfbc9a8246ab2ea6b2f05f5043de70eb5ad980Tim Angus
2015-03-17OpenGL2: Fix culling again.SmileTheory
2015-03-17Don't run vid_restart when "resized" to current sizeZack Middleton
2015-03-17Fix AAS_Reachability_Grapple's sky surface checkZack Middleton
Surface flags are stored in bsptrace.surface.value not flags.
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-17Fix compiling lcc using mingw under cygwinZack Middleton
Also have 'make' under cygwin automatically use mingw.
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 Team Arena tauntGauntlet commandvloup
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-17Make barrel/flash model name buffer safeZack Middleton
2015-03-17Fix possible levelPicNames buffer overflow in q3_uiZack Middleton
2015-03-17Fix parsing bots in arena info with trailing spacesZack Middleton
q3_ui would shown bot at index of number of bots in list. game would send empty name to addbot command and command would think skill (i.e., 2.000000) was the bot name.
2015-03-17Remove logically dead code from UI_GetServerStatusInfoZack Middleton
2015-03-17Make Window_Paint check if w is NULL before dereferenceZack Middleton
2015-03-17Fix (unused) "orders" menu script logicZack Middleton
"orders" menu script is not used by Team Arena. The same C format string was given an int or string argument depending on if ordering a single person or everyone. Make it always use int.
2015-03-17Fix handling too many characters or aliases in Team Arena UIZack Middleton
2015-03-17Fix possible string buffer overflows in Team Arena UIZack Middleton
2015-03-17Fix off-by-one range checks in Team Arena UIZack Middleton
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.