summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
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
2015-03-17Fix case where interval overflows (thanks jackeri)Tim Angus
[17:58] <Jacker> hey, you might be interested in checking out this https://github.com/etlegacy/etlegacy/commit/4da5a397b5994bfe5fddb9dad35bef5ddbea64c9#diff-acaedc9d8b492f9af8966ae68597392cR615 [17:58] <Jacker> its related to the ddos protection code you wrote [17:59] <Jacker> in continuation to: ab9b08e5845b0ff19814c996ad0cfb1dccab2790 [17:59] <Jacker> in a case if the client has in the past connected to the server days/weeks earlier and time wraps the client wont be able to connect [18:00] <Jacker> since in that case if the bucket of that clients ip still exists it wont get checked correctly
2015-03-17Include stdint.h instead of inttypes.h in libmumblelink.cZack Middleton
MSVC 2010 has stdint.h but not inttypes.h. Debian (GCC, MinGW) and OS X (Clang) can compile using stdint.h.
2015-03-17Unfix warningTim Angus
2015-03-17Fix warningTim Angus
2015-03-17Fix cg.intermissionStarted only being enabled at first intermissionZack Middleton
Game sets CS_INTERMISSION to 1 at intermission, but does not clear it at map_restart so it's only sent the first time. CG_MapRestart manually clears cg.intermissionStarted (which is set to value of CS_INTERMISSION when it's modified). So subsequent intermissions do not have cg.intermissionStarted enabled. Now CS_INTERMISSION is cleared and sent each time intermission is started and cg.intermissionStarted is enabled each time. This makes subsequent intermissions not play sounds in CG_CheckLocalSounds during the 1 second between intermission starting and switching to scoreboard (PM_INTERMISSION) and makes Team Arena voice chats not play.
2015-03-17Windows header files for q3lccPan7
2015-03-17Renaming outp to outbufp because outp() is an existing functionPan7
2015-03-17When player stops following a player, keep view anglesZack Middleton
Now player keeps looking the same direction instead of facing somewhere else which is slightly disorienting.
2015-03-17Don't use dead view angles after stop following a dead playerZack Middleton
If ps.stats[STAT_HEALTH] is less or equal to 0, cgame uses fixed view angles. When stop following a player, make sure health isn't less or equal to 0.
2015-03-17Fix reading 4 byte UTF-8 text inputZack Middleton
2015-03-17Add weapon barrel to gauntlet/mg/bfg items in baseq3 tooZack Middleton
2015-03-17Fix weapon barrel angle on Gauntlet and BFG items in Team ArenaZack Middleton
The barrels were rotated 90 degrees from what they should be. Used barrel code from CG_AddPlayerWeapon to fix them.
2015-03-17Fix compile error with ml64 assemblerMichael Rieder
2015-03-17Fix bot's teamleader name field being too shortZack Middleton
Players using names with 32 to 35 characters could not be recognized as the team leader. Reported by Razor.
2015-03-17Fix negative glyph index in Team Arena text functionsZack Middleton
Team Arena's text functions cast signed char values to int and use as an array index. This works fine for values 0 to 127, but not for -128 to -1 which are a negative array index. Instead use "character & 255" like client and original Q3 ui/cgame string drawing code.