Commit Graph

3207 Commits

Author SHA1 Message Date
Alibek Omarov
dbcf77c9a9 engine: cleanup, disallow exec for multiplayer non-TFC games 2026-04-08 08:22:01 +05:00
w_sh1t
8a9aa2da6c engine: common: add wildcard support for exec command, add amount of frames to wait in wait command 2026-04-08 08:05:42 +05:00
Alibek Omarov
ef513f27ac engine: simplify node recursion functions, do not fetch both children at once if only one is used 2026-04-06 08:16:51 +05:00
Alibek Omarov
434e508186 engine: client: reserve some free space in channel_t and rawchan_t 2026-04-06 07:27:50 +05:00
Alibek Omarov
4a2b3e89b4 engine: client: disable NET_EXT_SPLITSIZE in local game, for slightly better performance 2026-04-06 07:14:06 +05:00
Alibek Omarov
6c3f8c7ec5 engine: mod_bmodel: allow nearest on quake skybox 2026-04-06 06:55:52 +05:00
Alibek Omarov
3fffe061d5 engine: client: switch to dynamically allocating vox words, freeing up 320 Kb of memory 2026-04-06 06:55:27 +05:00
Alibek Omarov
729c985eaf engine: client: consolidate dma, s_listener and bunch of separate sound globals into one snd global struct. Replace bit fields with bit flags in preparation for SoundAPI
Remove s_combine_sounds, it never worked great and was disabled by default.
2026-04-06 06:00:48 +05:00
Alibek Omarov
75fb6c5f34 engine: add Mem_Free2 that takes a pointer to pointer and then sets it to NULL 2026-04-06 05:14:33 +05:00
Alibek Omarov
8bc9b1865a engine: client: allow custom paths in cdaudio.txt 2026-04-05 07:03:46 +05:00
Alibek Omarov
d6993c47d6 engine: mod_bmodel: do not try to load visibility if there is none, like for external bmodels 2026-04-05 07:03:46 +05:00
Alibek Omarov
2234dd48bc engine: client: soundlib: use unsigned int in GetLittleLong to fix ubsan error 2026-04-05 07:03:46 +05:00
Alibek Omarov
c8693e1e89 engine: common: fix char array underflow, on Q_strlen() - 1 2026-04-05 07:03:46 +05:00
Alibek Omarov
bd3f865cf7 engine: mod_bmodel: only look for BSPX lumps if BSPX header was found 2026-04-05 07:03:46 +05:00
Alibek Omarov
b68e71abfd engine: net_chan: explicitly convert qboolean to uint before right shift to 31 bits 2026-04-05 07:03:46 +05:00
Alibek Omarov
6179bef160 engine: fix possible buffer overflow when looking for BSPX header 2026-04-05 07:03:46 +05:00
Alibek Omarov
983427ebb3 engine: client: allow coloring fixed font text 2026-04-05 07:03:46 +05:00
Alibek Omarov
1b2ab34745 engine: client: keep TF_NEAREST enabled for console font, if HUD font failed to load 2026-04-05 07:03:46 +05:00
Alibek Omarov
238083c174 engine: client: move common server message handlers to CL_ParseCommonMessage and only HL specific ones to CL_ParseCommonHLMessage (previously CL_ParseCommonDLLMessage) 2026-04-05 07:03:46 +05:00
Alibek Omarov
78de3ee6d9 engine: client: initialize cl_textmessage at compile-time 2026-04-05 07:03:46 +05:00
Alibek Omarov
a10520ca9e engine: host: add message when native game libraries weren't found but libraries for x86 windows, linux or macos were, telling that the mod probably require custom logic code 2026-04-04 17:37:48 +05:00
Alibek Omarov
cb4a03ded2 engine: platform: add Platform_LibraryExists and implement it for iOS and generally for everything else with FS_FileExists 2026-04-04 17:37:48 +05:00
Alibek Omarov
8e450d869b engine: common: add host.default_gamedir containing gamedir passed to us from game launcher 2026-04-03 04:09:25 +05:00
Alibek Omarov
e8ef7ad60c engine: server: throw Host_Error when game tries to call precache model with invalid argument, like GoldSrc 2026-04-03 01:43:23 +05:00
Alibek Omarov
0b920be381 engine: client: delay freeing up the sound channel when it becomes inaudible 2026-04-03 00:03:52 +05:00
Alibek Omarov
e6dfccb6ba engine: reorganize common.h header 2026-04-02 20:45:00 +05:00
Alibek Omarov
3129081050 engine: fix a typo USING_ASAN -> USE_ASAN 2026-04-02 02:16:50 +05:00
Alibek Omarov
3726256514 engine: simplify IsQuakeCompatible by enforcing QUAKE_COMPATIBLE feature flag when Quake demo starts 2026-04-02 02:11:40 +05:00
Alibek Omarov
5eb43505cb engine: platform: try to fix build on 32-bit arm in debug builds (r7 is used by frame pointer, so we push it into stack before using for a syscall) 2026-04-02 02:02:59 +05:00
Alibek Omarov
38b3805ad8 engine: client: gamma: fix gamma when compiled with -ffast-math 2026-04-01 20:35:04 +05:00
Alibek Omarov
2ebaa2ad8e engine: wscript: disable engine tests on macOS temporarily 2026-04-01 09:15:09 +05:00
Alibek Omarov
99d01e7967 engine: try to fix running tests on macOS 2 2026-04-01 06:29:22 +05:00
Alibek Omarov
5aba96ce14 engine: try to fix tests on macOS 2026-04-01 06:19:06 +05:00
Alibek Omarov
6b97fc1825 engine: fix tests build on Win32 2026-04-01 06:02:08 +05:00
Alibek Omarov
42cb5fe547 engine: wscript: append SDL2 library path to the client tests LD_LIBRARY_PATH (or it's platform-specific alternative) 2026-04-01 05:40:45 +05:00
Alibek Omarov
6a1718aa07 engine: get rid of --enable-engine-tests, now engine tests run as waf targets, allowing their run on CI seamlessly. 2026-04-01 05:15:31 +05:00
Alibek Omarov
f980f40f8e engine: client: add new titles.txt parser, that avoids max messages limit 2026-04-01 04:10:41 +05:00
RevengeRip
8767a4d6ba engine: client: avi: remove XASH_FFMPEG_DLOPEN
Is this a mistake? This define effectively forces `--enable-ffmpeg-dlopen` at all times ignoring configuration (which in turn makes build to fail with ffmpeg 8.1).
2026-03-31 16:24:32 +05:00
Alibek Omarov
c91b707b66 engine: client: ignore blank music tracks in "cd loop" command so music could carry over through changelevels 2026-03-28 19:23:59 +05:00
Alibek Omarov
a50ea929d6 engine: fix a typo in R_Blood, fix a typo in pt_4x_slowgrav 2026-03-28 18:44:50 +05:00
Alibek Omarov
30fa074c8c engine: server: implement time window based challenge generation 2026-03-27 22:17:34 +05:00
Alibek Omarov
d8d1ebf23c engine: cleanup unused functions 2026-03-26 02:24:30 +05:00
Alibek Omarov
926f0ae95d engine: server: get rid of {ALLOC_,MAKE_,}STRING macros, call the underlying functions directly 2026-03-26 02:24:30 +05:00
Alibek Omarov
2fe950b0af engine: server: don't show scary message about missing server library on engine startup in multiplayer capable games 2026-03-25 23:06:27 +05:00
Alibek Omarov
ed559d9ed7 engine: client: fix off by one error in KeynumTostring 2026-03-22 20:08:01 +05:00
Alibek Omarov
8995a584b9 engine: do not register autocompletion for commands that are not possible in dedicated build 2026-03-22 14:20:59 +05:00
Alibek Omarov
30c81c9f01 engine: use dynamic allocation for required wad list and optional debug info 2026-03-22 14:20:59 +05:00
ksagameng
11c7c1b77d scripts: ios: enable decay build in buildallmods.sh 2026-03-19 22:36:51 +05:00
ksagameng
93cb146f39 engine: common: Disable changegame menu on iOS 2026-03-19 22:36:51 +05:00
ksagameng
59dbe1d01e ios: Add entitlements.plist and codesign the generated ipa with said plist in createipa.sh 2026-03-19 22:36:51 +05:00