Commit Graph

2950 Commits

Author SHA1 Message Date
Alibek Omarov
c6a5c64448 engine: client: touch: implement rotation support 2025-10-19 05:35:28 +03:00
Alibek Omarov
b8f0a89846 engine: client: validate vid_rotate cvar value and save current rotation to ref global 2025-10-19 06:27:10 +05:00
Alibek Omarov
ea2c864265 engine: server: don't pass uninitialized pointers to the server DLL in SetupVisibility function 2025-10-17 14:54:52 +05:00
Alibek Omarov
7315865d34 engine: client: include null byte in synthetised HudText messages, to match real HudText messages sent from server 2025-10-17 14:07:48 +05:00
Alibek Omarov
4c7e37d5fd engine: few more cases of missing newline in Cbuf_AddText that I forgot to include in previous commit 2025-10-16 04:57:04 +05:00
Alibek Omarov
d8dcfc0ab3 engine: add \n to all Cbuf_AddText calls 2025-10-16 04:36:38 +05:00
Alibek Omarov
fb56873352 engine: client: increase lower cl_dlmax bound to 512 for goldsrc protocol 2025-10-16 01:21:30 +05:00
Alibek Omarov
8c4ef5200c engine: client: drop unknown interpolation hack, that might've caused hiccups when prediction fails 2025-10-16 01:21:30 +05:00
SNMetamorph
a5f7314ec9 engine: client: fixed blueish outline on sprays converted to WAD3 2025-10-12 20:58:56 +08:00
Alibek Omarov
4f444ee6ea engine: client: for goldsrc status messages, always mark them of goldsrc protocol 2025-10-12 04:14:37 +05:00
Alibek Omarov
651d6a4529 engine: client: remove useless messages in console about scanned servers 2025-10-12 04:12:43 +05:00
lewa_j
5c0cc771bc engine: win32: fix msvc warning "'LPSTR' differs in levels of indirection from 'string (*)'" with GetConsoleTitleA 2025-10-11 20:22:37 +03:00
lewa_j
acebb5b0cf engine: client: fix msvc warning "incompatible types - from 'STARTUPINFO *' to 'LPSTARTUPINFOW'" 2025-10-11 20:22:34 +03: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
492a1cda18 engine: client: treat A button on gamepad the same as Enter in On Screen Keyboard 2025-10-11 06:04:40 +05:00
Alibek Omarov
01a1c2f496 engine: client: add ability to build engine without touch input support 2025-10-11 05:58:14 +05:00
Alibek Omarov
cf23005ff2 engine: client: remove comments of touch init/shutdown function call that seem to be some indescribable legacy 2025-10-11 05:52:19 +05:00
Alibek Omarov
5ff640b142 engine: client: manually mark entity and model index validation branches are unlikely 2025-10-11 05:48:42 +05:00
SNMetamorph
51a9524465 engine: client: fixed incorrect xashid generation on windows platform 2025-10-10 01:29:57 +08:00
Alibek Omarov
6817df534b engine: console: don't try to process input while printing messages to console, this only was needed in OG Xash where it directly called Win32 APIs 2025-10-09 19:27:29 +05:00
Alibek Omarov
8d7ee70e7d engine: platform: android: include dlfcn.h for Android's LoadLibrary implementation 2025-10-08 05:27:53 +05:00
Alibek Omarov
0c08f113ea engine: platform: sdl2: add vrtld.h include for GL_GetProcAddress implementation 2025-10-08 05:24:59 +05:00
Alibek Omarov
8022c4826f engine: platform: sdl2: remove legacy eglGetProcAddress hack for old SDL2 versions 2025-10-08 05:24:16 +05: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
0a5a081a9d engine: client: touch: forcefully disable edit mode when setclientonly was called 2025-10-08 05:02:08 +05:00
Alibek Omarov
748c35d5ef Remove _inline macro, as it's nonstandard way to define inline functions. 2025-10-08 03:53:37 +05:00
Alibek Omarov
a1d3b7d65f Remove STDINT_H macro, use stdint.h directly. Compilers and platforms that do not have this header shall provide them on their own. 2025-10-08 03:53:37 +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
55a86e1df3 engine: server: tell master server if server protected with password 2025-10-05 09:26:41 +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
8e7a2abec5 scripts: waifulib: compiler_optimizations: always lower case build type 2025-10-03 22:05:47 +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
SNMetamorph
62a49d234f engine: client: improved compatibility with GoldSrc-based clients behavior (thanks @Garey27) 2025-10-03 21:34:03 +08:00
Alibek Omarov
1d7690f280 engine: client: remove unused cbtrim and samplefrac fields from voxword_t 2025-10-03 00:04:04 +05:00
Alibek Omarov
a366f99d7d engine: client: do not modify internal_vgui_support field as game info must be immutable once loaded 2025-10-02 22:42:20 +05:00
Alibek Omarov
8c2c920076 engine: client: fill screen with black before rendering video 2025-10-02 22:41:27 +05:00
Alibek Omarov
e8d8d90b39 engine: ref_api: fix typo in the comment (thanks @lewa_j) 2025-10-02 19:21:39 +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
d9567ff3f9 engine: cleanup unused glw_state fields, as they only used in GL renderer 2025-10-02 18:07:39 +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
5015c90fd0 engine: platform: posix: try to be more safe in crash handler, no need to fflush stderr, no need to call Msg if we already writing to log file directly, preserve replaced signal actions 2025-10-02 03:49:31 +08:00
Alibek Omarov
e830472010 engine: move update page checks from platform-specific ShellExecute implementation to gameui call (platform_update_page isn't fully used yet, might get on Android some time later) 2025-10-02 03:16:07 +08:00
Alibek Omarov
04f807ef2f engine: platform: android: tell JVM that we don't need these strings anymore, it wouldn't hurt 2025-10-02 03:15:19 +08:00
Alibek Omarov
821e5d7bd7 engine: client: avi: fix build with ffmpeg with disabled dynamic linking 2025-09-29 03:19:38 +05:00
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