Alibek Omarov
b72033eb74
engine: client: fix master server query through NetAPI
2023-04-23 22:05:11 +03:00
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.
2023-04-23 18:19:28 +03:00
Alibek Omarov
398cec626e
engine: client: remove media/ prefix for CD tracks, add it while parsing cdaudio.txt for compatibility
2023-04-19 17:54:28 +03:00
Alibek Omarov
1affc36f06
engine: client: more accurate ScreenShake implementation, thanks @vasiavasiavasia95 for sharing it
2023-04-18 17:28:27 +03:00
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
2023-04-18 04:45:27 +03:00
Alibek Omarov
101a7a1240
engine: client: try to fix random crash in CL_ClearWorld when using legacy protocol
2023-04-15 04:08:40 +03:00
Alibek Omarov
25d6b2b069
engine: client: fix FlushEntityPacket message overflow on legacy servers
2023-04-15 04:08:40 +03:00
Alibek Omarov
9a24cb8c96
engine: client: console: remove useless function Con_StringLength
2023-04-15 04:08:40 +03:00
Alibek Omarov
c24a1fafc5
engine: add missing HPAK_CheckSize/Integrity calls
2023-04-03 06:04:48 +03:00
Alibek Omarov
12ed092446
engine: client: register VGui surface cvars
2023-04-03 06:03:29 +03:00
Alibek Omarov
5d387101b9
engine: client: remove unused Key_IsBind
2023-04-03 04:33:19 +03:00
Alibek Omarov
4005ef831a
engine: common: remove unused IsBackgroundMap/Demo calls, remove unused gamma function
2023-04-03 04:33:19 +03:00
Alibek Omarov
d7848b7b8d
engine: client: efx: remove unused CL_FreeParticle
2023-04-03 04:33:19 +03:00
Alibek Omarov
84edd9d0c4
engine: client: use ReadVec3Angles in svc_setangle, as server uses WriteVec3Angles
2023-04-03 04:17:02 +03:00
Alibek Omarov
d8355a651f
engine: add missing Sequence_Init and Sequence_OnLevelLoad calls
2023-04-03 04:12:47 +03:00
Alibek Omarov
2e8ab13242
engine: client: fix parsing svc_spawnentity on old protocol
2023-04-03 03:56:31 +03:00
Alibek Omarov
27d9fc0afe
engine: client: sound: remove unused functions
2023-04-03 03:55:57 +03:00
Alibek Omarov
192d510924
engine: client: remove unused function CL_FreeEntity and everything that used it
2023-04-03 03:55:57 +03:00
Alibek Omarov
3614cfa878
engine: client: avi: remove unused function
2023-04-03 03:55:57 +03:00
Alibek Omarov
48988e66bd
engine: client: fix missing HTTP_ResetProcessState call
2023-04-03 03:11:39 +03:00
Alibek Omarov
93a7ccd14f
engine: network: add net_gai_state_t enum for NET_StringToAdrNB result value
2023-04-03 00:15:35 +03:00
Alibek Omarov
8888b456df
engine: client: cl_tent: rewrite R_Sprite_Explode to be closer to original function but support Xash extensions
2023-03-30 04:42:48 +03:00
Alibek Omarov
53987f47e2
engine: client: use alternative ease-in ease-out function in sound fade
2023-03-30 04:40:54 +03:00
Alibek Omarov
6c62136f11
engine: client: avi: convert filename to wide characters before passing it into VFW API
2023-03-28 22:42:16 +03:00
Alibek Omarov
f34b35be5a
engine: client: avi: re-attribute AVI support code by restoring original author copyright
2023-03-28 22:42:16 +03:00
Alibek Omarov
4b5ee87de1
engine: client: adapt to RefAPI 4 changes. Fix interpolation issue after reloading a save
2023-03-28 21:34:51 +03:00
Alibek Omarov
6e27926a10
engine: simplify XASH_USE_EVDEV macro usage by giving it's defined positive value
2023-03-27 17:28:19 +03:00
Alibek Omarov
96c30371b7
engine: client: better specify rawinput enabling condition on Win32
2023-03-27 17:22:48 +03:00
Alibek Omarov
9a42f4149f
engine: client: disable enabling mouse cursor in key_message (typing in chat)
2023-03-27 17:22:48 +03:00
SNMetamorph
3361e74f54
engine: client: console: fixed console scrolling on psvita platform
2023-03-27 03:52:51 +03:00
SNMetamorph
575179dbf5
engine: client: added default dead zone values for psvita platform
2023-03-27 03:52:51 +03:00
Alibek Omarov
2c77f4c566
engine: client: notify client.dll about local player in firstplayer mode for use in custom renderers
2023-03-27 03:47:42 +03:00
Alibek Omarov
3ccbc7a28c
engine: client: ref_common: r_refdll is not a VIDRESTART cvar
2023-03-24 18:03:06 +03:00
Alibek Omarov
ec355a83d1
engine: client: ref_common: eliminate COM_FreeLibrary in renderer names query, hardcoding them instead
2023-03-24 01:52:14 +03:00
Alibek Omarov
dca637d4bb
engine: client: eliminate pfnServerCmd limit and, like GoldSrc, send our server command immediately to netchan
2023-03-21 04:25:32 +03:00
Alibek Omarov
4ada40e8a8
engine: client: check if we should discard local player entity before HUD_AddEntity call, allowing CL_IsThirdPerson hack used in MMod
2023-03-15 06:28:20 +03:00
Alibek Omarov
1630d87c0d
engine: client: do not alter the state if invalid HANDLE was passed to pfnSPR_Set. Fixes Half-Life: MMod
2023-03-15 04:58:33 +03:00
Alibek Omarov
3a956a1ad3
engine: client: initialize variables in SPR_Width/Height/Frames functions, in case R_GetSpriteParms fails
2023-03-15 04:58:00 +03:00
Alibek Omarov
fec3d33dcf
engine: client: cl_securedstub: fix strict aliasing in secured module initializing
2023-03-14 21:29:35 +03:00
Alibek Omarov
2ef3d78d9f
engine: client: netgraph: replace CL_DrawString with va calls by CL_DrawStringf
2023-03-13 06:16:17 +03:00
Alibek Omarov
5ea5e1167b
engine: client: font: add CL_DrawStringf wrapper
2023-03-13 06:15:45 +03:00
Alibek Omarov
9690fe9334
engine: client: replace some obvious va uses by temp buffer and Q_snprintf
2023-03-13 06:03:44 +03:00
Alibek Omarov
5ef97ae99e
engine: convert Info_SetValueForKey with va to Info_SetValueForKeyf
2023-03-13 05:37:45 +03:00
Alibek Omarov
d667845777
engine: convert Cbuf_AddText with va to Cbuf_AddTextf
2023-03-13 05:31:27 +03:00
Alibek Omarov
ba1cf25314
engine: convert MSG_WriteString with va to MSG_WriteStringf
2023-03-13 05:13:52 +03:00
fgsfds
5c56b51044
engine: client: don't pop up OSK during loading screens on the PSVita either
2023-03-11 07:09:18 +03:00
fgsfds
7424b29e56
engine: initial psvita build support
2023-03-11 07:09:14 +03:00
Alibek Omarov
7e9d46689c
engine: client: fix multiline CenterPrint
2023-02-24 19:46:02 +03:00
Alibek Omarov
b6347d17c9
engine: client: sound: don't print sound/ twice in soundlist command
2023-02-19 12:25:03 +03:00
Alibek Omarov
8293bc91d4
engine: client: sound: fix PickDynamicChannel to correctly find channel with minimum time left
2023-02-18 03:37:20 +03:00