Commit Graph

1299 Commits

Author SHA1 Message Date
Alibek Omarov
d8dcfc0ab3 engine: add \n to all Cbuf_AddText calls 2025-10-16 04:36:38 +05:00
lewa_j
37e9ac453b win32: engine: common: client: filesystem: Fix windows build with -Werror=implicit-function-declaration 2025-10-12 00:21:00 +08:00
Alibek Omarov
ccbb3a2841 engine: fix format error when building tests on 64-bit platforms 2025-10-08 05:08:48 +05:00
Alibek Omarov
3d132e0e83 common: port: move filesystem related macros to filesystem module, try to include less globally for faster builds 2025-10-08 05:03:29 +05:00
Alibek Omarov
64adb3e3d7 engine: rename MS_SCAN_REQUEST to A2M_SCAN_REQUEST 2025-10-05 10:04:18 +05:00
Alibek Omarov
3efbe205ac engine: define server-to-master requests in protocol.h 2025-10-05 09:28:11 +05:00
Alibek Omarov
712c1e2f95 engine: fix send state of master servers being cleared twice 2025-10-04 00:14:58 +05:00
Alibek Omarov
6d7bfc37f6 engine: allow loading xashcomm.lst from base directory 2025-10-03 22:45:50 +05:00
Alibek Omarov
cc5f95d1ca engine: support querying legacy goldsrc master servers
* General refactoring, hide out of band messages under cl_log_outofband cvar, similar to sv_log_outofband.
2025-10-03 21:54:59 +05:00
Alibek Omarov
cb7094bb2d engine: move setjmp for exit-in-main to the beginning of Host_Main function 2025-10-02 18:42:09 +05:00
Alibek Omarov
153b04abc3 engine: move crash handler initialization after console, so error messages could be seen in console, but move log creation before console, so log catches more messages 2025-10-02 05:40:58 +08: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
71cec3c069 engine: activate fakelag when both cheats and dev-mode are enabled 2025-09-28 22:50:51 +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
c177be0dd8 engine: move our HTTP client to http subfolder, prepare for curl integration 2025-09-19 09:15:17 +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
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
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
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
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
Alibek Omarov
70f6480a5f engine: add a shortcut for loading custom DLLs that follow library naming scheme (like bots) 2025-08-03 19:01:56 +05:00
Alibek Omarov
bfc10a732a engine: register forgotten ui_language cvar, so changing language actually works (thanks @Alivebyte on GitHub\!) 2025-08-03 10:23:31 +05:00
Alibek Omarov
cd26b1f279 engine: imagelib: img_quant: reduce used colors from 256 to 255, so last color in palette can be reserved for custom usage (like transparency in player decals) 2025-07-25 01:39:59 +05:00
Alibek Omarov
24f05e3fc5 engine: client: refactor spray logo, get rid of unneeded bmp checks 2025-07-25 01:34:46 +05:00
Sergey Degtyar
6111df486e engine: client: GoldSrc spray support 2025-07-16 23:54:56 +05:00
Sergey Degtyar
e36486b73a engine: imagelib: handling wad extension to save and load image properly 2025-07-16 23:54:56 +05:00
Sergey Degtyar
000304ddde engine: net_chan: added bz2 compression for file fragments 2025-07-16 23:54:56 +05:00
Alibek Omarov
4c9b69af5f engine: mod_bmodel: allow firstclipnode index to be negative, as maps compiled with it rely on this trick by encoding whole hull as empty contents 2025-07-16 23:42:49 +05:00
Alibek Omarov
dc0648e812 engine: net_http: validate file size against reported by server, when downloading chunked files 2025-07-09 17:35:25 +05:00
Alibek Omarov
907e02da8d Merge ffmpeg support 2025-06-15 13:15:17 +05:00
Alibek Omarov
fa92a5fa0c engine: common: disable colored stdout for Emscripten 2025-06-15 13:01:13 +05:00
Alibek Omarov
3e396bb55a engine: host: allow console if DEFAULT_DEV is set to larger than 0 value 2025-06-15 13:01:13 +05:00
Alibek Omarov
6022865cae engine: filesystem_engine: set default root directory on Emscripten 2025-06-15 13:01:13 +05:00
Alibek Omarov
1559b1b331 engine: system: exit from Emscripten with force_exit call 2025-06-15 13:01:13 +05:00
Alibek Omarov
5db150e565 engine: launcher: get rid of Emscripten load library hacks, mount IDBFS into /rwdir 2025-06-15 13:01:13 +05:00
Alibek Omarov
e823ba050a engine: whereami: add stub for Emscripten 2025-06-15 13:01:13 +05:00
Alibek Omarov
6f545f178e engine: host: move main loop contents into separate function 2025-06-15 13:01:13 +05:00