Alibek Omarov
3fc59104f3
engine: make FS_CopyImage argument const
2025-11-22 13:11:41 +05:00
Alibek Omarov
aae59ac281
engine: client: remove unused temppaintbuffer array
2025-11-22 13:11:18 +05:00
Alibek Omarov
e8a2047d4c
engine: client: use utility function to copy an image before quantization
2025-11-22 13:11:00 +05:00
Alibek Omarov
56972a811c
readme: better wording [skip ci]
2025-11-19 14:47:47 +05:00
Alibek Omarov
27086bfb97
engine: set r_wadtextures and r_allow_wad3_luma as latched cvars, as those require reloading textures and thus the game
2025-11-18 15:38:25 +05:00
Alibek Omarov
93dfcc344b
engine: implement loading luma in half-life
2025-11-18 15:35:20 +05:00
Alibek Omarov
c2448c8881
engine: imagelib: allow specifiying index for empty pixels when processing luma texture
2025-11-18 15:35:20 +05:00
Alibek Omarov
26df99ae41
utils: xar: fix build
2025-11-18 15:35:20 +05:00
Marc-Antoine Lortie
45cff25bbc
readme: fix hlsdk-portable link
2025-11-18 08:48:27 +08:00
Alibek Omarov
5556668fc3
wscript: add option to disable rpath usage
2025-11-17 13:01:06 +05:00
Xav101
1b28d183fc
wscript: rework link flags on IRIX to handle GL and SDL linking correctly
2025-11-17 03:08:38 +08:00
Xav101
15bbe9892e
public: mathlib: add parenthesis to fix ambiguous order of operations
2025-11-17 03:08:38 +08:00
Xav101
7236094421
platform: add missing include
2025-11-17 03:08:38 +08:00
Xav101
c85c6f80e0
platform: fix type in formatter string
2025-11-17 03:08:38 +08:00
Alibek Omarov
dd7811e5bc
filesystem: wscript: do not link library_suffix on PSVita
2025-11-16 18:46:08 +05:00
veygax
28c118a4e6
engine: zone: free poolchain on every iteration of Memory_Init
...
free poolchain when calling Memory_Init multiple times.
Fixes: memory leak when running run-fuzzer-Image_LoadBMP
Signed-off-by: veygax <veyga@veygax.dev >
2025-11-16 01:17:05 +08:00
Daniyar Tussupbekov
49b0619c9a
readme: update README.md for android build instruction ( #2120 )
...
* readme: update README.md for android build instruction
* Update Android build instructions in README
Corrected instructions for running in Android Studio and added a new section for building on Android.
---------
Co-authored-by: a1batross <a1ba.omarov@gmail.com >
2025-11-15 10:06:21 +05:00
veygax
0c3c6345e9
engine: imagelib: fix pixel iteration bounds checking on 1-bit BMPs
...
move 1-bit BMP bounds checking to the beginning of a loop to prevent a second iteration
Fixes: [GHSA-3p7j-2339-g5mm](https://github.com/FWGS/xash3d-fwgs/security/advisories/GHSA-3p7j-2339-g5mm )
Signed-off-by: veygax <veyga@veygax.dev >
2025-11-15 12:50:33 +08:00
Alibek Omarov
747baa1e16
engine: client: additionally look for loading images with bmp and png extensions
2025-11-13 22:01:55 +05:00
Alibek Omarov
2e5d2c1dcc
3rdparty: library_suffix: update
2025-11-12 20:28:04 +05:00
Alibek Omarov
300edb3318
engine: remember last resolved master server address for about a minute
2025-11-12 20:04:55 +05:00
Alibek Omarov
0dfeea5213
Migrate to library-suffix library
2025-11-11 06:59:41 +05:00
Alibek Omarov
d9150734c9
3rdparty: add library_suffix subproject
2025-11-11 06:59:41 +05:00
Alibek Omarov
65514b73fd
common: render_api: explicitly include stdint.h as we use intptr_t in the API
2025-11-11 06:22:43 +05:00
Alibek Omarov
d366e04682
engine: client: voice: fix typo, sequence must be incremented after it's written to the buffer
2025-11-09 02:55:58 +05:00
ksagameng
5151f9559b
scripts: ios: Fix built hlsdk not working on older ios
2025-11-08 06:50:07 +08:00
Alibek Omarov
62c56b877f
3rdparty: mainui: update
2025-11-07 04:08:06 +05:00
Alibek Omarov
420a907776
wscript: silently ignore exception if --no-undefined is not in the linkflags list on darwin
2025-11-07 04:05:19 +05:00
Alibek Omarov
184e976c5d
engine: call appropriate model loader on big endian
2025-11-06 23:37:27 +05:00
Alibek Omarov
6154e54661
wscript: fix a typo in -Wl,-undefined,error
2025-11-06 23:36:50 +05:00
Alibek Omarov
73950e867f
filesystem: initial set of fixes for big endian
2025-11-06 23:26:12 +05:00
Alibek Omarov
822aa00bd6
wscript: replace --no-undefined with -undefined error for Darwin for compatibility with older linkers (tested on 10.4)
2025-11-06 21:51:09 +05:00
Alibek Omarov
681808ca3d
3rdparty: mainui: update
2025-11-06 20:06:52 +05:00
Alibek Omarov
a0b40fc2da
engine: common: explicitly cast function offset into size_t, even though it's signed ptrdiff, saverestore offset mistakingly used unsigned numbers
2025-11-06 20:06:51 +05:00
Alibek Omarov
955c5570d8
engine: client: voice: increment sequence before it's passed into LittleShort macro
2025-11-06 20:06:51 +05:00
Alibek Omarov
2094c72c95
engine: client: soundlib: use correct printf specifier for ptrdiff
2025-11-06 20:06:51 +05:00
Alibek Omarov
0795fe92fe
public: build: allow older __ppc__ macro defined by GCC 4.0 (even though I probably won't support GCC 4.0)
2025-11-06 20:06:51 +05:00
Alibek Omarov
9ce131e6be
engine: client: fix a typo
2025-11-06 23:06:33 +08:00
Alibek Omarov
08b718995c
engine: client: restore reduced resend time for bandwidth test
2025-11-06 23:06:33 +08:00
Alibek Omarov
4900955fc1
engine: client: set cl_dlmax to FRAGMENT_DEFAULT_SIZE when connecting to an old server or server that test disabled
2025-11-06 23:06:33 +08:00
Alibek Omarov
9d00e52c42
engine: server: require challenge for bandwidth test
2025-11-06 23:06:33 +08:00
Alibek Omarov
6c2bad610f
engine: client: request test packet only after we got challenge from server
2025-11-06 23:06:33 +08:00
Alibek Omarov
27c6004191
ci: disable freebsd-15 build due to bug with missing bzip2.pc
2025-11-05 09:13:45 +05:00
Alibek Omarov
500d385e6b
ci: use macos-15-intel for x86 engine builds
2025-11-05 09:10:12 +05:00
Alibek Omarov
5739946330
engine: server: limit bandwidth test to max 1400 bytes
2025-11-03 19:28:59 +05:00
Alibek Omarov
8a94256558
public: fix build with C++
2025-11-03 19:28:59 +05:00
ksagameng
a66774d65f
ci: ios: Minor change
2025-11-03 04:36:59 +08:00
ksagameng
a9f159bae5
ci: ios: Implement suggestions and use hlsdk mobile_hacks
2025-11-03 04:36:59 +08:00
ksagameng
a6108b7930
ci: Add iOS builds
2025-11-03 04:36:59 +08:00
Alibek Omarov
43066656bd
3rdparty: restore submodules hash after last merge
2025-11-01 18:33:42 +05:00