Commit Graph

6111 Commits

Author SHA1 Message Date
Alibek Omarov
8b0d3557f3 game_launch: change Sys_ChangeGame to a stub 2026-02-21 02:21:09 +05:00
Alibek Omarov
436fa98f33 engine: remove the code that calls pfnChangeGame from game_launch, as we never use it anyway 2026-02-21 02:21:09 +05:00
Alibek Omarov
718fbac9be Merge branch 'steam-broker' 2026-02-21 02:00:53 +05:00
Alibek Omarov
abaf390dfc engine: client: introduce a new mixer 2026-02-21 01:43:14 +05:00
Alibek Omarov
9205ddc5b4 engine: client: voice: rewrite Voice_IsGoldSrcMode to make it easier to understand and also fix build with Clang 2026-02-21 01:20:34 +05:00
Alibek Omarov
6bcb98e779 public: replace COM_CheckString and COM_CheckStringEmpty by COM_StringEmptyOrNULL and COM_StringEmpty. Remove legacy macros 2026-02-21 01:20:34 +05:00
Alibek Omarov
4722ad6be6 ref: replace COM_CheckString and COM_CheckStringEmpty by COM_StringEmptyOrNULL and COM_StringEmpty 2026-02-21 01:20:34 +05:00
Alibek Omarov
baa005ff71 filesystem: replace COM_CheckString and COM_CheckStringEmpty by COM_StringEmptyOrNULL and COM_StringEmpty 2026-02-21 01:20:34 +05:00
Alibek Omarov
76363a555c engine: platform: replace COM_CheckString and COM_CheckStringEmpty by COM_StringEmptyOrNULL and COM_StringEmpty 2026-02-21 01:20:34 +05:00
Alibek Omarov
de70e12bbe engine: server: replace COM_CheckString and COM_CheckStringEmpty by COM_StringEmptyOrNULL and COM_StringEmpty 2026-02-21 01:20:34 +05:00
Alibek Omarov
eacc35d9e1 engine: replace COM_CheckString and COM_CheckStringEmpty by COM_StringEmptyOrNULL and COM_StringEmpty 2026-02-21 01:20:34 +05:00
Alibek Omarov
3040552580 engine: client: replace COM_CheckString with COM_StringEmptyOrNULL 2026-02-21 01:20:34 +05:00
Alibek Omarov
24aaeb07cb engine: client: replace COM_CheckStringEmpty with COM_StringEmpty 2026-02-21 01:20:34 +05:00
Alibek Omarov
ae15886a14 public: add COM_StringEmpty and COM_StringEmptyOrNULL macros (that eventually replace less obvious COM_CheckString and COM_CheckStringEmpty) 2026-02-21 01:20:34 +05:00
Alibek Omarov
b2911e6d96 engine: client: add double quotes around key in bind command in config file. Thanks @TheKingFireS for fix 2026-02-20 23:14:27 +05:00
Alibek Omarov
2735add7d0 engine: drop setgl command 2026-02-20 22:08:26 +05:00
Alibek Omarov
0abb667c28 engine: drop XASH_HASHED_VARS define 2026-02-20 22:08:05 +05:00
Alibek Omarov
19dfec5f52 engine: use BaseCmd_FindAll when looking for cvars and cmds simultaneously 2026-02-20 21:56:59 +05:00
Alibek Omarov
e0f01ddae7 engine: remove unused ignore_group argument from Cvar_FindVarExt 2026-02-20 21:55:15 +05:00
Alibek Omarov
2f8a0510b8 engine: client: return NULL from LookupBinding on unknown bindings, like GoldSource 2026-02-16 23:59:28 +05:00
Alibek Omarov
dbbe75fec6 engine: mod_bmodel: minor refactoring 2026-02-13 12:33:44 +05:00
Alibek Omarov
c0b15fb186 ci: disable freebsd-16-0-snap image as it's unsupported by cirrus 2026-02-13 12:15:46 +05:00
Alibek Omarov
f802b0eed9 engine: mod_bmodel: fix build w/ MSVC 2026-02-13 12:09:01 +05:00
Alibek Omarov
cf9f9b40e7 3rdparty: mainui: update 2026-02-13 11:40:47 +05:00
Alibek Omarov
1b2c00e228 engine: add ability to scan and load BSPX lumps. As an example support RGBLIGHTING and LIGHTINGDIR extensions. 2026-02-13 11:16:12 +05:00
Alibek Omarov
587eabd829 common: bspfile: add basic BSPX definitions 2026-02-13 11:08:35 +05:00
Alibek Omarov
80e0d45c09 3rdparty: mainui: update 2026-02-12 13:30:30 +05:00
Alibek Omarov
f034276354 readme: update discord link 2026-02-10 18:19:03 +05:00
Alibek Omarov
306455280a engine: identification: include build.h early so platform definitions are visible when including system headers 2026-02-10 16:13:56 +05:00
Alibek Omarov
d9221c8491 scripts: waifulib: remove outdated stuff 2026-02-08 10:14:28 +05:00
Alibek Omarov
249e1404c1 engine: client: identification: add client.h so compiler doesn't complain about missing prototypes for public functions 2026-02-08 06:38:05 +05:00
Alibek Omarov
dd55b77543 engine: client: identification: do not salt port as suggested by @snmetamorph 2026-02-08 06:38:05 +05:00
Alibek Omarov
c772fb98d1 engine: client: salt xashid with server address 2026-02-08 06:38:05 +05:00
Alibek Omarov
1c1e5c50a9 3rdparty: mainui: update 2026-02-07 14:38:23 +05:00
Alibek Omarov
5cc784f2fa engine: common: fix inverted check in addmaster 2026-02-07 14:38:12 +05:00
Razcoina
983b9611ac avi: add audio context check before sending packet 2026-02-07 07:50:57 +05:00
Alibek Omarov
a7f154d05a engine: platform: move SDL hints from android code to main SDL code 2026-02-05 08:45:23 +05:00
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
f01818a3f8 wscript: allow linking with system-wide opus 1.6.1 which has a fix for custom modes 2026-02-05 07:47:18 +05:00
Alibek Omarov
732bc50a3a filesystem: set custom_loader flag even if loading DLLs from archives is unsupported
After all, it's an engine job to figure out whether it wants to load this binary or not.
2026-02-03 17:48:27 +05:00
Владислав Сухов
e9ffe12481 ref: gl: fix opacity of additive sprites and textures in fog 2026-01-31 20:49:47 +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
Владислав Сухов
d391ef1747 public: crtlib: make COM_FixSlashes remove duplicate slashes 2026-01-30 02:25:44 +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
e767770647 common: set default window mode to windowed on windows
Window, window, window, window!
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