summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2014-06-17OpenGL2: Use an idea from ETXreal and separate world VBO into separate VBOs ↵SmileTheory
by shader.
2014-06-17OpenGL2: Clean up texmod calculations, and improve vertex animation handling.SmileTheory
2014-06-17OpenGL2: Fix TCGEN_ENVIRONMENT stages not rendering correctly.SmileTheory
2014-06-17Drop sounds starting with * before allocating sfx slotZack Middleton
Causes handle 0 to be returned by S_RegisterSound.
2014-06-17Revert "5097 - Menu corrupted on start (on IRIX)"Zack Middleton
Calling glClear( any bits ) in GL_SetDefaultState makes connect screen black using the proprietary NVidia driver on Windows and GNU/Linux. This reverts commit 92573270de98a20cd78842bd2043cfe07bc5b2e1.
2014-06-17OpenGL2: default to RGBM lightmap, and add r_floatLightmap for old behaviour.SmileTheory
2014-06-17OpenGL2: Remove AGEN_FRESNEL(superceded by cubemap patch), and some small ↵SmileTheory
fixes and optimizations.
2014-06-17OpenGL2: Disable GL_ARB_seamless_cube_map by default, caused huge frame ↵SmileTheory
drops on some hardware
2014-06-17OpenGL2: reduce varying usage in lightall shader.SmileTheory
2014-06-17OpenGL2: Fix for "unsupported framebuffer format" bugSmileTheory
2014-06-17OpenGL2: Some shader cleanupSmileTheory
2014-06-17OpenGL2: Speed up fog shader slightly.SmileTheory
2014-06-17OpenGL2: Fix inaccurate RGBM calculation.SmileTheory
2014-06-17OpenGL2: Use RGBM instead of RGBE encoding for lightmaps.SmileTheory
2014-06-17#5979: Cubemap support for opengl2.SmileTheory
2014-06-17Fix crash caused by too many surfaces in skinZack Middleton
2014-06-17Bug #6021 Fix misuse of Sys_Mkdir (Joerg Dietrich)Tim Angus
2014-06-17Fix recursive crash when home path cannot be createdThilo Schulz