css_enhanced_waf/public
Kamay Xutax 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
..
appframework Fix macOS build (#146) 2022-11-27 16:48:27 +03:00
avi 1 2020-04-22 12:56:21 -04:00
bitmap vtf: 7.5 version support ( fixes #83 ) 2022-07-28 14:32:38 +03:00
datacache arm64 : fix intptr_t size 2022-06-05 01:12:32 +03:00
datamodel Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
demofile 1 2020-04-22 12:56:21 -04:00
dme_controls 1 2020-04-22 12:56:21 -04:00
dmserializers 1 2020-04-22 12:56:21 -04:00
dmxloader 1 2020-04-22 12:56:21 -04:00
engine engine(masterserver): Add sequence for requesting server info, implement StopRefresh and use it on timeout 2023-02-10 22:45:36 +03:00
fgdlib 1 2020-04-22 12:56:21 -04:00
filesystem 1 2020-04-22 12:56:21 -04:00
Friends 1 2020-04-22 12:56:21 -04:00
g15 1 2020-04-22 12:56:21 -04:00
game 1 2020-04-22 12:56:21 -04:00
gcsdk 1 2020-04-22 12:56:21 -04:00
haptics 1 2020-04-22 12:56:21 -04:00
input 1 2020-04-22 12:56:21 -04:00
inputsystem inputsystem: fix UB in touch events callback, make touch more responsive 2023-08-17 14:31:43 +03:00
itemtest 1 2020-04-22 12:56:21 -04:00
jpeglib 1 2020-04-22 12:56:21 -04:00
keyframe physics: fix a lot of problems 2021-10-23 14:41:59 +03:00
libpng Fix macOS build (#146) 2022-11-27 16:48:27 +03:00
materialsystem WIP: fix some memaccess-class warnings 2022-11-16 13:28:39 +03:00
mathlib fix crash in some cases 2023-10-23 19:52:35 +03:00
matsys_controls 1 2020-04-22 12:56:21 -04:00
mdllib 1 2020-04-22 12:56:21 -04:00
mdlobjects 1 2020-04-22 12:56:21 -04:00
movieobjects 1 2020-04-22 12:56:21 -04:00
mxtk 1 2020-04-22 12:56:21 -04:00
openvr 1 2020-04-22 12:56:21 -04:00
p4lib Fix tier0, tier2 2020-10-22 15:53:17 +03:00
panorama 1 2020-04-22 12:56:21 -04:00
particles Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
python/valvePython 1 2020-04-22 12:56:21 -04:00
scenefilecache 1 2020-04-22 12:56:21 -04:00
sdktoolslib 1 2020-04-22 12:56:21 -04:00
sfmobjects 1 2020-04-22 12:56:21 -04:00
shaderapi arm64 : fix intptr_t size 2022-06-05 01:12:32 +03:00
shaderlib 1 2020-04-22 12:56:21 -04:00
socketlib 1 2020-04-22 12:56:21 -04:00
SoundEmitterSystem 1 2020-04-22 12:56:21 -04:00
soundsystem 1 2020-04-22 12:56:21 -04:00
sourcevr 1 2020-04-22 12:56:21 -04:00
steam aarch64: fix android build 2022-06-19 15:07:41 +03:00
steamnetworkingsockets 1 2020-04-22 12:56:21 -04:00
tier0 public/tier0/platform.h: Remove __restrict not only for linux 2023-12-30 10:34:50 +03:00
tier1 tier1: fix possible unsafe read in lzss SafeUncompress, make tests pass under asan 2023-04-07 14:59:36 +03:00
tier2 Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
tier3 1 2020-04-22 12:56:21 -04:00
togl fix build for latest musl 2023-11-08 13:26:46 +00:00
togles fix build for latest musl 2023-11-08 13:26:46 +00:00
toolframework 1 2020-04-22 12:56:21 -04:00
tools 1 2020-04-22 12:56:21 -04:00
toolutils 1 2020-04-22 12:56:21 -04:00
unicode 1 2020-04-22 12:56:21 -04:00
unitlib 1 2020-04-22 12:56:21 -04:00
vaudio 1 2020-04-22 12:56:21 -04:00
vgui Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
vgui_controls Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
VGuiMatSurface 1 2020-04-22 12:56:21 -04:00
video 1 2020-04-22 12:56:21 -04:00
vphysics Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
vpklib cut openssl, cryptopp 2020-11-13 16:42:13 +03:00
vstdlib materialsystem: threaded optimizations, fix mat_queue_mode on some android devices 2023-01-14 15:53:33 +03:00
vtf vtf: fix vtf loading for windows arm( and for other platforms ) 2023-08-14 18:26:28 +03:00
windowssdk 1 2020-04-22 12:56:21 -04:00
zip 1 2020-04-22 12:56:21 -04:00
zlib 1 2020-04-22 12:56:21 -04:00
arraystack.h 1 2020-04-22 12:56:21 -04:00
ATI_Compress.h 1 2020-04-22 12:56:21 -04:00
basehandle.h windows(amd64): fix EHANDLE size( fixes saverestore ) 2022-12-17 12:21:22 +03:00
BitmapFontFile.h 1 2020-04-22 12:56:21 -04:00
bitvec.h Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
blockingudpsocket.cpp 1 2020-04-22 12:56:21 -04:00
blockingudpsocket.h 1 2020-04-22 12:56:21 -04:00
bone_accessor.cpp 1 2020-04-22 12:56:21 -04:00
bone_accessor.h 1 2020-04-22 12:56:21 -04:00
bone_setup.cpp public: fix misalignment in Studio_AnimPosition 2022-08-23 17:32:37 +03:00
bone_setup.h Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
bspfile.h bsp: change MAX_MAP_DISPINFO value to 4096 2022-12-02 21:45:33 +03:00
bspflags.h 1 2020-04-22 12:56:21 -04:00
bsptreedata.cpp arm64 : fix intptr_t size 2022-06-05 01:12:32 +03:00
bsptreedata.h arm64 : fix intptr_t size 2022-06-05 01:12:32 +03:00
builddisp.cpp amd64: fix multithread, fix vgui, fix physmodels 2022-06-05 01:44:42 +03:00
builddisp.h 1 2020-04-22 12:56:21 -04:00
captioncompiler.h 1 2020-04-22 12:56:21 -04:00
cdll_int.h inputsystem: fix UB in touch events callback, make touch more responsive 2023-08-17 14:31:43 +03:00
chunkfile.cpp 1 2020-04-22 12:56:21 -04:00
chunkfile.h 1 2020-04-22 12:56:21 -04:00
client_class.cpp 1 2020-04-22 12:56:21 -04:00
client_class.h 1 2020-04-22 12:56:21 -04:00
client_render_handle.h 1 2020-04-22 12:56:21 -04:00
client_textmessage.h 1 2020-04-22 12:56:21 -04:00
clientstats.h 1 2020-04-22 12:56:21 -04:00
cmodel.h 1 2020-04-22 12:56:21 -04:00
collisionutils.cpp fix address sanitizer issues #2 2022-05-01 20:08:32 +03:00
collisionutils.h 1 2020-04-22 12:56:21 -04:00
Color.h fix build with clang, fix saverestore again, android mod launcher support 2022-01-19 18:59:42 +03:00
con_nprint.h 1 2020-04-22 12:56:21 -04:00
const.h Improved prediction & fix being 1 off tick problems 2024-07-13 19:18:03 +02:00
coordsize.h 1 2020-04-22 12:56:21 -04:00
crtmemdebug.cpp 1 2020-04-22 12:56:21 -04:00
crtmemdebug.h 1 2020-04-22 12:56:21 -04:00
datamap.h vphysics: fix saverestore 2022-06-14 13:09:10 +03:00
disp_common.cpp Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
disp_common.h 1 2020-04-22 12:56:21 -04:00
disp_powerinfo.cpp 1 2020-04-22 12:56:21 -04:00
disp_powerinfo.h 1 2020-04-22 12:56:21 -04:00
disp_tesselate.h 1 2020-04-22 12:56:21 -04:00
disp_vertindex.h Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
dispcoll.cpp 1 2020-04-22 12:56:21 -04:00
dispcoll.h 1 2020-04-22 12:56:21 -04:00
dispcoll_common.cpp unittests: fix library loading 2023-04-07 13:47:43 +03:00
dispcoll_common.h 1 2020-04-22 12:56:21 -04:00
dlight.h 1 2020-04-22 12:56:21 -04:00
dt_common.h arm64 : fix clang compile errors 2022-06-05 01:13:14 +03:00
dt_recv.cpp dt_recv: replace long with int32 2022-07-21 21:14:15 +03:00
dt_recv.h 1 2020-04-22 12:56:21 -04:00
dt_send.cpp Remove network compression on floats 2024-01-23 10:05:26 +01:00
dt_send.h 1 2020-04-22 12:56:21 -04:00
dt_shared.cpp 1 2020-04-22 12:56:21 -04:00
dt_shared.h 1 2020-04-22 12:56:21 -04:00
dt_utlvector_common.cpp 1 2020-04-22 12:56:21 -04:00
dt_utlvector_common.h 1 2020-04-22 12:56:21 -04:00
dt_utlvector_recv.cpp 1 2020-04-22 12:56:21 -04:00
dt_utlvector_recv.h 1 2020-04-22 12:56:21 -04:00
dt_utlvector_send.cpp 1 2020-04-22 12:56:21 -04:00
dt_utlvector_send.h 1 2020-04-22 12:56:21 -04:00
edict.h 1 2020-04-22 12:56:21 -04:00
editor_sendcommand.cpp 1 2020-04-22 12:56:21 -04:00
editor_sendcommand.h 1 2020-04-22 12:56:21 -04:00
eiface.h 1 2020-04-22 12:56:21 -04:00
eifacev21.h 1 2020-04-22 12:56:21 -04:00
engine_hlds_api.h 1 2020-04-22 12:56:21 -04:00
event_flags.h 1 2020-04-22 12:56:21 -04:00
filesystem.h fix windows build scripts, add windows opus support 2022-07-28 14:27:56 +03:00
filesystem_helpers.cpp 1 2020-04-22 12:56:21 -04:00
filesystem_helpers.h fpersmissive fixes 2022-06-15 21:59:06 +03:00
filesystem_init.cpp android: add extras vpk to PLATFORM path search 2023-02-16 23:15:01 +03:00
filesystem_init.h 1 2020-04-22 12:56:21 -04:00
filesystem_passthru.h fix windows build scripts, add windows opus support 2022-07-28 14:27:56 +03:00
gamebspfile.h engine: fix bsp21 loading 2023-04-04 23:22:06 +03:00
gametrace.h Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
globalvars_base.h Fixed local player interpolation and added debug_screenshot_bullet_position 2024-07-14 00:54:57 +02:00
iachievementmgr.h 1 2020-04-22 12:56:21 -04:00
ibsppack.h 1 2020-04-22 12:56:21 -04:00
iclient.h 1 2020-04-22 12:56:21 -04:00
icliententity.h 1 2020-04-22 12:56:21 -04:00
icliententitylist.h 1 2020-04-22 12:56:21 -04:00
iclientnetworkable.h add source-sdk-2013 2022-03-01 23:00:42 +03:00
iclientrenderable.h 1 2020-04-22 12:56:21 -04:00
iclientthinkable.h 1 2020-04-22 12:56:21 -04:00
iclientunknown.h 1 2020-04-22 12:56:21 -04:00
iclientvirtualreality.h 1 2020-04-22 12:56:21 -04:00
icvar.h fix address sanitizer issues #2 2022-05-01 20:08:32 +03:00
idedicatedexports.h 1 2020-04-22 12:56:21 -04:00
iefx.h 1 2020-04-22 12:56:21 -04:00
ienginevgui.h 1 2020-04-22 12:56:21 -04:00
iexternaltest.h 1 2020-04-22 12:56:21 -04:00
ifilelist.h 1 2020-04-22 12:56:21 -04:00
igameevents.h 1 2020-04-22 12:56:21 -04:00
igameresources.h 1 2020-04-22 12:56:21 -04:00
IGameUIFuncs.h 1 2020-04-22 12:56:21 -04:00
IHammer.h 1 2020-04-22 12:56:21 -04:00
ihandleentity.h 1 2020-04-22 12:56:21 -04:00
ihltv.h 1 2020-04-22 12:56:21 -04:00
ihltvdirector.h 1 2020-04-22 12:56:21 -04:00
ilaunchabledll.h 1 2020-04-22 12:56:21 -04:00
imapoverview.h 1 2020-04-22 12:56:21 -04:00
inetchannel.h 1 2020-04-22 12:56:21 -04:00
inetchannelinfo.h 1 2020-04-22 12:56:21 -04:00
inetmessage.h 1 2020-04-22 12:56:21 -04:00
inetmsghandler.h 1 2020-04-22 12:56:21 -04:00
inetwork.h 1 2020-04-22 12:56:21 -04:00
interpolatortypes.cpp 1 2020-04-22 12:56:21 -04:00
interpolatortypes.h 1 2020-04-22 12:56:21 -04:00
iprediction.h 1 2020-04-22 12:56:21 -04:00
irecipientfilter.h 1 2020-04-22 12:56:21 -04:00
iregistry.h 1 2020-04-22 12:56:21 -04:00
isaverestore.h 1 2020-04-22 12:56:21 -04:00
iscratchpad3d.h Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
iserver.h 1 2020-04-22 12:56:21 -04:00
iserverentity.h 1 2020-04-22 12:56:21 -04:00
iservernetworkable.h 1 2020-04-22 12:56:21 -04:00
iserverunknown.h 1 2020-04-22 12:56:21 -04:00
ishadercompiledll.h 1 2020-04-22 12:56:21 -04:00
isoundcombiner.h 1 2020-04-22 12:56:21 -04:00
ispatialpartition.h 1 2020-04-22 12:56:21 -04:00
isqlwrapper.h 1 2020-04-22 12:56:21 -04:00
istudiorender.h 1 2020-04-22 12:56:21 -04:00
ivguicenterprint.h 1 2020-04-22 12:56:21 -04:00
ivoiceserver.h 1 2020-04-22 12:56:21 -04:00
ivoicetweak.h 1 2020-04-22 12:56:21 -04:00
ivraddll.h 1 2020-04-22 12:56:21 -04:00
ivrenderview.h 1 2020-04-22 12:56:21 -04:00
ivtex.h 1 2020-04-22 12:56:21 -04:00
ixboxsystem.h 1 2020-04-22 12:56:21 -04:00
jigglebones.cpp 1 2020-04-22 12:56:21 -04:00
jigglebones.h 1 2020-04-22 12:56:21 -04:00
kevvaluescompiler.cpp 1 2020-04-22 12:56:21 -04:00
keyvaluescompiler.h 1 2020-04-22 12:56:21 -04:00
list.h 1 2020-04-22 12:56:21 -04:00
loadcmdline.cpp 1 2020-04-22 12:56:21 -04:00
loadcmdline.h 1 2020-04-22 12:56:21 -04:00
localflexcontroller.h 1 2020-04-22 12:56:21 -04:00
lumpfiles.cpp 1 2020-04-22 12:56:21 -04:00
lumpfiles.h 1 2020-04-22 12:56:21 -04:00
map_utils.cpp 1 2020-04-22 12:56:21 -04:00
map_utils.h 1 2020-04-22 12:56:21 -04:00
measure_section.cpp 1 2020-04-22 12:56:21 -04:00
measure_section.h 1 2020-04-22 12:56:21 -04:00
minmax.h 1 2020-04-22 12:56:21 -04:00
model_types.h 1 2020-04-22 12:56:21 -04:00
modes.h 1 2020-04-22 12:56:21 -04:00
mouthinfo.h 1 2020-04-22 12:56:21 -04:00
networkstringtabledefs.h 1 2020-04-22 12:56:21 -04:00
networkvar.cpp 1 2020-04-22 12:56:21 -04:00
networkvar.h arm64 : fix intptr_t size 2022-06-05 01:12:32 +03:00
nmatrix.h 1 2020-04-22 12:56:21 -04:00
ntree.h 1 2020-04-22 12:56:21 -04:00
nvector.h 1 2020-04-22 12:56:21 -04:00
nvtc.h 1 2020-04-22 12:56:21 -04:00
OfflineMode.h 1 2020-04-22 12:56:21 -04:00
optimize.h add MDL version 49 support 2022-11-29 18:49:29 +03:00
overlaytext.h 1 2020-04-22 12:56:21 -04:00
phonemeconverter.cpp 1 2020-04-22 12:56:21 -04:00
phonemeconverter.h 1 2020-04-22 12:56:21 -04:00
phyfile.h amd64: fix multithread, fix vgui, fix physmodels 2022-06-05 01:44:42 +03:00
pixelwriter.h togles: use sampler objects by default 2022-08-03 16:21:23 +03:00
PlayerState.h Improved prediction & fix being 1 off tick problems 2024-07-13 19:18:03 +02:00
posedebugger.cpp 1 2020-04-22 12:56:21 -04:00
posedebugger.h 1 2020-04-22 12:56:21 -04:00
r_efx.h 1 2020-04-22 12:56:21 -04:00
raytrace.h 1 2020-04-22 12:56:21 -04:00
registry.cpp 1 2020-04-22 12:56:21 -04:00
renamed_recvtable_compat.cpp 1 2020-04-22 12:56:21 -04:00
renamed_recvtable_compat.h 1 2020-04-22 12:56:21 -04:00
renderparm.h 1 2020-04-22 12:56:21 -04:00
rope_physics.cpp 1 2020-04-22 12:56:21 -04:00
rope_physics.h 1 2020-04-22 12:56:21 -04:00
rope_shared.h 1 2020-04-22 12:56:21 -04:00
savegame_version.h 1 2020-04-22 12:56:21 -04:00
saverestoretypes.h windows(amd64): fix EHANDLE size( fixes saverestore ) 2022-12-17 12:21:22 +03:00
scratchpad3d.cpp 1 2020-04-22 12:56:21 -04:00
scratchpad3d.h 1 2020-04-22 12:56:21 -04:00
ScratchPadUtils.cpp 1 2020-04-22 12:56:21 -04:00
ScratchPadUtils.h 1 2020-04-22 12:56:21 -04:00
sentence.cpp fix macos build( maybe? #296 ) 2023-10-06 03:33:45 +03:00
sentence.h 1 2020-04-22 12:56:21 -04:00
server_class.cpp 1 2020-04-22 12:56:21 -04:00
server_class.h 1 2020-04-22 12:56:21 -04:00
shake.h 1 2020-04-22 12:56:21 -04:00
shattersurfacetypes.h 1 2020-04-22 12:56:21 -04:00
simple_physics.cpp 1 2020-04-22 12:56:21 -04:00
simple_physics.h 1 2020-04-22 12:56:21 -04:00
smooth_average.h 1 2020-04-22 12:56:21 -04:00
soundchars.h 1 2020-04-22 12:56:21 -04:00
soundcombiner.cpp 1 2020-04-22 12:56:21 -04:00
soundflags.h fix some undefined/unspecified behaviours in multiplayer games( may help with #299 ) 2023-10-07 05:04:46 +03:00
soundinfo.h 1 2020-04-22 12:56:21 -04:00
SoundParametersInternal.cpp 1 2020-04-22 12:56:21 -04:00
stdstring.h 1 2020-04-22 12:56:21 -04:00
string_t.h 1 2020-04-22 12:56:21 -04:00
stringregistry.cpp 1 2020-04-22 12:56:21 -04:00
stringregistry.h 1 2020-04-22 12:56:21 -04:00
studio.cpp 1 2020-04-22 12:56:21 -04:00
studio.h restore MAXSTUDIOBONES value 2022-12-18 20:24:28 +03:00
studio_generic_io.cpp 1 2020-04-22 12:56:21 -04:00
studio_virtualmodel.cpp 1 2020-04-22 12:56:21 -04:00
surfinfo.h 1 2020-04-22 12:56:21 -04:00
texture_group_names.h 1 2020-04-22 12:56:21 -04:00
trace.h Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
UnicodeFileHelpers.cpp 1 2020-04-22 12:56:21 -04:00
UnicodeFileHelpers.h 1 2020-04-22 12:56:21 -04:00
UtlCachedFileData.h fix windows build scripts, add windows opus support 2022-07-28 14:27:56 +03:00
vallocator.cpp osx : malloc.h => malloc/malloc.h 2022-06-05 01:12:37 +03:00
vallocator.h 1 2020-04-22 12:56:21 -04:00
vcollide.h 1 2020-04-22 12:56:21 -04:00
vcollide_parse.h Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
view_shared.h 1 2020-04-22 12:56:21 -04:00
vphysics_interface.h WIP: fix some memaccess-class warnings 2022-11-16 13:28:39 +03:00
vphysics_interfaceV30.h Replace empty constructors with default constructors #88 2022-11-05 14:23:05 +03:00
wadtypes.h 1 2020-04-22 12:56:21 -04:00
windows_default.manifest 1 2020-04-22 12:56:21 -04:00
winlite.h 1 2020-04-22 12:56:21 -04:00
worldsize.h 1 2020-04-22 12:56:21 -04:00
XUnzip.cpp aarch64: fix android build 2022-06-19 15:07:41 +03:00
xwvfile.h 1 2020-04-22 12:56:21 -04:00
XZip.cpp amd64: fix multithread, fix vgui, fix physmodels 2022-06-05 01:44:42 +03:00
xzp.cpp 1 2020-04-22 12:56:21 -04:00
zip_uncompressed.h 1 2020-04-22 12:56:21 -04:00
zip_utils.cpp arm64 : fix mempool align 2022-06-05 01:14:23 +03:00
zip_utils.h 1 2020-04-22 12:56:21 -04:00