Commit Graph

5663 Commits

Author SHA1 Message Date
Alibek Omarov
aa02f54536 engine: add a shortcut for loading custom DLLs that follow library naming scheme (like bots) continuous-android_library_naming 2025-08-03 04:35:10 +05:00
Alibek Omarov
ac162b33e9 scripts: build-ninja: add support for installing libraries with cmake, compared to yanking them out of build directory
Set up hlsdk-portable to install in APK style directory (omitting game and game library directories from path).
Minor refactoring.
2025-08-03 04:35:10 +05:00
Alibek Omarov
54091b0875 engine: platform: android: strip library path when loading libraries from APK 2025-08-03 04:35:10 +05:00
Bohdan Shulyar
0b65f87bb1 android: add some simple run instructions 2025-08-03 04:35:10 +05:00
Bohdan Shulyar
2553f376ae android: add some simple docs 2025-08-03 04:35:10 +05:00
Bohdan Shulyar
4e6babbd4d android: bump deps 2025-08-03 04:35:10 +05:00
Bohdan Shulyar
f7db736340 android: experimental ninja build 2025-08-03 04:35:10 +05:00
Bohdan Shulyar
d038162903 android: fix weird acra build error 2025-08-03 04:35:10 +05:00
Bohdan Shulyar
99f33fb406 android: don't generate x86 libraries for now 2025-08-03 04:35:10 +05:00
Bohdan Shulyar
27c851f071 android: bump gradle 2025-08-03 04:35:10 +05:00
Bohdan Shulyar
09f3998cda android: add a (not working yet) basedir option 2025-08-03 04:35:10 +05:00
Bohdan Shulyar
4c159015e4 android: update codebase to use java File API 2025-08-03 04:35:10 +05:00
Velaron
35b63ca647 android: reformat codebase 2025-08-03 04:35:10 +05:00
Velaron
4a4086e27c android: upgrade buildsystem 2025-08-03 04:35:10 +05:00
Velaron
b3c2e5568d android: remove DocumentsProvider 2025-08-03 04:35:10 +05:00
Velaron
232a3163ff android: remove currently unused or invalid resources 2025-08-03 04:35:10 +05:00
Alibek Omarov
aacdde1522 engine: platform: android: do not automatically prepend lib prefix 2025-08-03 04:35:10 +05:00
Alibek Omarov
54d737fe3e scripts: gha: temporarily switch hlsdk-portable branch to android_library_naming for testing 2025-08-03 04:35:10 +05:00
Alibek Omarov
b43105f13d filesystem: wscript: strip lib prefix on Android 2025-08-03 04:35:10 +05:00
Alibek Omarov
6661ec3090 defaults: disable INTERNAL_GAMELIBS for Android 2025-08-03 04:35:10 +05:00
Alibek Omarov
2557d5acaa 3rdparty: opus: limit assembly to SSE and SSE2
Otherwise whole engine builds with SSE4.1 and AVX support with LTO enabled. =/
2025-08-03 04:34:46 +05:00
lewa_j
b14a1b664f engine: platform: sdl2: Fix uninitialized read introduces in 7fda58561f 2025-08-02 17:59:26 +03:00
Alibek Omarov
56361b52e7 3rdparty: opus: enable platform optimized code (x86 SSE/AVX with runtime detection and NEON on ARM)
Along that enable hardening and check for C99 lrintf (probably can do the same in the engine at some point).
2025-08-02 12:27:26 +05:00
Alibek Omarov
da1b9ad80d scripts: waifulib: xcompile: enable cross compilation automatically if CROSS_COMPILE environment variable is set 2025-07-31 03:17:39 +05:00
Alibek Omarov
aec1213319 scripts: waifulib: xcompile: fix NDK 28 minimal API version 2025-07-31 03:17:39 +05: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
613768c3f9 wscript: add experimental option to enable wafcache [skip ci] 2025-07-30 21:07:45 +05:00
Alibek Omarov
234a16d611 scripts: waifulib: xcompile: add support for kbuild-style CROSS_COMPILE environment variable [skip ci] 2025-07-30 21:06:32 +05:00
Alibek Omarov
e468371394 3rdparty: libbacktrace: similarly, use C compiler for multicheck tests, as this is a C project 2025-07-29 21:42:40 +05:00
Alibek Omarov
671157ee20 public: wscript: set compiler for tests using compiler key instead of directly setting up features, otherwise it won't add uselib 2025-07-29 21:42:02 +05:00
Alibek Omarov
4398de1dab public: wscript: explicitly set language for libc tests in multicheck, as Waf chooses C++ by default
Compiling tgmath.h test with C++ compiler causes misdetection on PSVita which has broken tgmath.h support.
2025-07-29 20:41:59 +05:00
Alibek Omarov
dc09cf0c39 public: fix incorrect logic where libc extension defines were exported without an actual check 2025-07-29 11:31:45 +05:00
Alibek Omarov
f4854dbcde public: wscript: parallelize libc extension checks for faster reconfigure 2025-07-29 08:57:57 +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
Andrey Akhmichin
b3d3a15c3d utils: mdldec: bump version to 1.2.1. 2025-07-27 22:02:59 +05:00
Andrey Akhmichin
92faa25670 utils: mdldec: add support for absolute paths on *nix. 2025-07-27 22:02:59 +05:00
lewa_j
3eed2769d5 ref: wscript: gl4es fix typo 2025-07-27 16:27:55 +05:00
lewa_j
6302553ee4 ref: update nanogl and wes submodules 2025-07-27 16:27:55 +05:00
lewa_j
ae2808dff7 ref: gles3compat: Fix crashes on stubs under windows, probably due to signature missmatch 2025-07-27 16:27:55 +05:00
lewa_j
af69df15e1 ref: Fix gl4es build under windows. Static gl functions declared with APIENTRY even without mangling. 2025-07-27 16:27:55 +05:00
lewa_j
98e4aae6bb ref: wscript: Fix gl4es invalid build flags under msvc 2025-07-27 16:27:55 +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
Alibek Omarov
eeca965b5d 3rdparty: update libbacktrace and mainui submodules 2025-07-18 19:00:39 +05:00