Commit Graph

2903 Commits

Author SHA1 Message Date
Alibek Omarov
52978df139 engine: platform: posix: replace Sys_FindExecutable by standard library execvp 2025-09-29 00:35:28 +05:00
Alibek Omarov
9aab12fc27 engine: remove global no async resolve switch, platforms that do not support it shall add stubs to engine/platform 2025-09-29 00:12:37 +05:00
Alibek Omarov
e83ab95279 engine: gethostbyname() is deprecated, remove it and always prefer getaddrinfo 2025-09-29 00:09:56 +05:00
Alibek Omarov
7c0045a3b7 engine: show -noavi and -nointro options help everywhere, as we now have crossplatform video playback 2025-09-29 00:07:21 +05:00
Alibek Omarov
1f88e0465d engine: make Host_ExitInMain used everywhere, as we depend on sjlj functions on all platforms anyway 2025-09-29 00:06:41 +05:00
Alibek Omarov
cee1e74872 engine: drop dllemu glue, as it won't build with current engine anyway and not supported by it's author :( 2025-09-29 00:01:59 +05:00
Alibek Omarov
1f124bad9d engine: client: remove archive flag from cl_trace_* message that was added by mistake 2025-09-28 23:00:35 +05:00
Alibek Omarov
71cec3c069 engine: activate fakelag when both cheats and dev-mode are enabled 2025-09-28 22:50:51 +05:00
Alibek Omarov
69204aec07 engine: client: synchronize sv_cheats state with the server 2025-09-28 22:32:41 +05:00
Alibek Omarov
8b65cd73fc engine: server: advertise sv_cheats state during connect 2025-09-28 22:15:26 +05:00
Alibek Omarov
7ba0818b83 engine: client: change r_pvs_radius default value to 0.1 for more accurate pvs culling and free performance 2025-09-28 18:32:53 +05:00
Alibek Omarov
cb81303ded engine: replace hardcoded pvs radius value by a r_pvs_radius cvar 2025-09-28 18:31:03 +05:00
Alibek Omarov
1b1cff1cae engine: server: allow sending logs to remote server without log on to match GoldSrc behavior 2025-09-25 16:29:32 +05:00
Alibek Omarov
96557c2ca6 engine: server: clarify sv_fps cvar usage 2025-09-19 15:56:58 +05:00
Alibek Omarov
bf32c49a39 engine: server: disable sv_fps cvar on dedicated, users shall use sys_ticrate 2025-09-19 15:56:58 +05:00
Alibek Omarov
c177be0dd8 engine: move our HTTP client to http subfolder, prepare for curl integration 2025-09-19 09:15:17 +05:00
Alibek Omarov
eed1d26191 engine: client: avi: be more verbose about incompatible ffmpeg libs versions in build-time 2025-09-17 12:47:09 +05:00
Alibek Omarov
2da0db4a31 engine: client: refactor connection to the server, always send bandwidth test and challenge from single function 2025-09-15 13:03:22 +05:00
Alibek Omarov
03192be245 engine: server: actually register new cvars =/ 2025-09-10 17:52:37 +05:00
Alibek Omarov
b59ba5a127 engine: server: make automatic ban of players stuck in connect loop optional and make ban time configurable 2025-09-09 14:55:22 +05:00
Sergey Degtyar
ccc44f3c5f engine: voice: fix voice loopback bit 2025-09-09 01:19:27 +05:00
Alibek Omarov
b2f4d84272 engine: client: give server a bit more time to reply to bandwidth test 2025-09-08 21:19:53 +05:00
Alibek Omarov
793de9ec3e engine: move clc_strings definition to net_buffer, alongside svc_strings 2025-09-06 04:58:34 +05:00
Alibek Omarov
ccff8191dd engine: server: increase sv_connect_timeout to 60 by request 2025-09-06 04:50:34 +05:00
Alibek Omarov
598d756af1 engine: platform: sdl2: hide SDL log messages under -dev 2, as they're often misleading for everybody except engine developers 2025-09-05 18:20:12 +05:00
Alibek Omarov
c2e2686b6a engine: voice: send disabled voice status when raw chan is exhausted, also send enabled status only when we have something to play
And other minor refactorings.
2025-09-03 04:20:22 +05:00
Alibek Omarov
9df2b8f1fb engine: server: refactor SV_ParseVoiceData 2025-09-03 03:52:44 +05:00
Alibek Omarov
1ba45bde13 engine: server: fix voice block inverted logic, instead of checking the player's we're sending listeners list, check current player 2025-09-03 03:51:15 +05:00
Alibek Omarov
5106ebae58 engine: voice: fix local player server ack'ed message 2025-09-03 03:40:15 +05:00
Alibek Omarov
6b6bf7e458 Revert "engine: voice: unconditionally notify client.dll about talking player if we received the data"
This reverts commit 9fda7a15cb.
2025-09-03 03:30:24 +05:00
Alibek Omarov
2daaa94666 engine: voice: fix voice loopback on GoldSrc proto 2025-09-03 03:07:36 +05:00
Alibek Omarov
b129ed8f76 engine: voice: fix another off-by-one error, to fix server's ack status of local player talking 2025-09-03 03:01:49 +05:00
Alibek Omarov
9fda7a15cb engine: voice: unconditionally notify client.dll about talking player if we received the data 2025-09-03 02:23:54 +05:00
Alibek Omarov
7e3dc39cdd engine: similar to other config saving functions, print when vfs.cfg is being saved 2025-09-01 01:46:27 +05:00
Alibek Omarov
9c6589fa03 engine: introduce vfs.cfg to properly control user set addon folders
vfs.cfg executed before game directory is mounted, this way we can know which
folders must be mounted before engine initialization.

This commit also removes buggy hot reload of the addon folders.
2025-09-01 01:42:37 +05:00
Alibek Omarov
a0a0d58be5 engine: client: unify quality options between Xash and GoldSrc protocol (lowering overall bitrate for Xash servers, which might help overcome default rate limitations) 2025-08-30 19:32:50 +05:00
Alibek Omarov
4c0931cc89 engine: fix loading mods on Linux that have Intel architecture suffix, like ag_i386.so 2025-08-27 16:12:21 +05:00
Alibek Omarov
e52c46ec5e engine: imagelib: rename mips variable to mipmaps, to avoid clash with some MIPS compilers
While here, reduce some variables scope.
2025-08-25 11:37:14 +05:00
Bohdan Shulyar
f0720026fc engine: client: touch: don't reset state if clientonly didn't change 2025-08-13 20:51:10 +05:00
Alibek Omarov
6b4a16b337 engine: client: do not cause assertion when using voice chat when sound is disabled or failed to initialize 2025-08-13 19:32:33 +05:00
Alibek Omarov
f12ef07c02 engine: whereami: add support for GNU/Hurd 2025-08-13 17:02:22 +05:00
Alibek Omarov
4f45df2293 engine: imagelib: add missing argument name, so it compilers with old C standards compliant compilers 2025-08-11 20:50:03 +05:00
Alibek Omarov
3a6862f278 engine: when specifying server dll name with an @ (give that feature a name please), actually look for it in server dlls folder 2025-08-11 18:44:12 +05:00
Alibek Omarov
2ad482ee2f engine: platform: android: add some verbosity when successfully loading libraries on Android (hidden under -dev 2) 2025-08-11 18:36:44 +05:00
Alibek Omarov
be0d31f408 engine: imagelib: try to use FS_Search to bruteforce through supported image formats 2025-08-08 18:14:46 +05:00
Alibek Omarov
820a001ced engine: move prepending lib prefix on Android earlier, when the path is constructed 2025-08-08 17:03:56 +05:00
Alibek Omarov
4cc009ac3e engine: always prepend lib on Android, as it's part of library naming scheme now 2025-08-08 16:16:05 +05:00
Alibek Omarov
a4614a00e9 engine: move android logging category from debug to info 2025-08-05 19:03:53 +05:00
Bohdan Shulyar
0ba45d343e host: common: switch host_writeconfig to direct function call 2025-08-05 01:31:21 +05:00
Bohdan Shulyar
2c26601bee engine: common: add a host_writeconfig console command 2025-08-05 01:31:21 +05:00