Alibek Omarov
3e2a215c15
engine: client: in_joy: rename -nojoy to -noenginejoy to avoid conflict with client.dll's joystick support
2 years ago
Alibek Omarov
cb3b16e2ec
engine: client: implement v_dark in engine, instead of making it ref-specific
2 years ago
Alibek Omarov
48176233bd
public: move FOV calculating functions out of libpublic, as they are very specific to engine view
2 years ago
Alibek Omarov
ec2951cf45
engine: add size argument to COM_Default/ReplaceExtension calls
2 years ago
Alibek Omarov
8c7db8499f
engine: add size argument to COM_FileBase calls
2 years ago
Alibek Omarov
8f207362a5
public: remove Q_sprintf, and patch all code that used it to use Q_snprintf instead
2 years ago
Alibek Omarov
b16fa8eddc
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
2 years ago
Alibek Omarov
b72033eb74
engine: client: fix master server query through NetAPI
2 years ago
Alibek Omarov
096ee34f67
public: remove Q_vsprintf, replace by proper Q_vsnprintf proper calls
...
Fixes weird off by one error caused by glibc updates? I didn't tracked
what causes it exactly but replacing it seems to work. Anyway, we should
remove all 99999 hacks in libpublic.
2 years ago
Alibek Omarov
398cec626e
engine: client: remove media/ prefix for CD tracks, add it while parsing cdaudio.txt for compatibility
2 years ago
Alibek Omarov
1affc36f06
engine: client: more accurate ScreenShake implementation, thanks @vasiavasiavasia95 for sharing it
2 years ago
Alibek Omarov
41025c0049
engine: client: reset connection retries counter on changelevel
...
Fixes an issue when connection retry counter near the failure state
and the server changes level
2 years ago
Alibek Omarov
101a7a1240
engine: client: try to fix random crash in CL_ClearWorld when using legacy protocol
2 years ago
Alibek Omarov
25d6b2b069
engine: client: fix FlushEntityPacket message overflow on legacy servers
2 years ago
Alibek Omarov
9a24cb8c96
engine: client: console: remove useless function Con_StringLength
2 years ago
Alibek Omarov
c24a1fafc5
engine: add missing HPAK_CheckSize/Integrity calls
2 years ago
Alibek Omarov
12ed092446
engine: client: register VGui surface cvars
2 years ago
Alibek Omarov
5d387101b9
engine: client: remove unused Key_IsBind
2 years ago
Alibek Omarov
4005ef831a
engine: common: remove unused IsBackgroundMap/Demo calls, remove unused gamma function
2 years ago
Alibek Omarov
d7848b7b8d
engine: client: efx: remove unused CL_FreeParticle
2 years ago
Alibek Omarov
84edd9d0c4
engine: client: use ReadVec3Angles in svc_setangle, as server uses WriteVec3Angles
2 years ago
Alibek Omarov
d8355a651f
engine: add missing Sequence_Init and Sequence_OnLevelLoad calls
2 years ago
Alibek Omarov
2e8ab13242
engine: client: fix parsing svc_spawnentity on old protocol
2 years ago
Alibek Omarov
27d9fc0afe
engine: client: sound: remove unused functions
2 years ago
Alibek Omarov
192d510924
engine: client: remove unused function CL_FreeEntity and everything that used it
2 years ago
Alibek Omarov
3614cfa878
engine: client: avi: remove unused function
2 years ago
Alibek Omarov
48988e66bd
engine: client: fix missing HTTP_ResetProcessState call
2 years ago
Alibek Omarov
93a7ccd14f
engine: network: add net_gai_state_t enum for NET_StringToAdrNB result value
2 years ago
Alibek Omarov
8888b456df
engine: client: cl_tent: rewrite R_Sprite_Explode to be closer to original function but support Xash extensions
2 years ago
Alibek Omarov
53987f47e2
engine: client: use alternative ease-in ease-out function in sound fade
2 years ago
Alibek Omarov
6c62136f11
engine: client: avi: convert filename to wide characters before passing it into VFW API
2 years ago
Alibek Omarov
f34b35be5a
engine: client: avi: re-attribute AVI support code by restoring original author copyright
2 years ago
Alibek Omarov
4b5ee87de1
engine: client: adapt to RefAPI 4 changes. Fix interpolation issue after reloading a save
2 years ago
Alibek Omarov
6e27926a10
engine: simplify XASH_USE_EVDEV macro usage by giving it's defined positive value
2 years ago
Alibek Omarov
96c30371b7
engine: client: better specify rawinput enabling condition on Win32
2 years ago
Alibek Omarov
9a42f4149f
engine: client: disable enabling mouse cursor in key_message (typing in chat)
2 years ago
SNMetamorph
3361e74f54
engine: client: console: fixed console scrolling on psvita platform
2 years ago
SNMetamorph
575179dbf5
engine: client: added default dead zone values for psvita platform
2 years ago
Alibek Omarov
2c77f4c566
engine: client: notify client.dll about local player in firstplayer mode for use in custom renderers
2 years ago
Alibek Omarov
3ccbc7a28c
engine: client: ref_common: r_refdll is not a VIDRESTART cvar
2 years ago
Alibek Omarov
ec355a83d1
engine: client: ref_common: eliminate COM_FreeLibrary in renderer names query, hardcoding them instead
2 years ago
Alibek Omarov
dca637d4bb
engine: client: eliminate pfnServerCmd limit and, like GoldSrc, send our server command immediately to netchan
2 years ago
Alibek Omarov
4ada40e8a8
engine: client: check if we should discard local player entity before HUD_AddEntity call, allowing CL_IsThirdPerson hack used in MMod
2 years ago
Alibek Omarov
1630d87c0d
engine: client: do not alter the state if invalid HANDLE was passed to pfnSPR_Set. Fixes Half-Life: MMod
2 years ago
Alibek Omarov
3a956a1ad3
engine: client: initialize variables in SPR_Width/Height/Frames functions, in case R_GetSpriteParms fails
2 years ago
Alibek Omarov
fec3d33dcf
engine: client: cl_securedstub: fix strict aliasing in secured module initializing
2 years ago
Alibek Omarov
2ef3d78d9f
engine: client: netgraph: replace CL_DrawString with va calls by CL_DrawStringf
2 years ago
Alibek Omarov
5ea5e1167b
engine: client: font: add CL_DrawStringf wrapper
2 years ago
Alibek Omarov
9690fe9334
engine: client: replace some obvious va uses by temp buffer and Q_snprintf
2 years ago
Alibek Omarov
5ef97ae99e
engine: convert Info_SetValueForKey with va to Info_SetValueForKeyf
2 years ago