summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2014-06-17OpenGL2: Reimplement soft overbright to avoid a framebuffer blit.SmileTheory
2014-06-17OpenGL2: Some small shader optimizations.SmileTheory
2014-06-17OpenGL2: Revisit fragment tangent space calculation, and remove tangent ↵SmileTheory
space lighting.
2014-06-17OpenGL2: Reduce glsl shader count by using a uniform to disable textures.SmileTheory
2014-06-17Fix video recording sync drift (patch refactored but original author unknown)Tim Angus
2014-06-17Remove vertexLightmap from textureBundle_t, it's never qtrueZack Middleton
2014-06-17Remove unused shader state code from tr_local.hZack Middleton
2014-06-17Merge last two commits into renderergl2Zack Middleton
2014-06-17Initialize blendIndexesType and blendWeightsTypeZack Middleton
2014-06-17Fix IQM comments refering to IQM_BYTE instead of IQM_UBYTEZack Middleton
2014-06-17IQM int/float vertex arrays were already swappedZack Middleton
2014-06-17Add support for IQM int blend indices and float blend weightsZack Middleton
Integer blend indices are converted to bytes at load, ioq3 doesn't allow more than 128 joints. Heavily based on code by @zippers.
2014-06-17Support IQMs with joints and no posesZack Middleton
2014-06-17Clear more variables in CL_InitServerInfoZack Middleton
Have cls.localServers use CL_InitServerInfo. Don't set cls.localServers netType to from.type, it's the wrong value. Note: server->visible is not cleared in CL_InitServerInfo, as stated by a comment below a place where CL_InitServerInfo is used.
2014-06-17OpenGL2: Merge bsp surface structs into a single struct, and more cleanup.SmileTheory