Alibek Omarov
ac22de84bf
public: remove Q_buildnum generated from __DATE__ macro, as we rely only on Git now
2025-08-04 10:25:42 +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
95bfb7cdf2
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 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
Bohdan Shulyar
70e53f547b
android: add some simple run instructions
2025-08-03 19:01:56 +05:00
Bohdan Shulyar
8047f8177b
android: add some simple docs
2025-08-03 19:01:56 +05:00
Bohdan Shulyar
95bf2f03ad
android: bump deps
2025-08-03 19:01:56 +05:00
Bohdan Shulyar
ca6de641a1
android: experimental ninja build
2025-08-03 19:01:56 +05:00
Bohdan Shulyar
bb811310d2
android: fix weird acra build error
2025-08-03 19:01:56 +05:00
Bohdan Shulyar
cd881c079b
android: don't generate x86 libraries for now
2025-08-03 19:01:56 +05:00
Bohdan Shulyar
2319d4caf9
android: bump gradle
2025-08-03 19:01:56 +05:00
Bohdan Shulyar
ac412fc15e
android: add a (not working yet) basedir option
2025-08-03 19:01:56 +05:00
Bohdan Shulyar
4f7a216191
android: update codebase to use java File API
2025-08-03 19:01:56 +05:00
Velaron
d87cdd7ff8
android: reformat codebase
2025-08-03 19:01:56 +05:00
Velaron
2c53cc7e70
android: upgrade buildsystem
2025-08-03 19:01:56 +05:00
Velaron
b7bb81fbe7
android: remove DocumentsProvider
2025-08-03 19:01:56 +05:00
Velaron
a767540a2b
android: remove currently unused or invalid resources
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
c1c0c2761d
scripts: gha: temporarily switch hlsdk-portable branch to android_library_naming for testing
2025-08-03 19:01:56 +05:00
Alibek Omarov
c69a87fa89
filesystem: wscript: strip lib prefix on Android
2025-08-03 19:01:56 +05:00
Alibek Omarov
bf7f952d0e
defaults: disable INTERNAL_GAMELIBS for Android
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
67d1536127
public: rename rsqrt to Q_rsqrt due to weird collision with tgmath.h macro
...
It was reported on Discord with no additional information attached. But I guess
it might be better to prefix our math- and crtlib functions in general.
2025-08-03 10:20:52 +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
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