Commit graph

38 commits

Author SHA1 Message Date
myT
e26163aa79 added screenshotnc and screenshotncJPEG 2017-11-05 22:40:32 +01:00
myT
c60d47e93f cleaned up tr_gl2.cpp and prefixes in win32 code
tr_gl2.cpp now uses the proper interface for printing errors
tr_gl2.cpp now has function names that make sense
removed old references to GLimp_*
cleaned up prefixes in the Windows platform layer
2017-11-03 19:35:35 +01:00
myT
9362d9bf53 deleted 2-threads rendering support (SMP) 2017-11-03 19:34:32 +01:00
myT
4cd544217c platform layer GL interface cleanup
renamed and documented the core GLimp functions
moved the memset calls out of GLimp_Shutdown
dealing with anisotropic filtering properly and fixed the cvar's range and help
platform extension loading is done through Sys_GL_LoadExtensions
throwing fatal errors is done by the renderer exclusively
removed QGL_Init and QGL_Shutdown
cleaned up glconfig_t
filling up the unused glConfig fields in the renderer for old mods
2017-11-03 19:33:54 +01:00
myT
31167156ac fixed the OGL state not being properly (re)set at the start of GL2_EndFrame 2017-10-29 07:01:54 +01:00
myT
f38ce8aba3 fixed a buffer overflow in GL2_CreateShader 2017-10-28 22:48:00 +02:00
myT
770199f00d fixed con_notifytime's range not allowing -1
fixed m_accelOffset's invalid default value
2017-10-28 19:36:16 +02:00
myT
b3831fcc87 the Linux client now uses SDL 2 for: window, GL context, video modes, audio, kb and mouse input, monitor list, clipboard 2017-10-28 03:35:51 +02:00
myT
584d064523 fixed the greyscale shader using lerp instead of mix 2017-10-04 17:51:44 +02:00
myT
dfd9c9b462 fixed the post-process rendering code messing with texture binding
this was causing /cinematic playback to output a white image
2017-10-04 04:59:49 +02:00
myT
62ff8ef1d1 fixed the renderer not always removing commands when it should 2017-10-04 00:35:26 +02:00
myT
1d6663ebc1 replaced the cameraMatrixTime variable from the renderer's public interface by a function 2017-10-03 23:31:35 +02:00
myT
70f301e4ff cvar help extension
cvar type+range extension
module tracking for cvars and commands
lots of help text
2017-10-03 19:11:10 +02:00
myT
37ef941ac2 fixed r_fullbright not being used and made it unlatched
removed the superfluous calls to GL_TexEnv for r_lightmap
2017-08-18 18:30:39 +02:00
myT
f9fbe4797f fixed r_lightmap not being used and made it archived
removed the r_maplight* cvars
removed dead code (RB_StageIteratorGeneric)
2017-08-18 17:03:30 +02:00
myT
ec042e37e1 added r_greyscale to control how monochromatic the final image looks
not doing the gamma pass when gamma==1 && obBits==0
no longer checking glConfig.colorBits for computing the global brightness
2017-08-18 16:02:02 +02:00
myT
1c6bae1eb7 fixed a NULL pointer dereference crash in RB_CalcDiffuseColor 2017-07-06 05:41:03 +02:00
myT
eb4b1d8615 removed r_stencilbits r_depthbits r_colorbits r_texturebits r_ext_compressed_textures 2017-06-22 09:41:36 +02:00
myT
9ea5d021d5 implemented the new interop system
implemented the dynamic lights and integer shader time extensions
2017-06-22 07:15:47 +02:00
myT
bec4101854 using stb_image to load png and tga images
libjpeg errors no longer shut down the engine
2017-06-04 16:37:57 +02:00
myT
b8b064fc53 fixed incorrect symbol usage for the Linux build 2017-06-03 13:02:01 +02:00
myT
176f1ea09f improved error reporting for FBOs and shader compilations 2017-06-02 23:02:20 +02:00
myT
b49c880fe5 fixed broken rendering when the 2nd stage of a collapsed shader stage pair had non-white colors 2017-05-19 00:23:53 +02:00
myT
a646bfdc87 fixed shader stages using "wave" not being animated when the server time is a big number 2017-05-19 00:04:32 +02:00
myT
389cd1690d fixed a bunch of fp math expressions for lack of precision and incorrectly using double instead of float 2017-05-19 00:00:08 +02:00
myT
e4062a6c90 reduced win32 raw mouse input latency and added cl_drawMouseLag 2017-05-06 22:01:14 +02:00
myT
f9d4056e41 fixed the pukka3tourney2 slime not being green with r_vertexLight 1 2017-05-04 19:06:51 +02:00
myT
6b167831dd fixed the ct3ctf1 grate near quad getting picmipped 2017-05-04 19:02:58 +02:00
myT
b5ee082797 the blood decals on pukka3tourney2 were broken because of code adding lightmap stages 2017-04-11 17:47:21 +02:00
myT
c63c3e80a6 replaced monitor gamma by a post-process gamma shader
ported the dyn lights shaders to glsl
nuked stereo rendering
replaced r_ext_multisample with r_msaa
2017-03-21 00:58:59 +01:00
myT
ddb6f080f3 fixed RB_CalcDeformNormals from accessing floats as doubles, which was breaking the rendering of flags and probably many other things 2017-03-14 05:18:59 +01:00
arQon
d8bf2665f5 rewrite most of the linux mouse code: support (and prefer) xinput2 and raw support, default to the master pointer and add m_device to choose one explicitly. 2017-01-25 07:14:23 -08:00
myT
9b350a7d0c replaced a needless linear walk through the shader text uberbuffer with a lookup 2017-01-20 18:26:16 -08:00
myT
f327428475 full x64 support with a VM based on quake3e OCT 21 2016
the VM compiler uses SSE for floating-point ops when possible
2017-01-11 14:24:58 +01:00
arQon
fc9465caab switch from jpeg6 to jpeg-turbo
aside from the speed improvements, this also makes for nicer code
in the renderer interaction with libjpeg, thanks to mem_dest support etc
2017-01-03 00:34:59 -08:00
arQon
954c80a8b5 merge the new build system
use the "premake" tool from the cnq3tools repo with
"--quake3dir=<q3dir>" to generate a VS sln and gcc makefiles

this changeset also removes the "clever" handling of fullscreen/windowed
changes which didn't actually work and just broke windowed mode
2016-12-29 20:13:59 -08:00
arQon
1afbf12d80 repair some strange quality regressions in the renderer source, as well as what looks like some half-merged pmx pieces. add glext for win32 platforms. NOTE: vc has poisoned a bunch of files with CRLF endings, because apparently you're not allowed to have those work properly in vs2013 and later, sigh 2016-12-18 03:05:45 -08:00
arQon
97db9f2314 import from cnq3 1.47 2016-12-17 20:43:04 -08:00