Commit graph

71 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
e42c05dfc8 removed the unused alt-tab blocking code for Windows 2019-02-19 19:43:22 +01:00
myT
51809f8276 fixed incorrect LPARAM type casts in the WM_MOVE handler (the coordinates are signed) 2019-02-19 18:51:44 +01:00
myT
3620da42e4 fixed mouse cursor clipping on Windows 2018-12-07 21:28:22 +01:00
myT
4e32660946 write module file paths in the crash reports' JSON files 2018-12-07 20:48:49 +01:00
myT
f9cfe48d11 can now pass "/crashreport:yes" and "/crashreport:no" to the Windows executables
this will disable the use of message boxes and won't open the crash report directory
2018-01-25 07:25:26 +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
b7a76b6428 console down with 2+ screens always disables input grabbing 2018-01-21 17:26:18 +01:00
myT
db37f4b8fb removed the "unfocused client" sleep path from the Windows main loop 2018-01-19 07:10:56 +01:00
myT
608ed06410 more robust crash report directory selection
consider the report written if at least 1 file was successfully written to
2018-01-19 07:01:15 +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
95e7407688 fixed glInfo/glConfig getting messed up when minimizing 2018-01-06 23:58:30 +01:00
myT
ca8fb7457b reduced CPU usage in the client 2017-12-27 05:43:28 +01:00
myT
3c52752dd3 added help panel and colorized help text
added con_drawHelp and con_col*
letting the mod know we support the "cap_ExtraColorCodes" extension
con_colText overrides ^7 in the console and the help panel
extended console back scroll arrows all the way
2017-12-27 05:13:33 +01:00
myT
04ebdc63f6 fixes for VC++ platform toolsets v140 and v141 2017-12-20 05:41:04 +01:00
myT
d0878f3807 2 Windows mouse input fixes
fixed incorrect clip rectangle
fixed incorrect window center point for in_mouse 2
2017-12-20 02:34:52 +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
b4d78a1bc1 fixed and unified Windows mouse wheel handling 2017-12-04 20:50:45 +01:00
myT
93950031b9 disabled DPI scaling on the Windows client 2017-11-29 18:29:23 +01:00
myT
964879bc5e changed r_mode and added r_blitMode 2017-11-22 18:26:26 +01:00
myT
fca556e2ad match alerts cgame extension and s_autoMute for Windows 2017-11-07 06:17:28 +01:00
myT
caaa8e4e47 audio interface clean-up and Sys_* documentation 2017-11-03 19:36:30 +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
fdf6636153 mouse buttons no longer get "stuck" on Windows after bringing the console down 2017-10-29 02:51:12 +02:00
myT
6238d7dd7f implemented in_noGrab on Windows 2017-10-29 02:36:57 +02:00
myT
1f49b43a39 con_history 1 is not just for clients anymore 2017-10-12 19:12:41 +02:00
myT
9a7ab19245 sv_restartProcess restarts the child process
uptime print child process, parent process and map uptimes
2017-10-12 03:45:24 +02: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
c3027a56b7 made keys F13 to F24 bindable 2017-10-03 23:58:41 +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
928d863e5d avoiding redundant input inits and shutdowns on Windows 2017-09-12 03:34:20 +02:00
myT
6d18a0b5bd added the new client HTTP download system 2017-09-12 03:21:11 +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
dff8216de7 fixed "minimizekeynames" not being unregistered on input system shutdown 2017-07-30 02:21:44 +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
47a566f9cc com_completionStyle 1 for cycling auto-completion results line in ET 2017-07-05 05:53:05 +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
8b5728559b unified the command history logic
when a command is the same as the previous one, it doesn't get saved
Linux tty keys support: left, right, home, end, delete
2017-06-04 13:02:20 +02:00
myT
59f658c791 fixed the win32 dedicated server build 2017-06-03 00:27:59 +02:00
myT
1ef18feab5 restoring desktop settings and minimizing the window when crashing
making sure the crash message box is always visible
2017-06-02 18:59:23 +02:00
myT
b19cd251b9 removed some dead code 2017-06-01 20:49:52 +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
Christiaan Hondeveld
53b0866069 Merged dedicated console history 2017-05-28 14:49:22 +02:00
myT
85d6762647 added auto-completion to the Windows dedicated server
fixed Linux dedicated servers inserting a leading backslash when running auto-completion
fixed tty handling of the leading "]"
2017-05-18 23:23:50 +02:00