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
Alibek Omarov
674a4e5883
filesystem: add ability to mount HD, LV, addon and language folders by engine request
2025-02-05 18:24:36 +03:00
Alibek Omarov
f911210b81
public: simplify ctype.h is* functions wrappers for null-terminated strings, add Q_isalpha
2025-02-05 18:21:18 +03:00
Alibek Omarov
14eb07653c
engine: client: fix incorrect format in error message in CL_SetLightStyle
2025-02-05 17:41:01 +03:00
Alibek Omarov
54b0cf9991
ref: gl: check OES NPOT texture extension in BigGL mode
2025-02-05 14:00:44 +03:00
Alibek Omarov
3ebcb08a97
ref: gl: add cvar r_large_lightmaps to enable larger lightmap sizes, opt-in, yields better performance with VBO renderer
2025-02-05 13:02:37 +03:00
Alibek Omarov
23940f8590
readme: remove fontconfig from dependencies list, we aren't using it anymore [skip ci]
2025-02-04 21:00:42 +03:00
Alibek Omarov
687fb0123f
engine: implement basic gamepad gyroscope calibration
...
Called on game controller becoming active or by user request.
Exposes current calibration state by read-only console variable.
2025-02-03 13:14:51 +03:00
Alibek Omarov
6c91fdb0cd
ref: gl: gl2_shim: fix int vs GLuint
2025-02-02 20:57:37 +03:00
Alibek Omarov
4832232fd6
ci: attempt to fix flatpak upload
2025-02-02 20:31:51 +03:00
Alibek Omarov
185bce0489
engine: common: remove unused D_ enum used for MsgDev in old engine. Make sure all enums and structs here are not anonymous
2025-02-02 20:26:07 +03:00
Alibek Omarov
f460aa63b0
engine: platform: posix: don't forget to print backtrace to stderr too
2025-02-02 19:20:54 +03:00
Alibek Omarov
22f8b6f9c3
engine: platform: enable crash handler for macOS
2025-02-02 18:30:41 +03:00
Alibek Omarov
0cb034afc2
engine: wscript: improve execinfo and GNU backtrace() check
2025-02-02 18:18:26 +03:00
Alibek Omarov
d0464ef602
engine: platform: posix: use glibc-based backtrace implementation for crash handling, if execinfo.h can be found
2025-02-02 18:06:18 +03:00
Alibek Omarov
c3ebb84b97
ci: bump SDL2 to 2.30.12
2025-02-02 08:14:24 +03:00
Alibek Omarov
11742efbc3
engine: fix player move on dedicated servers
2025-02-02 08:08:15 +03:00
Alibek Omarov
95af635ab4
engine: client: add command replaybufferdat to aid in debugging protocol errors by parsing buffer.dat
2025-02-02 05:22:46 +03:00
Alibek Omarov
1abec80191
engine: client: set codepage to 0 if con_charset value is unknown
2025-02-02 02:34:08 +03:00
Alibek Omarov
93ebddfba3
public: utflib: simplify Q_EncodeUTF8
2025-02-02 02:31:56 +03:00
Alibek Omarov
5378494199
wscript: enable main() function for Android port, which was forgotten after last refactoring
2025-02-01 18:26:20 +03:00
Alibek Omarov
1b44d7733e
engine: platform: add improved Platform_Vibrate2 function, that allows to control vibration strength
2025-02-01 18:08:53 +03:00
Alibek Omarov
694c630b44
engine: zone: don't error when trying to free NULL pointer, like standard C free() and C++ delete
2025-02-01 17:51:02 +03:00
Alibek Omarov
7df1d4b9e2
engine: platform: sdl: remove useless for us game controller events
2025-01-31 19:48:33 +03:00
Alibek Omarov
b16037eabf
engine: drop raw SDL joystick API, always use GameController instead. Implement actually working rumble, ensure we're freeing up all resources related to gamepads
2025-01-31 17:50:19 +03:00
Alibek Omarov
bff7299f9b
gha: publish binaries even if flatpak fails
2025-01-31 10:37:41 +03:00
Alibek Omarov
de196b1c58
common: xash3d_types: avoid defining true and false in C23
2025-01-31 10:36:27 +03:00
Alibek Omarov
a0eec8b85d
scripts: waifulib: add special_install_path for platform-specific executable formats that create post link stage (was nro_install_path)
2025-01-31 10:25:02 +03:00
Alibek Omarov
c7e8ea2ffa
scripts: gha: linux: build smaller SDL2 (without 2D renderer) for Linux as well
2025-01-31 10:02:19 +03:00
Alibek Omarov
1c1cf3d646
scripts: waifulib: psvita: make sce_sys truly optional in apply_vpk
2025-01-31 10:02:19 +03:00