Alibek Omarov
166763a887
engine: common: limit amount of delta encoded fields by 64 in GoldSrc protocol (because this is the maximum it allows anyway)
2026-05-16 21:12:49 +05:00
Alibek Omarov
e56cf4e1da
engine: client: validate player index and max players
2026-05-16 21:00:50 +05:00
Alibek Omarov
fc4b982ecc
engine: client: correctly skip message that would overflow temp entity buffer
2026-05-16 20:59:57 +05:00
Alibek Omarov
d305292340
engine: zone: in CheckAlloc walk through over both allocation chains, so that we don't read out of bounds if passed pointer is not allocated by zone allocator
2026-05-16 12:56:49 +05:00
Alibek Omarov
9ee6be87d7
engine: host: try to avoid recursive Host_Error
2026-05-16 12:37:08 +05:00
Alibek Omarov
4e4a54ab68
engine: despite byte-swapping code is no-op on little endian, it still fires and can read out of bounds on some models, leading to crash
2026-05-16 12:21:46 +05:00
Alibek Omarov
516554b704
public: update miniz to latest version
2026-05-15 12:36:56 +05:00
Alibek Omarov
7be955c493
gitignore: do not even try adding slop generators garbage
2026-05-15 11:39:45 +05:00
Владислав Сухов
c6fb702fb1
engine: add MenuFactory native object
2026-05-15 08:48:58 +05:00
Alibek Omarov
cae1d32c66
3rdparty: gl-wes-v2: update
2026-05-13 11:14:32 +05:00
Alibek Omarov
5e70995989
ref: gl: more maybe unused stuff
2026-05-13 11:13:46 +05:00
Alibek Omarov
50f7f3bb87
engine: server: mark str64 as maybe unused
2026-05-13 11:12:19 +05:00
Alibek Omarov
7c3da8c381
3rdparty: gl-wes-v2: update
2026-05-13 11:11:41 +05:00
Alibek Omarov
e38d3511b5
3rdparty: nanogl: update
2026-05-13 11:11:32 +05:00
Alibek Omarov
d4fcebb377
3rdparty: MultiEmulator: update
2026-05-13 11:11:22 +05:00
Alibek Omarov
996f0e906b
engine: client: drop double free check from dbghulls
2026-05-13 10:53:21 +05:00
Alibek Omarov
0f490a2f16
engine: client: fix warnings, cleanup unused or maybe-uninitialized variables
2026-05-13 10:48:37 +05:00
Alibek Omarov
cef6cb58bb
ref: gl: fix maybe-uninitialized
2026-05-13 10:47:15 +05:00
Alibek Omarov
47aad1b3a3
ref: soft: cleanup unused variables
2026-05-13 10:46:59 +05:00
Alibek Omarov
ff8efebba2
engine: fix more warnings
2026-05-13 10:46:44 +05:00
Alibek Omarov
be6571a6a2
3rdparty: library_suffix: update
2026-05-13 10:45:50 +05:00
Alibek Omarov
1d67585df4
3rdparty: mainui: update
2026-05-13 10:45:39 +05:00
Alibek Omarov
10d441f825
public: fix warnings, add guards around some of the macros, remove unused variable
2026-05-13 10:30:35 +05:00
Alibek Omarov
2dc132f817
engine: common: fix up warnings, clean up unused variables
2026-05-13 10:13:52 +05:00
Alibek Omarov
e9bdbf2f33
ref: gl: mark maybe unused globals
2026-05-13 10:11:47 +05:00
Alibek Omarov
b630a84447
common: xash3d_types: add macro MAYBE_UNUSED
2026-05-13 10:11:21 +05:00
Alibek Omarov
dccd076b92
engine: platform: sdl2: cleanup unused variables
2026-05-13 10:09:49 +05:00
Alibek Omarov
cb7ea5729a
engine: server: cleanup unused variables
2026-05-13 10:09:37 +05:00
Alibek Omarov
9bad17505e
filesystem: cleanup unused variables
2026-05-13 10:09:19 +05:00
Alibek Omarov
bf990d1040
ref: gl: cleanup unused variables
2026-05-13 10:09:09 +05:00
Alibek Omarov
63e112bf4c
engine: client: soundlib: add more broken null files
2026-05-13 09:32:50 +05:00
Alibek Omarov
0aac2e4d32
engine: zone: add small allocation optimization, reducing the size of <255 bytes allocations at the cost of less debug info
...
Keep it opt-in through a flag at pool alloc time.
Opt-in console related allocations, they are usually small enough strings.
2026-05-13 09:32:50 +05:00
Alibek Omarov
33b3cdb0f5
engine: client: soundlib: catch broken null.wav and replace it with silence
2026-05-10 03:02:24 +05:00
Alibek Omarov
9c4edaed21
engine: client: sound: switch to single-pass mixing, now channels gets upscaled directly to DMA speed, fixing the issue with s_lerping
2026-05-10 02:48:23 +05:00
Alibek Omarov
d4205867dd
public: simplify COM_Strip and COM_DefaultExtension by reusing extension extraction function. Add moar tests for them
2026-05-10 00:56:44 +05:00
Alibek Omarov
3c07680263
android: pack crash log to ZIP file, put system and intent info alongside it. Properly handle if multple email clients are installed on device (tested with gmail, outlook and k-9).
2026-05-10 00:32:29 +05:00
Alibek Omarov
e5d6f66f61
filesystem: strip exec flag and add nowrite flag to archives
...
pk3dir now disallows executables, which shouldn't be a problem for anybody.
Revised FS_Path command output.
continuous-hlsdk-mega-fetch
2026-05-09 19:22:10 +05:00
Alibek Omarov
a106924c7f
filesystem: avoid scanning game directory as executable in FS_FindLibrary on Android, generic refactoring
2026-05-09 16:57:21 +05:00
Alibek Omarov
11ee883c84
android: show build info for mod's downloaded libraries
2026-05-09 16:57:21 +05:00
Alibek Omarov
881f0c5ca7
engine: show the missing library warning message on Android, but only if APK doesn't try to override it, skip client for now
2026-05-09 16:57:21 +05:00
Alibek Omarov
ac0c8a2210
android: implement game library downloading
2026-05-09 16:57:21 +05:00
Alibek Omarov
dba090e0da
android: bundle Let's Encrypt's ISRG Root X1 certificate for EOL devices
2026-05-09 16:57:21 +05:00
Alibek Omarov
262f32b002
engine: platform: android: implement library loading from VFS paths on Android
2026-05-09 16:57:21 +05:00
Zane van Iperen
843f6297ed
engine: net_ws: fix NET_QueuePacket indentation after previous change
2026-05-09 13:15:17 +05:00
Zane van Iperen
d1510345f1
engine: net_ws: round-robin IPv4/IPv6 reads
...
Previously, it would always return on the first one that had activity.
In practice, this meant that if IPv4 starts getting slammed, IPv6 reads
wouldn't happen.
2026-05-09 13:15:17 +05:00
Alibek Omarov
36307bb386
android: handle crash logs created by the engine, keep them for 30 days for current version
2026-05-07 17:58:25 +05:00
Alibek Omarov
52953a7647
engine: platform: posix: drop crash info into crash.log on Android
2026-05-07 15:48:34 +05:00
Alibek Omarov
ebeff144f9
Merge remote-tracking branch 'origin/master'
2026-05-07 13:50:55 +05:00
Alibek Omarov
c8cc953d48
engine: platform: posix: make crash message a global because the stack could be limited when we hit crash handler
2026-05-07 13:45:39 +05:00
Alibek Omarov
d6bf06e997
engine: common: check XASH3D_BASEDIR when opening log file, fixes engine.log creation on Android
2026-05-07 12:23:56 +05:00