Commit graph

23 commits

Author SHA1 Message Date
myT
ca8fb7457b reduced CPU usage in the client 2017-12-27 05:43:28 +01:00
myT
04ebdc63f6 fixes for VC++ platform toolsets v140 and v141 2017-12-20 05:41:04 +01:00
myT
21dfece12b fixing up glConfig.vidWidth/Height in windowed mode when receiving WM_SIZE 2017-12-07 00:36:44 +01:00
myT
964879bc5e changed r_mode and added r_blitMode 2017-11-22 18:26:26 +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
be890e5b70 moved in_restart to the shared client code
the platform layers implement Sys_InitInput and Sys_ShutdownInput
2017-10-04 17:33:35 +02:00
myT
928d863e5d avoiding redundant input inits and shutdowns on Windows 2017-09-12 03:34:20 +02:00
myT
7e2f1f9c9f further simplified win32 input and reduced API calls
got rid of the RIDEV_NOLEGACY raw input flag and the issues it brought
2017-09-06 13:04:58 +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
860610466a added a minimize button to the window 2017-06-14 07:44:37 +02:00
myT
c3ee3f2a4d with r_mode 1, tabbing out of the game will restore display settings on the desktop
fixed window restore after minimizing when clicking the task bar or using alt-tab
fixed r_mode 1 on secondary monitors
fixed in_mouse 2 input on secondary monitors
fixed the cursor sometimes staying visible and unclipped when restoring the window
2017-06-01 20:48:21 +02:00
myT
8e2aafbdfd r_monitor is now latched, auto-updated and is used in every vid_restart call
fixed glConfig.vidWidth/Height when r_mode is set to use desktop res
2017-05-17 07:41:25 +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
7ccf48f10d removed the WS_BORDER flag in FS as it caused issues on some configs 2017-03-14 05:22:12 +01:00
myT
701ae06fbb update the glConfig resolution with the one we actually have 2017-03-07 23:32:50 +01:00
myT
e0d55dc63c improved multi-monitor support and added r_monitor
only apply hw gamma ramps where and when needed
fixed the start-up console window staying visible when starting in full-screen
black window background to avoid the white flashes when hw gamma is enabled
2017-03-05 22:48:02 +01:00
myT
39ee0db5b7 added exception/signal/exit handlers to properly restore modified system settings like gamma ramps 2017-03-05 20:10:48 +01:00
myT
161f11e40e removed superfluous GetVersionEx calls (which is deprecated anyway) 2016-12-30 08:45:21 +01: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