Commit graph

87 commits

Author SHA1 Message Date
myT
ccb9827b03 added GUI for options and front-end stats
added keycatchgui
added VS2019 project files
renamed r_swapInterval
removed r_speeds
fixed r_mode 1 cursor
fixed device caps
2023-11-12 01:32:59 +01:00
myT
2789da3a48 added live shader code editing 2023-11-12 01:32:59 +01:00
myT
3b6a3a5019 added D3D12 rendering and removed D3D11, GL2, GL3
don't track .user files except for cnq3 and cnq3-server

disabled FPS hack

disabled FPS hack, part 2
2023-11-12 01:32:58 +01:00
myT
a202404d16 only run the main thread on P-cores 2023-08-02 18:11:36 +02:00
myT
9e19d22d46 added /registerdemos and /unregisterdemos 2023-08-02 02:43:31 +02:00
myT
ebfa9346b2 added s_khz
defaulting to 22.05 KHz on Windows again due to (presumably) chipset/driver issues
chipsets involved: Realtek ALC887, Realtek ALC892
2022-12-27 20:40:03 +01:00
myT
f7a1d6655e fixed invalid printf argument lists
the CL_AddKeyUpCommands case was quite peculiar:
"time" wasn't a variable but the standard C library function
2022-11-22 20:34:46 +01:00
myT
79b2457783 added printf annotations for VC++'s analyzer 2022-11-22 20:20:45 +01:00
myT
9f90a6ee8b added Sys_IsDebuggerAttached and Q_assert 2022-11-04 04:46:04 +01:00
myT
bf0c8ec492 using an updated icon courtesy of deft 2022-05-04 18:28:57 +02:00
myT
533e0872c1 added console mark mode 2022-04-30 04:03:47 +02:00
myT
1317ce54cb added Sys_DebugPrintf 2022-04-10 21:24:36 +02:00
myT
0af1422190 Windows audio output device sampling rate is now 44.1 kHz 2020-10-09 04:51:21 +02:00
myT
cb0ef3aab8 fixed OpenGL version checks and FBO support checks 2019-11-12 04:22:36 +01:00
myT
db4fb31658 added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
myT
b406564962 added copyright notices to important new files 2019-09-25 05:14:58 +02:00
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