Commit graph

762 commits

Author SHA1 Message Date
d8598a8d22 We might prefer to set to local instead to lag compensate 2024-09-05 02:23:15 +02:00
d40a479e85 Revert "TODO: figure out why we need to do this"
This reverts commit 53561ff881.
2024-09-05 01:58:30 +02:00
84672b5c24 Reset to m_flInterpolatedAnimTime 2024-09-05 01:50:04 +02:00
fb349dbd9f The compiler is a bit dumb sometimes, let's help a bit 2024-09-05 00:55:22 +02:00
53561ff881 TODO: figure out why we need to do this 2024-09-05 00:09:55 +02:00
1475964e61 Fixed some edge cases where camera position wouldn't match screen 2024-09-04 23:07:48 +02:00
e12b3581e2 Optimized entity look ups 2024-09-04 22:01:08 +02:00
4b2b5e7388 Added more VPROF to see what's taking that much fps 2024-09-04 18:41:58 +02:00
2e40751236 Removed useless mdl critical cache call & sv_unlag can now be disabled for performance 2024-09-04 17:45:09 +02:00
5e41367327 Resized game events 2024-09-04 17:25:43 +02:00
436181a150 put back again to fast fp 2024-09-04 00:33:04 +02:00
5cdd600612 Resized MAX_CMD_BUFFER 2024-09-04 00:09:57 +02:00
caebd1970f Removed entityexists 2024-09-04 00:07:33 +02:00
8a118ad4d9 Removed potential slow function calls 2024-09-04 00:06:22 +02:00
1a471233bc Allow for some tolerance for previous pred origin 2024-09-03 23:15:40 +02:00
f696159421 Improved lag compensation for entities 2024-09-03 23:07:40 +02:00
87337859f4 More Fixes to lag compensation, it is always almost pixel perfect now
- In theory, to have even more perfect values, we could go the other way
  around, let the client send the values and see if it's within range of
  lerp time
- The fact that the netvar gets compressed and touched made it worse for
  lag compensation
2024-09-03 16:41:03 +02:00
f4ded28fe0 Added more infos to debug out hitboxes 2024-09-03 15:49:04 +02:00
ece2f9a81f Improved bone cache invalidation
Also improved lag comp, for now animations won't be interpolated
2024-09-03 07:41:16 +02:00
b9586237f1 Only update events on PostThink to be extra sure 2024-09-02 05:47:52 +02:00
859232b6ab Somehow windows doesn't like too much ticks to save on heap.. 2024-09-02 04:06:25 +02:00
315f3c398c Renamed some stuff in lag compensation 2024-09-02 03:58:07 +02:00
2782633e53 Now setupbones uses the right angles for cs players 2024-09-02 01:26:08 +02:00
be7d8cc228 Improved show hitboxes commands and networked m_fFlags from animoverlays 2024-09-02 00:03:24 +02:00
867f106584 Increased weapon range 2024-08-31 22:41:36 +02:00
94c398934a Fixed double click for mouse_5 2024-08-31 21:53:00 +02:00
2e304e0e8d Send raw values for critical animation layers 2024-08-31 10:19:02 +02:00
4cfcfb67cd Allow to not draw hud (2) 2024-08-31 10:13:10 +02:00
82779ee548 Fixed build for linux 2024-08-31 10:11:44 +02:00
e4d907c306 Allow to not draw hud 2024-08-31 10:05:15 +02:00
e46ce9d4aa Added fullscreen optimizations 2024-08-31 09:51:17 +02:00
72e0b37258 Fixed clang builds 2024-08-31 08:05:06 +02:00
bbfea9863e Removed client side animation checks for animation events
Since it doesn't modify pose parameters or anything, should be safe
2024-08-31 07:25:36 +02:00
f58a59661c Allow localplayer for AnimationEvents 2024-08-31 07:20:09 +02:00
d942381df3 Commenting debug stuff 2024-08-31 06:48:01 +02:00
1a173a2073 Added VPROF for trigger prediction 2024-08-31 06:36:59 +02:00
11d345802e General fixes and improved lag comp performance 2024-08-31 06:23:10 +02:00
380f352adf Fixed possible buffer overflow & optimized network 2024-08-31 00:24:01 +02:00
8db1b5ec1a Updated clang format 2024-08-30 23:12:32 +02:00
50b3b90901 Add source code when profiling 2024-08-30 19:17:37 +02:00
c40f94a355 Added VPROF option & fixed vprof 2024-08-30 06:15:40 +02:00
dcf5536d93 Fixed evenqueue problems 2024-08-30 01:09:10 +02:00
62e3b75522 Fixed mwheel for Windows 2024-08-30 00:02:44 +02:00
494411928e Optimized cmatqueuedrendercontext 2024-08-29 14:31:42 +02:00
651e3ca823 Added option to strip binaries or not 2024-08-29 06:41:48 +02:00
ed09c1781c Re-enable IKs 2024-08-29 02:47:25 +02:00
23825409a9 Added double click 2024-08-29 02:41:26 +02:00
a21cd2aa97 Somehow this breaks lag comp 2024-08-29 02:07:55 +02:00
eda2ad8965 Fixed windows cursor while being on top panel 2024-08-29 00:00:26 +02:00
599a73ccaf Improved rawinput in windows 2024-08-28 22:21:27 +02:00