Alibek Omarov
48cc526c7e
engine: client: fix possible svc_pings misparse by reading until null bit is encountered
2024-12-15 18:22:40 +03:00
Alibek Omarov
75adb2e686
engine: server: for entities physics code directly use cvar values rather than movevars. Leave movevars to player movement only
2024-12-08 01:39:24 +03:00
Alibek Omarov
0a85734ae7
engine: server: avoid useless copying in SV_GetClientIDString for bots or local clients
2024-12-05 19:49:51 +03:00
Alibek Omarov
5007f8488c
engine: host: add simple usage help for -bugcomp flag
2024-12-05 18:29:54 +03:00
Alibek Omarov
f7062498c2
engine: turn old pfnGetGameDir behavior into a bugcomp flag get_game_dir_full
...
This function is kinda nasty, some mods (like old RCBot builds) expect a slash,
some newer mods (like Sandbot) doesn't. To preserve compatibility with both old
and new mods, just add it as bug compatibility flag.
2024-12-05 18:14:15 +03:00
Alibek Omarov
964744d330
engine: client: fix broken build due to incorrect constant being used
2024-12-05 14:20:43 +03:00
Alibek Omarov
f5d635b67b
engine: client: allow VOX words use other formats than WAV
2024-12-05 12:41:56 +03:00
Alibek Omarov
d0112a98b5
engine: client: improve error reporting in VOX_LoadSound, allow longer result paths, fix possible buffer overflow
2024-12-05 12:41:56 +03:00
Alibek Omarov
614b9113ad
engine: platform: as an exception, allow calling direct platform-specific implementations of Platform_Sleep to make them inlined
2024-12-04 18:37:55 +03:00
Alibek Omarov
e14cd758ad
engine: turn Platform_Sleep into an inline function that directly calls platform-specific delay functions
2024-12-04 18:32:03 +03:00
Alibek Omarov
342d61b283
engine: platform: sdl: always call SDL_Quit in Platform_Shutdown
2024-12-04 16:14:56 +03:00
Alibek Omarov
b030cdb4e3
engine: client: add NULL check to prevent crash if in_graph key doesn't exist in client.dll
2024-12-03 21:56:06 +03:00
Alibek Omarov
18a973d4f2
engine: server: always set sv_background to zero on server shutdown rather than on server dll unload
2024-12-03 21:02:37 +03:00
Alibek Omarov
51fa7d2611
wscript: strip lib prefix from new opus and vorbis targets, don't link them in dedicated
2024-12-02 21:59:11 +03:00
Alibek Omarov
6d00aef398
engine: move soundlib onto client, only leave snd_utils with some functions that's engine core or server are dependent on
2024-12-02 21:05:41 +03:00
Alibek Omarov
2d52dae69c
engine: common: soundlib: reformat everything using uncrustify
2024-12-02 21:05:34 +03:00
Alibek Omarov
c39d2e243a
wscript: look for system provided vorbis and opus dependencies
...
In some configuration, like Flatpak, on dev machines or when packaging for *nix
we can safely link with system libraries.
2024-12-02 21:04:28 +03:00
SNMetamorph
593b0f295a
engine: soundlib: added proper errors reporting for Ogg Opus sound routines
2024-12-02 20:36:33 +03:00
SNMetamorph
7c23b6473c
engine: soundlib: added proper errors reporting to Ogg Vorbis sound routines
2024-12-02 20:36:33 +03:00
SNMetamorph
960a3a1483
engine: soundlib: minor codestyle and headers-related fixes
2024-12-02 20:36:33 +03:00
SNMetamorph
73cf55b958
wscript: link sound format related libraries in XASH_DEDICATED build mode
2024-12-02 20:36:33 +03:00
SNMetamorph
b7c2c476a8
engine: soundlib: implemented sound looping feature for Ogg Vorbis
2024-12-02 20:36:33 +03:00
SNMetamorph
fa152bef20
engine: soundlib: implemented sound looping feature for Ogg Opus
2024-12-02 20:36:33 +03:00
SNMetamorph
770054daaf
engine: soundlib: implemented Ogg Opus sounds streaming
2024-12-02 20:36:33 +03:00
SNMetamorph
2ad5066271
engine: soundlib: different Ogg sound formats split to separate files
2024-12-02 20:36:33 +03:00
SNMetamorph
99acd64203
engine: soundlib: implemented Ogg Vorbis sounds streaming
2024-12-02 20:36:33 +03:00
SNMetamorph
86154f81aa
engine: soundlib: allowed resampling sounds with rate >44kHz
2024-12-02 20:36:33 +03:00
SNMetamorph
e982b7911f
engine: soundlib: implemented Ogg Opus sounds playback
2024-12-02 20:36:33 +03:00
SNMetamorph
4e138ee795
engine: wscript: link libopusfile dependency
2024-12-02 20:36:33 +03:00
SNMetamorph
8fce7dc78e
engine: soundlib: initially implemented Ogg Vorbis sounds playback
2024-12-02 20:36:33 +03:00
SNMetamorph
d618b817ca
engine: wscript: link libvorbisfile dependency
2024-12-02 20:36:33 +03:00
Alibek Omarov
38ef16b08b
engine: server: do not unload server library on win327
2024-12-01 11:21:02 +03:00
Alibek Omarov
1f5c97964b
engine: return full path in server's pfnGetGameDir, if possible
2024-11-30 09:28:30 +03:00
Alibek Omarov
df4194ca57
engine: net_chan: check BZ2 functions return value and log if it's not BZ_OK
2024-11-28 19:27:13 +03:00
Alibek Omarov
888599677e
engine: net_chan: fix size of outgoing BZ2 compressed packets
2024-11-28 18:50:55 +03:00
Alibek Omarov
0154ffa060
wscript: try to automatically set console subsystem flag depending on target features
...
Remove subsystem flag from shlibs and stlibs, it's only required for executables.
2024-11-27 15:43:13 +03:00
Alibek Omarov
6b24b263ab
engine: host: expose new -clientport settings. Realign options
2024-11-25 02:53:28 +03:00
Alibek Omarov
75b69fbf85
engine: net_ws: allow setting custom client port
2024-11-25 02:51:40 +03:00
Alibek Omarov
23b410ccb0
engine: mod_bmodel: optimize loading wad textures by directly loading it from the archive through new filesystem functions
2024-11-23 15:04:05 +03:00
Alibek Omarov
bf6a9cb0e7
engine: client: make R_GetTextureParms inlined
2024-11-23 15:02:13 +03:00
Alibek Omarov
689e29bc42
engine: client: only load paused icon when requested
2024-11-23 15:01:50 +03:00
Alibek Omarov
b316af13d6
engine: client: only load tile image when requested
2024-11-23 15:01:50 +03:00
Alibek Omarov
e7f939c87b
engine: always add .wad extension to wadlist names to simplify how it's being used
2024-11-23 14:01:09 +03:00
Alibek Omarov
0db2597d1e
engine: platform: psvita: try to explicitly export strtok() function
2024-11-21 05:31:43 +03:00
Alibek Omarov
b9f4f1eba4
engine: client: fix engine features masking for 48 and 49 protocol
2024-11-20 04:16:44 +03:00
Alibek Omarov
fa272d9d93
public: add optional feature for COM_ParseFileSafe to ignore shell like hash symbol prefixed comments
2024-11-18 14:14:49 +03:00
Alibek Omarov
87f0217588
engine: client: add cl_showcmd, yet another debugging aid to print current usercmd state
2024-11-18 10:42:39 +03:00
Alibek Omarov
c4f71f1a44
engine: client: remove unncesseray int <-> qboolean branch in CL_GetMessage
2024-11-18 10:42:39 +03:00
Alibek Omarov
af332eb8ac
engine: client: validate dem_usercmd size before reading it into the buffer
2024-11-18 10:42:39 +03:00
Alibek Omarov
ac6dc2c2d3
engine: platform: directly call __NR_gettid syscall for compatibility with older systems
2024-11-18 10:42:39 +03:00