Alibek Omarov
4f98187e9a
engine: move select-based stdin input function to platform/posix
2024-12-24 11:13:05 +03:00
Alibek Omarov
cfebee6ea8
engine: split crashhandler to win32 and posix versions
2024-12-24 10:37:49 +03:00
Alibek Omarov
bd0d6644e0
engine: move Sys_SendKeyEvents to platform/win32
2024-12-24 09:59:47 +03:00
Alibek Omarov
70897af362
public: add dll helpers to simplify basic interaction with exported functions lists
2024-12-23 04:43:15 +03:00
Alibek Omarov
ac9d960eef
engine: common: get rid of NULL sentinels at the end of arrays
2024-12-22 07:22:10 +03:00
Alibek Omarov
0c471aecb1
engine: common: imagelib: get rid of NULL sentinels at the end of arrays
2024-12-22 07:21:06 +03:00
Alibek Omarov
1dd622fcbb
engine: client: keys: refactoring, remove NULL sentinels, make keys structs and few more functions private to keys.c file
2024-12-21 15:22:48 +03:00
Alibek Omarov
af4b64983a
engine: fix a typo in Cmd_AddFilteredCommand flags passed to Cmd_AddCommandEx. Make them return Cmd_AddCommandEx value
2024-12-21 15:01:04 +03:00
Alibek Omarov
e751092555
engine: common: cmd: consider filtered buffer privileged when we're running local singleplayer game
2024-12-20 05:48:33 +03:00
Alibek Omarov
a834f4996f
engine: move client adding functions to their appropriate subsystems and make them static. Make in-engine functions inlined.
2024-12-20 05:47:46 +03:00
Alibek Omarov
3f1eed9f59
engine: client: remove svc_goldsrc_* definitions for message that semantics matches Xash3D 49 protocol and instead use it's definitions
2024-12-20 01:51:24 +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
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
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
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
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
e982b7911f
engine: soundlib: implemented Ogg Opus sounds playback
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
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
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
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
a29b6772b9
engine: mod_bmodel: fix wadlist, wad file names don't have an extension there
2024-11-18 04:53:48 +03:00
Alibek Omarov
56c19c4f5a
engine: client: make some simple functions, like querying entity by index, getting local player, inline
2024-11-17 13:37:32 +03:00
Alibek Omarov
229f1560b0
engine: fix some possible off by one errors
2024-11-17 13:04:20 +03:00
Alibek Omarov
8f7f311f60
engine: mod_bmodel: simplify wadlist parser
2024-11-17 06:28:02 +03:00
Alibek Omarov
31a86d8af2
engine: use new Q_splitstr to work with single character delimited strings
2024-11-17 05:35:36 +03:00
Alibek Omarov
0813d2c7ce
engine: mod_bmodel: merge Mod_LoadColoredLightmap and Mod_LoadDeluxemap into a single function
2024-11-17 04:59:52 +03:00
Alibek Omarov
0ceb0d9e11
engine: provide compatible replacement for CompareFileTime function
2024-11-17 04:33:13 +03:00
Alibek Omarov
30db748dcb
engine: net_http: don't consider EISCONN an error, just proceed to next step
2024-11-17 03:13:39 +03:00
Alibek Omarov
399d549d0c
engine: net_ws: request Winsock 2
2024-11-17 03:13:39 +03:00
Alibek Omarov
77fb2d0eb2
engine: net_ws: fix misleading error when comparing IPv6 addresses
2024-11-15 16:41:42 +03:00
Alibek Omarov
ea88bb88b2
engine: add secondary master server
2024-11-15 15:25:40 +03:00
Alibek Omarov
823dc3d46f
engine: net_http: don't consider EALREADY on connect() an error
2024-11-14 22:55:27 +03:00
Alibek Omarov
4342689e73
engine: net_http: fix build with dedicated server
2024-11-12 14:46:06 +03:00
Alibek Omarov
8a2a7d1180
engine: rework how HTTP finite-machine works, use function pointers instead of enum. Preliminary chunked transfer and compression support. ( #1862 )
2024-11-11 10:30:15 +03:00
Alibek Omarov
16ed6cbdcb
engine: mark some functions as never returning nullptr
2024-11-07 16:11:58 +03:00
Alibek Omarov
d15949d2e8
Rename _format to FORMAT_CHECK
2024-11-07 14:24:07 +03:00
Alibek Omarov
06e476e8c8
engine: reorder mstudiocache_t fields for better memory efficiency
2024-11-06 01:39:46 +03:00