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
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
b22186b2f1
engine: platform: android: strip library path when loading libraries from APK
2025-08-03 19:01:56 +05:00
Alibek Omarov
f1251e8767
engine: platform: android: do not automatically prepend lib prefix
2025-08-03 19:01:56 +05:00
Alibek Omarov
6aecc45ce1
engine: platform: include errno.h globally, it's defined by the C standard, so should be available everywhere
2025-08-03 10:27:36 +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
56db9f73d8
engine: platform: ignore nanosleep EINTR error, otherwise sleeptime will never use nanosleep again
2025-08-03 10:18:29 +05:00
lewa_j
250d425b34
engine: platform: sdl2: use -egl to force EGL on windows, same as on other platforms
2025-08-03 08:21:14 +05:00
lewa_j
99140fc7df
engine: platform: sdl2: Allow SDL to use wgl to create gles context, if it can
2025-08-03 08:21:14 +05:00
lewa_j
b14a1b664f
engine: platform: sdl2: Fix uninitialized read introduces in 7fda58561f
2025-08-02 17:59:26 +03:00
Alibek Omarov
cb4540a877
engine: platform: android: call SDL_OpenURL only if XASH_SDL was defined during build. Remove version check, as Android always builds with latest SDL version.
2025-07-30 23:33:08 +05:00
Alibek Omarov
25e206f5ae
engine: platform: posix: remove old crashhandler as libbacktrace supports much more targets, remove duplicated code around execinfo and libbacktrace-based crashhandlers
...
Update copyright headers.
2025-07-29 08:14:06 +05:00
Sergey Degtyar
3e921c829f
engine: client: fix CL_DrawCenterPrint aligment for cyrillic text
2025-07-26 19:57:23 +05:00
Sergey Degtyar
e994cc0c8b
engine: client: adjust SPRAY_ALPHA_THRESHOLD
2025-07-25 02:32:40 +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
Alibek Omarov
2bdeb05153
engine: client: oops, fix including non-existent file
2025-07-25 00:24:45 +05:00
Alibek Omarov
de4b635b19
engine: client: move cl_spray.c only external function declaration to client.h, move other definitions to cl_spray.c
2025-07-24 23:59:15 +05:00
SNMetamorph
ab744a8baf
engine: client: fixed critical bugs in GoldSrc spray generating code, removed useless hacks
2025-07-24 20:49:05 +05:00
SNMetamorph
0aca03d343
engine: client: refactored GoldSrc sprays code, removed magic numbers
2025-07-24 20:49:05 +05:00
Sergey Degtyar
0cce014c01
engine: client: fix spray support for 24-bit BMP (save as miptex, not decal)
2025-07-17 02:20:36 +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
SNMetamorph
599b1b48ec
engine: voice: added wrapper for players voice status array to avoid mess with off-by-one errors
2025-07-15 18:54:01 +05:00
Alibek Omarov
7564e3c61f
engine: client: add support for building with FFmpeg linked in runtime
2025-07-13 04:39:44 +05:00
Alibek Omarov
0d403a7117
engine: client: console: make con history remember modifications to old lines
2025-07-09 19:23:17 +05:00
Alibek Omarov
928ce9d754
engine: client: console: simplify history handling by defining a separate type for console lines saved in history
...
Thus we don't need to save linewidth for them anymore.
2025-07-09 19:22:29 +05:00
Alibek Omarov
6cc3bed60a
engine: client: console: fix uninitialized variable
2025-07-09 19:04:59 +05:00
Alibek Omarov
40dfd2e711
engine: client: voice: fix off by one errors (as suggested by @SNMetamorph)
2025-07-09 18:29:36 +05:00
Alibek Omarov
c554eef3b9
engine: client: add ability to disable prepending [Xash3D] tag to the nickname when connecting to GoldSrc servers
2025-07-09 17:44:13 +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
Sergey Degtyar
21b0516724
engine: client: move voice reset to Voice_Shutdown
2025-07-03 16:25:24 +03:00
Sergey Degtyar
cca1732245
engine: client: refactored voice.c
...
- reformatted code.
- changed function declarations to static.
- ensured consistent use of defined constants for buffer sizes.
2025-07-03 13:50:57 +03:00
Sergey Degtyar
fddf0200db
engine: client: replaced hardcoded buffer sizes with defined constants for voice data
2025-07-03 13:36:25 +03:00
Sergey Degtyar
6bb7bcd378
engine: client: GoldSrc voice chat support
...
- Added support for GoldSrc voice mode, including initialization and shutdown functions.
- Implemented data size verification for the GoldSrc voice package.
- Creation and processing of voice packets, CRC verification of data integrity.
- Added a Steam ID field to the client_static_t structure
- Automatic gain control has been introduced for voice samples.
- The voice status structure has been updated.
- Refactored voice data handling for better type consistency and maintainability.
- Fixed ISO C90 compliance issues for better portability.
- Fixed decoder index usage.
2025-07-01 16:09:09 +03:00
Sergey Degtyar
f37bbec78e
engine: sound: voice buffer isolation and correct MP3 volume handling
2025-06-26 06:57:50 +03:00
Sergey Degtyar
50a8f23b43
engine: sdl: always reset device descriptors on shutdown
2025-06-26 06:57:37 +03:00