494411928e
Optimized cmatqueuedrendercontext
2024-08-29 14:31:42 +02:00
cd9787a4bd
Disable vprof by default
2024-08-28 16:26:36 +02:00
1e82d50c88
Remove cl_interpolation_amount_fix
2024-08-28 05:10:42 +02:00
14717d8092
Added prediction for triggers, thanks oblivious
...
Prediction is fixed by me by adding two more functions in prediction
class, there had before some issues because
starttouch/endtouch weren't predicted.
The result is that with lag, it restores touched entities,
including the triggers touched entity list.
2024-08-23 00:42:58 +02:00
69312da01b
Fixed few stuff & now server bullet impacts are events
...
- Fixed some game events not being sent to clients
- Use event instead of descriptor for sending it to client
- Moved server bullets to events
- Re-trained zstd data
- Corrected some stuff on clock correction
2024-07-26 05:34:50 +02:00
542b2c2711
Reworked cl_show* commands to use game events instead
2024-07-25 18:10:35 +02:00
6691968046
Added enhanced cl_clock_correction & misc
...
- Added vprof
- Fixed few issues again with cl_showhitboxes
- Fixed some shader compilation
- Fixed few issues with bitbuf
2024-07-23 03:05:29 +02:00
860bd3e883
Added smoothed interpolation amount & fixed fews issues with prediction
...
Added vprof too
2024-07-19 05:03:08 +02:00
1a3e348316
Replace snappy with trained zstd dictionary
2024-07-18 08:27:54 +02:00
4186c83682
Added new compression for floats
2024-07-17 08:29:22 +02:00
c1e81ad97c
Default tickrate to 100
2024-07-16 01:36:55 +02:00
6661ad2e3c
Fixed bullet diameter hitbox test
2024-07-15 23:27:48 +02:00
e360866bf5
Added a better way to debug hitboxes & new waf script
2024-07-15 06:52:33 +02:00
cfa5b12eea
Fixed local player interpolation and added debug_screenshot_bullet_position
...
This check permits to fix interpolation problems on the
local player that valve has been (fucking finally)
caring about on counter-strike 2.
To recall the original issue, the
problem that Valve cared about is that interpolation
had some problems with interpolating the local
player because the screen would never in the first
place match the tick "screen", because interpolation
amount could never reach 0.0 or 1.0
Valve solution was to introduce bugs with lag
compensating the local player and made the game worse,
introducing a new way for cheaters to cheat even more
on their games.
I'm joking, but you can clearly see the outcome anyway.
My solution is to simply set interpolation amount
to 0.0 when a tick arrives.
So when we shoot, we get the frame we shot with an
interpolation amount at 0.0, perfectly aligned to user
commands which is ideal for us.
It might look a bit more unsmooth with lower fps
but with high enough fps, the issue goes away anyway.
It's not very noticeable which is very nice for us.
No need to lag compensate the local player anymore !
2024-07-14 00:54:57 +02:00
f8c641a9e5
Improved prediction & fix being 1 off tick problems
2024-07-13 19:18:03 +02:00
a72e160350
Remove network compression on floats
2024-01-23 10:05:26 +01:00
Er2
445249ef2b
public/tier0/platform.h: Remove __restrict not only for linux
2023-12-30 10:34:50 +03:00
nillerusr
84a7a117b6
fix build for latest musl
2023-11-08 13:26:46 +00:00
nillerusr
9fbed1af34
fix crash in some cases
2023-10-23 19:52:35 +03:00
nillerusr
e955976d81
fix macOS build again
2023-10-07 04:40:28 +03:00
nillerusr
6fd13e16d9
fix some undefined/unspecified behaviours in multiplayer games( may help with #299 )
2023-10-07 05:04:46 +03:00
nillerusr
8e5d66ead5
fix macos build( maybe? #296 )
2023-10-06 03:33:45 +03:00
nillerusr
08168ffc62
inputsystem: fix UB in touch events callback, make touch more responsive
2023-08-17 14:31:43 +03:00
nillerusr
265a4f171b
vtf: fix vtf loading for windows arm( and for other platforms )
2023-08-14 18:26:28 +03:00
nillerusr
538254c8a8
vtf: fix vtf header padding
2023-08-14 16:33:34 +03:00
nillerusr
c96b2576a6
engine: optimize traces
2023-08-04 13:57:30 +03:00
nillerusr
98837c0e9e
togl/togles: set D3DMATRIX alignment to 16
2023-04-29 15:34:11 +03:00
nillerusr
fedae1cc7b
materialsystem: set allocator alignment 16( fixes crash in release build )
2023-04-26 23:43:04 +03:00
nillerusr
f805439957
mathlib: make Gain and Bias inline
2023-04-26 22:33:20 +03:00
nillerusr
6b329d72ce
WIP: move vmatrix functions to header and inline them
2023-04-26 19:56:15 +00:00
nillerusr
f7b85181f9
fix idiotic libs problems again
2023-04-25 01:18:15 +03:00
nillerusr
70b73ca1f4
fix musl-idiodic libsc problems
2023-04-25 00:40:23 +00:00
nillerusr
3ff7140437
WIP: musl port
2023-04-24 22:39:09 +00:00
nillerusr
61b905e43c
tier1: fix possible unsafe read in lzss SafeUncompress, make tests pass under asan
2023-04-07 14:59:36 +03:00
nillerusr
4b7036075c
unittests: fix library loading
2023-04-07 13:47:43 +03:00
nillerusr
e9636671a0
engine: fix bsp21 loading
2023-04-04 23:22:06 +03:00
nillerusr
5c8612d580
engine: again fix static prop lump version 10 loading
2023-02-17 01:41:55 +03:00
nillerusr
be67988a3a
android: add extras vpk to PLATFORM path search
2023-02-16 23:15:01 +03:00
nillerusr
071c4d827f
engine: fix static prop lump version 10 loading
2023-02-16 18:44:33 +03:00
nillerusr
99537aaa46
Merge pull request #198 from nillerusr/serverbrowser
...
Serverbrowser support
2023-02-16 14:35:01 +03:00
nillerusr
5e087957fc
restore threadtools and vstdlib from 12716fd
commit
2023-02-16 17:32:26 +03:00
nillerusr
7f0905a7f1
tier0: disable vprof by default
2023-02-11 20:32:11 +03:00
nillerusr
a7d3ad4032
engine(masterserver): Add sequence for requesting server info, implement StopRefresh and use it on timeout
2023-02-10 22:45:36 +03:00
nillerusr
de1efa823a
togl: fix MacOS build( fixes #187 )
2023-02-03 02:27:22 +03:00
nillerusr
d81e6520d9
engine: update server info reply
2023-01-30 22:19:08 +03:00
nillerusr
ad63a53fd3
WIP(serverbrowser): update IServersInfo interface
2023-01-29 20:57:04 +03:00
nillerusr
f3861b8d03
WIP: initial masterserver client implementation
2023-01-28 05:29:26 +03:00
HappyDOGE
7cfb06dd5c
Merge branch 'master' into win64
2023-01-23 19:16:19 +03:00
nillerusr
8f1156442e
materialsystem: threaded optimizations, fix mat_queue_mode on some android devices
2023-01-14 15:53:33 +03:00
nillerusr
b610df81f7
togles: optimize PBO usage
2023-01-12 20:48:13 +03:00