Alibek Omarov
2ad2e46b30
mainui: update
2025-02-10 13:18:59 +03:00
Alibek Omarov
627444279f
Revert "common: cvar: make auto descriptions private to cvar subsystem, use them when Cvar_Get is called with NULL description"
...
This reverts commit ade560c601
.
2025-02-10 12:49:05 +03:00
Alibek Omarov
3550bdb30d
3rdparty: mainui: update
2025-02-09 23:14:24 +03:00
Alibek Omarov
c201b895eb
common: netadr: force cast uint16_t type to netadrtype_t
...
So it compiles in C++
2025-02-09 23:13:29 +03:00
Alibek Omarov
72f1ac3780
wscript: ensure system-wide libbacktrace supports threads
2025-02-09 18:29:02 +03:00
Alibek Omarov
d7dc3192de
3rdparty: libbacktrace: fix applying uselib
2025-02-09 18:25:40 +03:00
Alibek Omarov
43ea65fffc
ci: upgrade freebsd tasks.
2025-02-09 17:41:01 +03:00
Alibek Omarov
a72d921c12
wscript: add system-wide libbacktrace detection
2025-02-09 17:41:01 +03:00
Alibek Omarov
99b7d71824
wscript: set DEST_SIZEOF_VOID_P with allow 64bit flag
2025-02-09 17:16:17 +03:00
Alibek Omarov
67c73bdcbe
engine: server: remove impulse 204, it's not used anywhere
...
Thanks @tyabus for reminding me about this feature.
2025-02-09 17:16:05 +03:00
Alibek Omarov
8b1dbcf166
ci: remove extra 20s of wait before removing current release and downloading artifacts
2025-02-09 17:02:31 +03:00
Alibek Omarov
5f60095dc4
scripts: flatpak: disable separate debuginfo
2025-02-09 16:54:51 +03:00
Alibek Omarov
c7282b488b
3rdparty: libbacktrace: disable linking zlib, lzma and zstd for now, figure this out later
2025-02-09 16:49:43 +03:00
Alibek Omarov
afa829d996
3rdparty: libbacktrace: don't define POSIX_SOURCE, it breaks build on Mac
2025-02-09 16:41:26 +03:00
Alibek Omarov
c06ea8d915
engine: platform: posix: add printing backtrace to stderr and logfile for libbacktrace backend
2025-02-09 16:41:26 +03:00
Alibek Omarov
bf344282ec
android: explicitly set Waf output directory so it doesn't mess with current configuration and places generated files where CMake expects them to be
2025-02-09 16:20:38 +03:00
Alibek Omarov
21f62910ac
engine: platform: posix: fix build when glibc execinfo.h is not available, but libbacktrace is still used
2025-02-09 16:20:38 +03:00
Alibek Omarov
54552d93ef
Documentation: goldsrc-protocol-support: I am not going to support Dproto
2025-02-09 16:18:21 +03:00
Alibek Omarov
97455e7fd4
engine: platform: sdl: fix build after last PR
2025-02-09 15:56:16 +03:00
Alibek Omarov
6087d43043
3rdparty: libbacktrace: properly disable it on win32, nswitch and psvita
2025-02-09 15:55:12 +03:00
Alibek Omarov
c1a96d3ff1
engine: platform: posix: fix build
2025-02-09 15:51:25 +03:00
Alibek Omarov
e27d20dfa3
android: enable debug symbols for native libraries
2025-02-09 15:49:28 +03:00
Alibek Omarov
890e12ec76
engine: platform: posix: flush stdout/stderr before everything, include build branch
2025-02-09 15:45:44 +03:00
Alibek Omarov
774d2ac28a
engine: platform: posix: add libbacktrace support for crash handler
2025-02-09 15:42:28 +03:00
Alibek Omarov
960d724828
3rdparty: libbacktrace: add submodule
2025-02-09 15:40:07 +03:00
Alibek Omarov
32aa1f91bf
engine: pass argv0 to crash handler setup, which is required for libbacktrace integration
...
Fix indentation in crash_posix.c
2025-02-09 15:36:49 +03:00
Alibek Omarov
bd3634c815
wscript: add sanity test for opusfile because some distros don't ship 32-bit binary
2025-02-09 15:34:30 +03:00
Oleg
eda0ac92cc
engine: platform: sdl: change behavior when window position is not set
2025-02-09 08:54:31 +03:00
Oleg
546903ea05
engine: platform: sdl: write windows position changes even in fullscreen
2025-02-09 08:54:31 +03:00
Oleg
4975001795
engine: platform: sdl: enumerate video modes for display where window located is instead of display zero
2025-02-09 08:54:31 +03:00
Oleg
a078ad1f51
engine: platform: sdl: fix windows save position for multiple monitors
2025-02-09 08:54:31 +03:00
Oleg
8307f671d4
engine: platform: sdl: let platform decide where to put our fullscreen window
2025-02-09 08:54:31 +03:00
Alibek Omarov
241fab02b1
ref: gl: don't try to free luma and detail texture of water texture, as these fields used by r_ripple
2025-02-08 16:57:20 +03:00
Alibek Omarov
1bfee70477
engine: con_utils: add autocompletion for cvar commands like set, reset and toggle
2025-02-08 16:45:52 +03:00
Alibek Omarov
eb51d17cd2
engine: server: enable sv_zmax clamping back to avoid overflowing zmax value encoded in delta
2025-02-08 16:38:11 +03:00
Alibek Omarov
b5cb0b9f10
ref: gl: add r_dlight_virtual_radius. It potentially fixes ugly dlight cut off on largely scaled textures (or at least allows to tune it)
...
It also adds a fix found in JoeQuake (which traces back to FitzQuake, in which
it is attributed to LadyHavoc, Darkplaces author) to exactly calculate whether
the light hits the surface, so we don't wrongly enable lighting on a surface by
an increased radius.
2025-02-07 23:07:08 +03:00
Alibek Omarov
a955d1e957
ref: gl: make GL_BuildPolygonFromSurface static, remove one global variable usage (which is unused anyway)
2025-02-07 22:55:38 +03:00
Alibek Omarov
2b2c967e85
engine: add ms3.mentality.rip master server
2025-02-07 19:32:37 +03:00
Alibek Omarov
c48d93e3ce
public: use last Git commit date (committer date, to be exact) as more predictable source for build num
2025-02-07 17:51:10 +03:00
Alibek Omarov
8f257cc331
public: add parsing build date from ISO-8601 alike format
2025-02-07 17:47:23 +03:00
Alibek Omarov
151e7fe37b
public: crtlib: check for empty buffer in Q_vsnprintf
2025-02-06 21:19:10 +03:00
Alibek Omarov
add02dc6f9
engine: fix potential UB in netadr_t
2025-02-06 20:54:18 +03:00
Alibek Omarov
d4c34abd6e
engine: enable writing log even if console hasn't been enabled at the engine startup (it might be enabled later, it might also contain crash data)
2025-02-06 20:03:07 +03:00
Alibek Omarov
1d81e611f0
scripts: gha: use N+1 job count when building PSVita dependencies
2025-02-06 00:32:42 +03:00
Alibek Omarov
6a0038e26a
ref: gl: always set texture env mode to GL_MODULATE in TriAPI's RenderMode call
...
Not sure if this is correct, but it's generally a good idea to restore it to an
expected value.
2025-02-06 00:30:32 +03:00
Alibek Omarov
1d99f65e86
filesystem: when shutting down, clean up gameinfo pointers and total games count
2025-02-05 21:14:08 +03:00
Alibek Omarov
5e524bca60
engine: client: enable half-texel hack for nearest filtering too, if the scaling factor isn't an integer
2025-02-05 20:16:16 +03:00
Alibek Omarov
cf3e56e275
engine: client: add alternative mode for hud_scale, where it scales HUD down to selected resolution with preserving aspect ratio
2025-02-05 19:47:59 +03:00
Alibek Omarov
ade560c601
common: cvar: make auto descriptions private to cvar subsystem, use them when Cvar_Get is called with NULL description
...
It allows us to not lose engine-side description when client or gameui registers cvar with the same name. In case of
menu it's the only way to get cvar pointer.
2025-02-05 19:11:16 +03:00
Alibek Omarov
62e3ba2126
engine: add cvars to control mounting additional directories
...
Use existing ui_language cvar for mounting localization folders.
2025-02-05 18:54:28 +03:00