Alibek Omarov
3ddd1e2448
engine: common: fix LZSS on big endian
2026-04-24 06:58:53 +05:00
Владислав Сухов
480f29e96e
engine: common: mod_studio: fix model traversal and crash in Mod_StudioComputeBounds
...
Mod_StudioComputeBounds incorrectly assumed that all models across all body parts were laid out contiguously in memory. This caused out-of-bounds reads or reading garbage data when loading complex models, leading to crashes.
2026-04-24 01:13:46 +05:00
Zane van Iperen
95548053eb
engine: common: set cmd_args to "" when tokenising, if we've no arguments
...
Fixes metamod-fwgs[1] breaking when CMD_ARGS() returns NULL.
[1]: eedede40e8/metamod/src/commands_meta.cpp (L63)
2026-04-22 21:27:27 +05:00
Alibek Omarov
5383e36af5
engine: net_chan: fix off-by-one error when trying to decompress packet
2026-04-19 20:50:42 +05:00
Alibek Omarov
897fb98b93
engine: net_chan: fix Netchan_AddBufferToList leaking pointer
2026-04-19 20:43:32 +05:00
Alibek Omarov
ae233ac491
Merge branch 'refapi-15'
2026-04-16 23:19:06 +05:00
Владислав Сухов
dd1cb04cb7
engine: client: sdl: add support for built-in device gyroscope using SDL2 Sensor API (Android/iOS)
2026-04-16 00:15:35 +05:00
Alibek Omarov
dd3583d11a
engine: move details textures parser to the engine
2026-04-14 21:18:57 +05:00
Alibek Omarov
f5f6d9bbe4
engine: move sprite texture loading back to engine, only leave rendering for renderer
2026-04-13 13:01:18 +05:00
Sergey Degtyar
e87f307ac1
engine: image: fix blue halo around sprays
2026-04-10 15:00:02 +05:00
Alibek Omarov
055d646225
ref: gl: merge refactoring changes from litwater branch
2026-04-09 11:43:47 +05:00
ksagameng
a2514b6916
platform: ios: Remove FTP server as latest apple clang broke it
2026-04-09 10:25:18 +05:00
ksagameng
a82221e3df
engine: platform: No more lib_ios, use FS_FindLibaray to load dylibs instead
2026-04-09 10:25:18 +05:00
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
6c3f8c7ec5
engine: mod_bmodel: allow nearest on quake skybox
2026-04-06 06:55:52 +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
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
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
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
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
6b97fc1825
engine: fix tests build on Win32
2026-04-01 06:02:08 +05:00
Alibek Omarov
d8d1ebf23c
engine: cleanup unused functions
2026-03-26 02:24:30 +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
93cb146f39
engine: common: Disable changegame menu on iOS
2026-03-19 22:36:51 +05:00
ksagameng
d6dc77d409
engine: common: Change macro for consistency
2026-03-19 22:36:51 +05:00
Alibek Omarov
d8bab034c2
engine: client: extend the supported key list for international keyboards, small refactoring of old smelly code
2026-03-19 15:41:12 +05:00
Alibek Omarov
32d73e62f4
engine: minor refactoring, remove host.apply_game_config as it's unused
2026-03-05 06:06:04 +05:00
Alibek Omarov
b353ec463a
engine: host: move exec, userconfigd and memstats to it's respective files
2026-03-05 04:44:19 +05:00
Alibek Omarov
36be731893
engine: cmd: make all command buffers size static
2026-03-05 04:42:56 +05:00
Alibek Omarov
0389ef3b04
game_launch: simplify
2026-03-05 02:58:00 +05:00
Alibek Omarov
af5d190bc4
engine: common: mod_bmodel: make texture name array larger so it fits both world name and miptex name
2026-03-04 06:06:00 +05:00
Alibek Omarov
c19a824a42
public: add Q_memfgets, replacement for COM_MemFgets rewritten using crtlib functions. Add a test
2026-03-01 03:04:33 +05:00
Alibek Omarov
53c5a33ffd
engine: only switch to console on Host_Error when developer mode is enabled
2026-02-28 20:39:34 +05:00
Alibek Omarov
711d15958c
engine: color Host_Error red to make it more visible in the console
2026-02-28 20:39:13 +05:00
Alibek Omarov
56255f6de0
engine: client: add simple test for titles.txt parser
2026-02-28 01:49:25 +05:00
Alibek Omarov
9a285986c4
public: reimplement COM_TrimSpace, add it to crtlib, add tests for it
2026-02-28 00:05:37 +05:00
Alibek Omarov
62c547570a
engine: minor refactoring
2026-02-27 23:00:39 +05:00
Alibek Omarov
f863e346f5
engine: reduce dependency on eiface.h
2026-02-26 10:29:09 +05:00
Alibek Omarov
e51f93a5b4
engine: remove unused hltv.h
2026-02-26 10:29:09 +05:00
Alibek Omarov
50147a3d48
common: replace HLSDK pmtrace.h and pm_movevars.h by it's QW counterparts
2026-02-26 10:29:09 +05:00