Commit graph

485 commits

Author SHA1 Message Date
myT
e009dce47a r_rtColorFormat is now a UNORM format, fixed shader data for PIX debugging 2023-11-12 01:33:00 +01:00
myT
e52133ea5d no longer drawing the scene when in hyperspace 2023-11-12 01:33:00 +01:00
myT
1258625810 GRP UI: respect image 0's texture wrap mode 2023-11-12 01:33:00 +01:00
myT
9342951184 fixed 64-bit syscall argument truncation 2023-11-12 01:33:00 +01:00
myT
00840e10d8 implemented depth fade
improved PSO change tracking
embedded more common uber pixel shader permutations
2023-11-12 01:33:00 +01:00
myT
aa51fae5a6 fixed SMAA crash on device change 2023-11-12 01:33:00 +01:00
myT
46d08be6e7 improved error reporting for adapter selection 2023-11-12 01:33:00 +01:00
myT
e5e6ce1d08 fixed expression to clarify intent 2023-11-12 01:33:00 +01:00
myT
6fdf62d710 removed dead code 2023-11-12 01:33:00 +01:00
myT
29939c951c removed unused fog logic and data 2023-11-12 01:33:00 +01:00
myT
ffde1f2b1b implemented dynamic lights 2023-11-12 01:32:59 +01:00
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
61243c3ce1 clear tessellated buffer before drawing a scene view 2023-11-12 01:32:59 +01:00
myT
d1912ba929 allow device change at any time 2023-11-12 01:32:59 +01:00
myT
fd035c0f70 added r_shadingRate 2023-11-12 01:32:59 +01:00
myT
d841f13fb0 recreate samplers on video restart so max anisotropy takes effect 2023-11-12 01:32:59 +01:00
myT
e2f6e05ebe fixed mirror portal rendering 2023-11-12 01:32:59 +01:00
myT
a86504ddad fixed alpha test and depth write in transparent shaders 2023-11-12 01:32:59 +01:00
myT
a60693ae65 partial depth pre-pass with some hacky heuristics 2023-11-12 01:32:59 +01:00
myT
fadbea4b2c fixed incorrect swap chain size messing up r_mode 1 2023-11-12 01:32:59 +01:00
myT
2789da3a48 added live shader code editing 2023-11-12 01:32:59 +01:00
myT
e13385ed05 more static memory for cpm3b_b1 2023-11-12 01:32:59 +01:00
myT
f8567ecba0 added world shader tracing 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
1dca257c9d format float CVars without trailing zeroes 2023-10-30 21:46:55 +01:00
myT
609e11f11d fixed drop errors when opening demos in subdirectories on Linux 2023-09-29 22:47:32 +02:00
myT
b60db6b1f0 updated version and date for 1.53 release 2023-09-20 23:11:20 +02:00
myT
23ce3e0982 added NDP server pause tracking and improved command sequence handling 2023-08-08 02:05:42 +02:00
myT
db25062b05 fixed NDP vid_restart fatal errors when demo file names contain spaces 2023-08-08 02:05:11 +02: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
b3480c7129 fixed crashes due to bad shader stage collapse data 2023-07-29 04:53:18 +02:00
myT
c8e1eb546f added r_teleporterFlash 2023-07-03 03:44:06 +02:00
myT
5b591f270d fixed GL2 portal clip plane not being used 2023-05-30 19:51:06 +02:00
myT
815b8d0c02 fixed texel offset in the CPU mip-map generator 2023-05-30 19:49:55 +02:00
myT
3960c7d32e fixed NDP executing end-of-demo commands when starting playback 2023-05-22 02:16:56 +02:00
myT
9f32a13f05 fixed video recording issues with long demo file names 2023-04-30 00:55:55 +02:00
myT
ab44152713 tweaked NDP behavior for beta 2
- more accurate seeking to enable scrubbing
- rate-limiting is now the mod's reponsability
- using the same FULL_SNAPSHOT_INTERVAL in all builds to make bugs less difficult to track
2023-04-04 22:52:16 +02:00
myT
8ed8d26481 removed the R_SetPVSCulling extension
reverted 7e0de354c2
the mod can feed a different area mask to force drawing everything
2023-04-04 22:42:24 +02:00
myT
c75b2b27fa fixed invalid skybox texture mip/filter settings 2023-03-02 18:57:49 +01:00
myT
693415a6e2 added .wav files to the pure client read exception list 2023-03-01 02:43:28 +01:00
myT
7e0de354c2 added the R_SetPVSCulling extension 2023-02-25 23:01:11 +01:00
myT
ec95faad1b fixed the RB_CalcDiffuseColor color array offset 2023-02-24 04:43:48 +01:00
myT
cae492053f CVar sets always use all arguments 2022-12-28 14:37:30 +01:00
myT
608b223f52 can set the "dedicated" CVar from the command-line again 2022-12-28 04:10:24 +01: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
e64de08ef2 printing WSAEWOULDBLOCK on recvfrom is far too verbose 2022-12-27 19:18:17 +01:00
myT
15bea75d06 fixed new demo player not always writing to all entities in a snapshot 2022-12-27 04:20:56 +01:00
myT
b36fce3234 fixed multiple instances of variable shadowing 2022-12-26 22:08:46 +01:00
myT
cb38533de5 invertedpenguin: replaced the shader of the blood pool behind RA 2022-12-13 05:10:57 +01:00
myT
3c8cb0f592 simplified R_ImageList_f 2022-12-11 19:13:33 +01:00
myT
3e18b2d0e1 forcing the nopicmip flag on specific texture folders
for now: "textures/npmenv" and "textures/npmpads"
2022-12-11 19:12:40 +01:00
myT
6b9d35df8c fixed /imageinfo and /shadermixeduse 2022-12-11 19:09:34 +01:00
myT
952da7c009 added the -f option to /writeconfig 2022-12-05 21:07:06 +01:00
myT
a7e87a065b fixed the reported selected MSAA sample counts for GL2/GL3 2022-12-04 01:02:37 +01:00
myT
69c1bee127 simplified and improved r_vertexLight handling 2022-12-03 04:57:58 +01:00
myT
5e0739fdf9 preventing unnecessary work when g_forcedLoadImages gets larger 2022-11-25 05:45:04 +01:00
myT
b8d9f7e5f1 fixed the default strategy for D3D11 buffer offsets 2022-11-25 05:39:52 +01:00
myT
cfdba32b24 added /imageinfo and /shadermixeduse 2022-11-25 03:32:41 +01:00
myT
d43a016e61 improved mark mode's end key handling of white space 2022-11-23 20:42:54 +01:00
myT
b517f56959 only print warnings for excessive sound loads with /developer 1 2022-11-22 22:19:35 +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
a7a233699e bots can no longer get timed out
this was just annoying when testing things
one less CVar to remember and set...
2022-11-06 02:36:15 +01:00
myT
af52b71e03 fixed the void argument list in DEF_TRAP_0 to help catch mistakes 2022-11-05 05:01:17 +01:00
myT
ea435faf1f added a legend to clarify the output of /shaderlist 2022-11-04 23:16:33 +01:00
myT
0be40a60a7 the new demo player now has smoother animations at low time scales 2022-11-04 05:06:38 +01:00
myT
f401f742ee added a new demo player with fast seeking support
added cl_demoPlayer and cl_escapeAbortsDemo
2022-11-04 05:01:00 +01:00
myT
9f90a6ee8b added Sys_IsDebuggerAttached and Q_assert 2022-11-04 04:46:04 +01:00
myT
6dbf731973 improved the VM argument type conversion shim 2022-11-04 04:40:23 +01:00
myT
439177057c fixed FS_FileForHandle's range check 2022-11-04 04:36:05 +01:00
myT
2fd422c053 let the mod handle syscall fix-ups in a unified way across build types 2022-10-28 23:39:05 +02:00
myT
03ae2d0d05 removed a lot of unused code 2022-10-28 23:32:27 +02:00
myT
be0746dfc4 fixed read-only CVar registration keeping the existing value 2022-10-23 05:23:27 +02:00
myT
c8c9bef131 added r_depthClamp and cap_DepthClamp 2022-10-23 02:58:20 +02:00
myT
74acd92d91 fixed the D3D projection transform not matching GL 2022-10-18 19:09:14 +02:00
myT
1b74aed8b9 removed the useless myftol macro 2022-06-17 03:38:39 +02:00
myT
9895f3b895 fixed RB_RenderLitSurfList still crashing because of an invalid stage index
the first attempt was f99c223495
this is really not a proper fix since I haven't solved how it gets to that stage
but, knowing I will be deleting this whole part of the code soon enough anyway...
2022-06-17 03:26:36 +02:00
myT
928c9a71ec added a clang-format config for use with new source files 2022-06-17 02:00:41 +02:00
myT
3dc34d47f3 replaced the CPU image resampling functions with something better 2022-06-17 01:59:56 +02:00
myT
0ee2a50e90 image read/write errors print warnings instead of causing drop errors 2022-06-17 01:53:32 +02:00
myT
2389b5db39 updated stb_image.h 2022-06-17 01:46:01 +02:00
myT
2aa92b3cde a better way to deal with Clang's vexing parse warning 2022-06-01 03:53:52 +02:00
myT
e56a11b638 added /shaderinfo 2022-05-28 16:50:42 +02:00
myT
049793f8f9 made some expression more legible as originally intended
the code is equivalent since && has higher precedence than ||
in other words, I messed up but got it right by sheer luck
2022-05-26 23:12:02 +02:00
myT
75f0635f3f fixed /video writing incorrect audio stream lengths to the AVI file headers 2022-05-26 22:52:25 +02:00
myT
928a8df74a fixed a potential 1-byte buffer overflow in CL_ServerInfoPacket 2022-05-26 22:29:00 +02:00
myT
dcb3c80998 added default to a switch statement to make it clear we didn't forget any case 2022-05-26 22:25:25 +02:00
myT
96e4d2d7cb added a couple of explicit casts for Clang to keep quiet 2022-05-26 22:23:50 +02:00
myT
4b131f258c no longer checking whether unsigned integers are negative... 2022-05-26 22:22:45 +02:00
myT
15d457adb0 no longer letting Clang complain about the size of an empty struct 2022-05-26 22:20:58 +02:00
myT
8e563d6c4a fixed Info_Print crashing when a token is too long
too long being >= 512 but < BIG_INFO_KEY/BIG_INFO_VALUE
Info_NextPair will still crash when key/value string lengths exceed BIG_INFO_KEY/BIG_INFO_VALUE
2022-05-26 17:22:20 +02:00
myT
bf0c8ec492 using an updated icon courtesy of deft 2022-05-04 18:28:57 +02:00
myT
83284b15c5 resetting the search line index when clearing the console 2022-04-30 18:53:36 +02:00
myT
533e0872c1 added console mark mode 2022-04-30 04:03:47 +02:00
myT
3f189e58be added console search 2022-04-29 21:18:50 +02:00
myT
866b93ef5e turned r_showtris and r_shownormals into bitmasks 2022-04-29 21:12:01 +02:00
myT
a12cf70700 fixed the r_mapGreyscaleCTF shader list
removed duplicates
fixed the q3wcp14 asymmetry
2022-04-29 21:04:45 +02:00
myT
4670a811c1 added r_ignoreShaderSortKey as a work-around for broken maps 2022-04-24 22:44:25 +02:00
myT
b8fd6e7c64 added the net_printoverhead and net_clearoverhead dev functions 2022-04-24 22:40:01 +02:00