Commit graph

21 commits

Author SHA1 Message Date
myT
3305c6f515 improved multi-monitor support
- /monitorlist
- the monitor list gets updated during video restarts and by /monitorlist
- Linux > r_monitor is now 0-based and monitors are sorted top-to-bottom, left-to-right
- Windows > the Windows + shift + left/right arrow key shortcuts should be ok to use
2019-02-20 20:52:34 +01:00
myT
ac4928e18d reworked and unified sleeping
reduced client update rate when minimized
fixed timedemo playback
2018-01-25 06:41:30 +01:00
myT
db37f4b8fb removed the "unfocused client" sleep path from the Windows main loop 2018-01-19 07:10:56 +01:00
myT
f5b7c66b5a on Windows, a fatal error will move the early console window to the foreground 2018-01-16 03:02:59 +01:00
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
04ebdc63f6 fixes for VC++ platform toolsets v140 and v141 2017-12-20 05:41:04 +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
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
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
c95e9a86ee added automatic process restarts for Linux dedicated server crashes and timed reboots
putting the UTC date and time in Linux crash report file names
2017-07-06 06:10:29 +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
e4062a6c90 reduced win32 raw mouse input latency and added cl_drawMouseLag 2017-05-06 22:01:14 +02: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
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
569247745b x64 target bug: _findfirst handle truncation would lead to crashes on some machines 2017-03-05 20:20:59 +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
97db9f2314 import from cnq3 1.47 2016-12-17 20:43:04 -08:00