Alibek Omarov
0e75428d62
engine: avi: do not playback video if codec context is NULL
2026-02-05 08:26:43 +05:00
Alibek Omarov
fa34092ba2
engine: client: make RefAPI's R_GetConfigName optional
2026-02-05 08:17:59 +05:00
Alibek Omarov
cca6f8da2d
engine: platform: sdl2: more robust error handling when creating a window and opengl context
2026-01-31 14:13:37 +05:00
Alibek Omarov
4804586728
engine: let movevars.zmax be encoded in 24 bits
2026-01-30 02:04:07 +05:00
Alibek Omarov
d08fd5c855
engine: directly access background state cvar
2026-01-30 00:16:19 +05:00
Alibek Omarov
9cc884dfe6
engine: add function Cvar_DirectFullSet that acts like Cvar_DirectSet and Cvar_FullSet at the same time
2026-01-30 00:16:19 +05:00
Alibek Omarov
456ad17d05
engine: platform: sdl2: make fake fullscreen for windowed mode. Simplify the code by first creating window in windowed mode and then switching to fullscreen if requested
2026-01-30 00:16:19 +05:00
Alibek Omarov
5ee21ca6ab
engine: platform: sdl2: remove window_x/ypos cvars
2026-01-30 00:16:19 +05:00
Alibek Omarov
d8895ae497
engine: do not set actually freed models as to be freed, fixing another models leak. Improve modellist output
2026-01-28 15:23:43 +05:00
Alibek Omarov
a807168816
engine: client: send broadcast for 10 more ports forward when scanning servers in LAN
2026-01-27 14:55:08 +05:00
Alibek Omarov
a26c56629e
engine: client: deactivate menu when on escape if we are going back to game
2026-01-26 02:17:03 +05:00
Alibek Omarov
8ee997b1bc
Reapply "engine: client: allow console toggle from menu via keybind"
...
This reverts commit 27c71194ba .
2026-01-26 02:12:07 +05:00
Alibek Omarov
27c71194ba
Revert "engine: client: allow console toggle from menu via keybind"
...
This reverts commit 9ed76fbb36 .
2026-01-26 01:37:26 +05:00
Alibek Omarov
cc9e3a5a81
engine: misc build fixes for clang with mingw
2026-01-24 07:21:30 +05:00
Alibek Omarov
20a20c72d4
common: do not override neither _cdecl or _stdcall
2026-01-24 07:09:36 +05:00
Alibek Omarov
b2ab748fcb
engine: do not reset flNextPrimaryMove in pmove struct, as it's used by modders
2026-01-21 05:10:51 +05:00
Alibek Omarov
56e5a95cb6
engine: platform: sdl2: add command vid_info to dump current SDL window state
2026-01-21 01:58:38 +05:00
Alibek Omarov
214b133e5d
engine: fix build
2026-01-20 23:43:28 +05:00
Alibek Omarov
f9bbe2a2c4
engine: make host.argv an array of pointers to const data
2026-01-20 22:42:14 +05:00
Alibek Omarov
c5f90aabd6
engine: use Sys_GetIntFromCmdLine where possible
2026-01-20 22:30:39 +05:00
Владислав Сухов
5c5c0ad94d
engine: common: prepare support for direct scr writing
2026-01-20 19:26:28 +05:00
Alibek Omarov
5232ccb6e3
engine: server: do not print the port in ban list, it's not used there and causes issues when exported to a config
2026-01-20 00:37:23 +05:00
Alibek Omarov
bc387477ce
engine: common: fix world submodels were not being purged correctly, leading to a "memory leak"
2026-01-20 00:34:10 +05:00
Alibek Omarov
ed950723cd
engine: client: add cl_autorecord cvar, to start recording demo as soon as client spawns on server
2026-01-19 22:30:20 +05:00
Alibek Omarov
e06087cb0b
engine: client: move svc_restoresound parser into svc_sound parser
2026-01-19 22:07:59 +05:00
Alibek Omarov
8cbc7819a6
engine: common: transform asserts into Host_Error calls in Mod_LoadModel
2026-01-19 22:00:33 +05:00
Alibek Omarov
7c588540d8
engine: common: http: fix incorrect parsing of URLs
2026-01-18 15:33:10 +05:00
Alibek Omarov
5cb5e76872
engine: add new needload flag specifically for cleaning up unused models and use unreferenced for free slots.
2026-01-17 06:17:46 +05:00
Alibek Omarov
4e49cc49f8
engine: common: http: optimistically treat https as http as a temporary hack
2026-01-17 06:17:46 +05:00
Владислав Сухов
09ca41ea36
engine: server: drop ghost fakeclients before changelevel
2026-01-16 14:27:41 +05:00
Alibek Omarov
896bbe8fc3
engine: server: add Host_Error on unknown pfnWalkMove state
...
In GoldSrc default branch interpreted as WALKMOVE_NORMAL, and there might be
some mods that expect this.
But Xash never did this, and if Xash-specific games rely on that behavior, we
better know about it.
2026-01-16 14:19:38 +05:00
Alibek Omarov
ed85d3028f
engine: client: fix division by zero in cl_showfps on first frame
2026-01-15 04:42:36 +05:00
Alibek Omarov
8e33f11dc6
engine: server: replace MAX_INFO_STRING with appropriate sizeof, remove some set but unused variables
2026-01-13 18:09:37 +05:00
Alibek Omarov
4bb547fdc7
engine: platform: sdl: revert disabled NET_WM_BYPASS_COMPOSITOR
2026-01-13 08:35:46 +05:00
Alibek Omarov
5a0517c1b8
engine: server: refactoring, better validation of cl_updaterate and rate values. Allow sv_min/maxupdaterate to be set to 0 for unlimited powah
2026-01-13 08:27:03 +05:00
Alibek Omarov
5ed1bca57f
engine: client: allow enabling sv_cheats during demo playback
2026-01-13 08:27:03 +05:00
Alibek Omarov
d5892f3794
engine: change sleeptime resolution from 1 microsecond to 100 microseconds, as apparently sleeping for a microsecond isn't enough to lower CPU usage
2026-01-13 08:27:03 +05:00
Alibek Omarov
32aee7ef2f
engine: add sv_hibernate_when_empty that cuts down CPU usage on empty servers, similar to the feature in Source
2026-01-13 08:27:03 +05:00
Alibek Omarov
3a5d57603f
engine: print unknown command message in dedicated mode and when not on server
2026-01-13 08:27:03 +05:00
Steven Linn
c865999302
engine: fix window position drift on X11 with window decorations
2026-01-13 06:31:29 +05:00
Steven Linn
cb69a52d65
engine: fix black fullscreen flash on startup in windowed mode
2026-01-13 06:31:29 +05:00
Steven Linn
d915ed184c
Add 'retry' command for quick reconnection to servers
2026-01-13 06:28:15 +05:00
Alibek Omarov
bdc205b994
engine: client: do not grab client updates during intermission, fixes the bug where player was seemingly moving during intermission
2026-01-13 06:26:26 +05:00
Alibek Omarov
46ccc37cae
engine: fix undefined pfnTime build error, it has been renamed to Sys_FloatTime
2026-01-13 06:03:34 +05:00
Alibek Omarov
d7b96ea8c2
engine: pass arguments on engine restart on nswitch, add forgotten -changegame parameter, simplify code for other platforms
2026-01-13 05:51:19 +05:00
Alibek Omarov
de9e28700a
engine: client: prevent a crash in case of invalid tempentity message (thanks, @Aynekko!)
2026-01-13 05:51:19 +05:00
Alibek Omarov
f5b2c4f7af
engine: client: prevent a crash in goldsrc delta entities parser
2026-01-13 05:51:19 +05:00
Alibek Omarov
79f7fba83c
engine: client: make both UI and Render API to use same implementation of GetFilesList function
2026-01-13 05:51:19 +05:00
Alibek Omarov
cb7f2ad8af
engine: replace Sys_DoubleTime with Platform_DoubleTime in internal code, only use Sys_DoubleTime in APIs
...
As Sys_DoubleTime is marked with GAME_EXPORT attribute that helps us to
maintain compatible binary interface.
2026-01-13 05:51:19 +05:00
lewa_j
5cdb58431a
engine: ref: Remove unused declarations, fix comment after rename
2026-01-13 03:41:19 +03:00