Commit graph

21 commits

Author SHA1 Message Date
myT
f16d368775 fixed the Windows crash handler incorrectly considering certain exceptions as fatal
real-world example: code 0x6C6 flags 0x1
it was happening because we didn't give the other handlers a real chance to deal with them
2018-01-15 21:19:27 +01:00
myT
fca556e2ad match alerts cgame extension and s_autoMute for Windows 2017-11-07 06:17:28 +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
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
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
9dd81a895b fixed the cursor staying visible in raw input mode when focusing the window while a mouse button is pressed
got rid of redundent mouse API calls when handling focus changes
simplified the mouse input code
2017-08-18 19:05:19 +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
d9bacec921 in_minimize registers a hotkey to minimize/restore the client 2017-06-01 13:02:19 +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
e4062a6c90 reduced win32 raw mouse input latency and added cl_drawMouseLag 2017-05-06 22:01:14 +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
1efd5b6d82 improved crash and exit handlers that restore system settings (monitor gamma ramps, system timer resolution, terminal settings, ...) and crash reports with full QVM stack trace 2017-03-14 05:11:12 +01:00
myT
701ae06fbb update the glConfig resolution with the one we actually have 2017-03-07 23:32:50 +01:00
myT
84ae1e4d9e updated mouse input for better grab (de-)activation and fixed window dragging 2017-03-07 23:09:17 +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
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
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