summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-06-17Fix check for jpeg_mem_ to work with libjpeg-turborobo9k
2014-06-17Check for buffer overflow for rail/lightning surfacesZack Middleton
2014-06-17don't clear screen during CA_LOADING and CA_PRIMEDAnthony Pesch
2014-06-17Fix OpenGL2 non-HDR map surface over brightingZack Middleton
Vertex lit map surfaces were saturating to white when r_mapOverBrightBits was increased and r_hdr was disabled. Now the color is normalized like lightmaps and lightgrid when r_hdr is disabled. Which is the same as OpenGL1. Noticeable on misc_model trisoup.
2014-06-17don't call va each frame in GLSL_VertexAttribPointersAnthony Pesch
2014-06-17Don't create images/framebuffers that won't be used, and add checks before use.SmileTheory
2014-06-17Remove unused code path from S_Base_StartBackgroundTrackZack Middleton
We make sure intro isn't NULL. Then if loop is NULL, set it to intro.
2014-06-17Don't read clc.voipIncomingSequence until range checked senderZack Middleton
2014-06-17Fix GL2 deluxemap 0,0,0 to 127,127,127Zack Middleton
Checked if first byte was 0 twice instead of checking second byte.
2014-06-17Fix demoName Com_sprintf size larger than bufferZack Middleton
Maybe this is why demoName is a static global with the comment 'compiler bug workaround'?
2014-06-17Fix music studder in base sound when starting silent cinematicsZack Middleton
2014-06-17Remove extra client_t::csUpdated[] slotZack Middleton
sv.configstrings[] is limited to 0 to MAX_CONFIGSTRINGS-1, make client_t::csUpdated[] the same.
2014-06-17Make GL2 MDR code use R_VboPackNormal for normalZack Middleton
2014-06-17Fix PNG tRNS length checksZack Middleton
2014-06-17#6077: OpenGL2: Add r_ignoreDstAlpha.SmileTheory
2014-06-17Fix playback of stereo sounds in Base sound systemZack Middleton
Already works correctly in OpenAL.
2014-06-17OpenGL2: Small glsl shader optimizations, fixes, and cleanup.SmileTheory
2014-06-17Fix crash in OpenAL when no input devices are availableAmanieu d'Antras
2014-06-17OpenGL2: Support GL_ARB_vertex_type_2_10_10_10_rev for ↵SmileTheory
normals/tangents/lightdirs
2014-06-17Support spatialized raw streams in base sound, e.g. for VoIPZack Middleton
2014-06-17Add latch to r_centerWindow and r_allowResizeZack Middleton
2014-06-17r_noborder changes require a restartIR4T4
2014-06-17Fix white flash levelshot bug in OpenGL1Zack Middleton
If you tried to draw the last loaded image, gl texture 0 (which is appearently white) was used because renderer thought the image was already bound. Why OpenGL1 renderer binds texture 0, I have no idea. It's been removed from OpenGL2.
2014-06-17Fix glsl DEFORM_BULGE calculationcmf028
2014-06-17Remove R_AddAnimSurfaces and R_MakeAnimModel prototypesZack Middleton
2014-06-17OpenGL2: Remove redundant GLS_* enum.SmileTheory
Thanks Xycaleth for pointing out.
2014-06-17#6069: Remove md4 model support.SmileTheory
2014-06-17Silence warnings about unused static functions in opengl2Zack Middleton
2014-06-17Fix signal 6 in S_Base_StartBackgroundTrack on OS X 10.9Zack Middleton
In S_UpdateBackgroundTrack, s_backgroundLoop was passed to S_Base_StartBackgroundTrack and tried to copy to itself using Q_strncpyz.
2014-06-17End current draw surface before drawing cinematicZack Middleton
Fixes drawing StretchPic *before* CIN_DrawCinematic resulting in cinematic being drawn before the StretchPic.
2014-06-17OpenGL2: Use RGBA16F format for HDR.SmileTheory
RGB16F is not 4-byte aligned and not supported by certain hardware.
2014-06-17#6059: OpenGL2: Read depths from resolve fbo when msaa is on in RB_TestFlare().SmileTheory
2014-06-17OpenGL2: Match glsl data type names: matrix_t -> mat4_t, vec*i_t -> ivec*_tSmileTheory
2014-06-17OpenGL2: Match glsl data type names: matrix_t -> mat4_t, vec*i_t -> ivec*_tSmileTheory
2014-06-17OpenGL2: Calculate bitangent in shader, and store normal/tangent as ↵SmileTheory
normalized byte arrays.
2014-06-17Fix comparing unsigned values to < 0 in gl2Zack Middleton
2014-06-17Remove unused cvar_t variable cl_trnEnsiform
2014-06-17Fix cinematics often being silent on OS XZack Middleton
If OpenAL source isn't playing, often what happens is: queued buffers is 0 and processed buffers is non-0. S_AL_StreamUpdate won't play the steam if queued buffers 0. So start the stream in S_AL_RawSamples.
2014-06-17Fix restoring loop sound position on OS XZack Middleton
The default OpenAL library on OS X errors AL_INVALID_VALUE for AL_SEC_OFFSET if source isn't playing.
2014-06-17Make OpenAL buffer management work on OS XZack Middleton
Don't assume we have unlimited OpenAL buffers. Detach buffers from sources by setting AL_BUFFER to 0. Cannot delete buffers on OS X immediately after alSourceUnqueueBuffers. Free unprocessed stream and music buffers. Free unused sfx buffers when sound file exists and fails loading into OpenAL (though I haven't seen it fail).
2014-06-17Fix flares being invisible after vid_restartZack Middleton
flareCoeff was only set if r_flareCoeff cvar was set as modified. Cvars are set as modified when created or changed.
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-17OpenGL2: Remove srfTriangle_t, and use glIndex_t instead.SmileTheory
2014-06-17OpenGL2: Small optimizations and comments in world VBO creation and surface ↵SmileTheory
merging.
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-17OpenGL2: Prefer VBO/IBO sizes of around 4MB.SmileTheory