Alibek Omarov
|
823fe9ebbd
|
waf: upgrade to waf 2.1.1/waifu 1.3.0. Try to fix most optparse->argparse migration issues
|
2024-05-25 04:58:28 +03:00 |
|
Alibek Omarov
|
4bf72b5383
|
engine: forbid accessing cvars starting with con_ and scr_ through stufftext
Some stupid servers might mess up with console cvars values.
|
2024-05-25 02:26:42 +03:00 |
|
Alibek Omarov
|
51945f002b
|
engine: server: check for invoker entity when filtering out host client during entities thinking
|
2024-05-23 02:06:54 +03:00 |
|
Alibek Omarov
|
bcca9387de
|
engine: server: sv_pmove: always set FEV_NOTHOST for events coming from PMove (like GoldSrc)
|
2024-05-23 01:51:42 +03:00 |
|
Alibek Omarov
|
6c03fb0226
|
engine: client: first attempt to use utflib to replace Con_UtfProcessCharForce calls
|
2024-05-15 05:25:53 +03:00 |
|
Alibek Omarov
|
2e0fc3e4c1
|
engine: client: do not repeatedly check cl_charset value, use generic Con_UtfProcessChar
|
2024-05-15 05:06:57 +03:00 |
|
Alibek Omarov
|
052e0445ab
|
engine: client: console: cleanup input buffer from line feed characters before pushing it to the console history
|
2024-05-15 03:08:22 +03:00 |
|
Alibek Omarov
|
f4a77308ec
|
engine: soundlib: fix possible buffer overflow in Sound_ConvertUpsample
|
2024-05-06 15:45:49 +03:00 |
|
Alibek Omarov
|
75a315ecf0
|
engine: client: add optional (compile time for now) setting to reconfigure engine to use 48kHz sounds
|
2024-05-06 15:10:34 +03:00 |
|
Alibek Omarov
|
63b3b9ef6d
|
engine: client: fix missing upsampling for >32kHz sounds
|
2024-05-06 15:09:52 +03:00 |
|
Alibek Omarov
|
a6c2cfe89b
|
engine: avoid constants in Q_strncpy third argument, where possible
|
2024-05-06 14:27:26 +03:00 |
|
Alibek Omarov
|
5120657386
|
engine: fix possible buffer overflow in S_StreamGetCurrentState
|
2024-05-06 06:53:22 +03:00 |
|
Alibek Omarov
|
e754de46d1
|
engine: client: fix buffer overflow in S_FindName
|
2024-05-06 06:42:47 +03:00 |
|
Alibek Omarov
|
55fcbc8880
|
engine: soundlib: implement linear interpolation in Sound_ResampleInternal
* split resampling into three functions
* added resampling using SDL_AudioCVT, it's slow, so isn't enabled by default
|
2024-05-06 06:41:23 +03:00 |
|
Alibek Omarov
|
e19aa001b2
|
engine: client: ref_common: slight refactoring, reorder ref_state_t
|
2024-05-06 01:59:50 +03:00 |
|
Alibek Omarov
|
b447ea9c18
|
engine: client: remove unused fields in client_static_t
|
2024-05-06 01:59:14 +03:00 |
|
Alibek Omarov
|
13274655d4
|
engine: client: sound: slight refactoring, removed unused s_listener.velocity
|
2024-05-06 01:30:06 +03:00 |
|
Alibek Omarov
|
3723ac60ef
|
engine: client: s_mix: _inline -> static
|
2024-05-06 00:51:32 +03:00 |
|
Alibek Omarov
|
da578f47f1
|
engine: client: fix sounds being paused in menu and then blasted all at the same time in multiplayer
|
2024-05-06 00:41:38 +03:00 |
|
Alibek Omarov
|
433e7de686
|
engine: clean up unused soundlib flags, set SOUND_LOOPED flag on looped sounds
|
2024-05-05 06:16:57 +03:00 |
|
Alibek Omarov
|
e18e9ae2ea
|
engine: platform: sdl: ignore keyboard events if text mode is active
|
2024-05-04 11:05:17 +03:00 |
|
Alibek Omarov
|
94d3eff9ce
|
engine: host: fix build with Q_strchrnul returning const char *
|
2024-05-03 15:31:20 +03:00 |
|
Alibek Omarov
|
31c0934108
|
engine: fix parsing -bugcomp flags, assume bugcomp flags only starts with alphabetic character
|
2024-05-03 06:28:48 +03:00 |
|
Alibek Omarov
|
dd410a2de5
|
engine: implement small Message Rewrite Facitility that allows to run mods that directly write internal GoldSrc messages
|
2024-04-28 06:59:18 +03:00 |
|
Alibek Omarov
|
2f3429a144
|
engine: common: base_cmd: use flexible array to store basecmd name
|
2024-04-28 06:59:18 +03:00 |
|
Alibek Omarov
|
20782693f4
|
engine: server: rename symbols for svs, sv and SV_DropClient to avoid AMXModX trying to acquire their pointers
|
2024-04-28 06:59:18 +03:00 |
|
Alibek Omarov
|
9be5b7c6c9
|
engine: physint: empty-define ALLOC_CHECK if not defined by SDK, so this header can be freely moved to another SDK
|
2024-04-28 06:59:18 +03:00 |
|
Alibek Omarov
|
e7653d2ea6
|
engine: soundlib: fix searching for a RIFF/WAVE chunks in streams
|
2024-04-27 10:51:56 +03:00 |
|
Alibek Omarov
|
1494887e29
|
engine: soundlib: snd_wav: replace strncmp by IsFourCC helper function
|
2024-04-26 06:29:38 +03:00 |
|
Alibek Omarov
|
42dab2b1a5
|
engine: soundlib: snd_wav: attempt to fix misleading warning about truncated file
|
2024-04-26 06:25:18 +03:00 |
|
Alibek Omarov
|
60c6767337
|
filesystem: copy absolute path to library in FS_FindLibrary for compatibility
Extend fullPath for longer absolute paths.
|
2024-04-22 04:02:46 +03:00 |
|
Alibek Omarov
|
75451cc7fa
|
engine: client: print correct message names in legacymode
|
2024-04-22 04:02:46 +03:00 |
|
Alibek Omarov
|
db10035d9d
|
engine: add GoldSrc protocol definitions
|
2024-04-22 04:02:46 +03:00 |
|
Alibek Omarov
|
de21d845ec
|
engine: don't forget to put newline at the end of overflowed console message
|
2024-04-21 20:21:17 +03:00 |
|
Alibek Omarov
|
320f8466e6
|
engine: hpak: don't print error about missing custom.hpak in quiet mode
|
2024-04-21 20:05:37 +03:00 |
|
Alibek Omarov
|
f3208e95b2
|
engine: server: remove misleading message about interface version in case when GetEntityAPI2 has failed
Add message when GetEntityAPI was used instead
|
2024-04-21 20:05:34 +03:00 |
|
Alibek Omarov
|
ea34bc8652
|
engine: turn bugcomp into flags that can be enabled/disabled separately
|
2024-04-21 16:52:15 +03:00 |
|
Alibek Omarov
|
ca9d3d262a
|
engine: common: net_encode: directly call MSG_ReadSBitLong for DT_TIMEWINDOW_*, don't do the multiplier check for DT_TIMEWINDOW_BIG
|
2024-04-20 20:48:01 +03:00 |
|
Alibek Omarov
|
a08f5e439d
|
engine: common: net_encode: fix comparing DT_TIMEWINDOW_* fields
Fixes: 35783bcec2 ("engine: common: net_encode: fix inaccuracy in DT_TIMEWINDOW_* encoding")
|
2024-04-19 01:51:25 +03:00 |
|
Alibek Omarov
|
8f6771dff4
|
engine: common: zone: check that Mem_FindPool might return NULL (it can if Sys_Error was called inside of a Sys_Error)
|
2024-04-19 00:14:26 +03:00 |
|
Alibek Omarov
|
cd47c6b5b3
|
engine: common: zone: disallow migrating allocations from one pool to another, as this isn't practically used anywhere
|
2024-04-19 00:14:26 +03:00 |
|
Alibek Omarov
|
1f4f3d7fda
|
engine: common: zone: remove mempool sentinels as pools aren't subject to buffer overflow or double free anymore
|
2024-04-19 00:14:26 +03:00 |
|
Alibek Omarov
|
e81b5144b3
|
engine: common: zone: use realloc for managing mem pools
rearrange data in memheader_s to avoid unnecessary paddings
|
2024-04-19 00:14:26 +03:00 |
|
Alibek Omarov
|
9ec1caed53
|
engine: common: zone: implement dummy Q_realloc for XASH_CUSTOM_SWAP
|
2024-04-19 00:14:26 +03:00 |
|
Alibek Omarov
|
ca3b4a9d7f
|
engine: host: oops
|
2024-04-18 16:48:41 +03:00 |
|
Alibek Omarov
|
87ac217887
|
engine: common: net_encode: add bitmask operation to delta tests
|
2024-04-18 16:44:15 +03:00 |
|
Alibek Omarov
|
213650db8f
|
engine: exit with non-zero return code if engine tests are failed
|
2024-04-18 16:36:18 +03:00 |
|
Alibek Omarov
|
ac46164a6e
|
engine: common: net_encode: implement basic delta tests
|
2024-04-17 20:27:22 +03:00 |
|
Alibek Omarov
|
6d12d84e94
|
engine: common: net_encode: apply post_multiplier to integer fields, like GoldSrc does
|
2024-04-17 06:23:22 +03:00 |
|
Alibek Omarov
|
2a18cde60c
|
engine: common: net_encode: fix applying integer clamp before multiplier
Without this fix, data still might overflow after applying multiplier
and potentially send incorrect data.
|
2024-04-17 06:16:44 +03:00 |
|