2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00
Commit Graph

4231 Commits

Author SHA1 Message Date
fa272d9d93 public: add optional feature for COM_ParseFileSafe to ignore shell like hash symbol prefixed comments 2024-11-18 14:14:49 +03:00
87f0217588 engine: client: add cl_showcmd, yet another debugging aid to print current usercmd state 2024-11-18 10:42:39 +03:00
c4f71f1a44 engine: client: remove unncesseray int <-> qboolean branch in CL_GetMessage 2024-11-18 10:42:39 +03:00
af332eb8ac engine: client: validate dem_usercmd size before reading it into the buffer 2024-11-18 10:42:39 +03:00
ac6dc2c2d3 engine: platform: directly call __NR_gettid syscall for compatibility with older systems 2024-11-18 10:42:39 +03:00
a29b6772b9 engine: mod_bmodel: fix wadlist, wad file names don't have an extension there 2024-11-18 04:53:48 +03:00
3691f02359 public: crtlib: make Q_strchrnul return non-const pointer, like strchr 2024-11-17 13:56:31 +03:00
622d88eeba engine: client: only check active tempentities when detaching player following tents 2024-11-17 13:38:14 +03:00
56c19c4f5a engine: client: make some simple functions, like querying entity by index, getting local player, inline 2024-11-17 13:37:32 +03:00
c5471fe6fd engine: server: make SV_IsPlayerIndex and SV_HavePassword inline 2024-11-17 13:36:40 +03:00
046b1da8a8 ref: fix some possible off by one errors 2024-11-17 13:26:03 +03:00
8fd5a5af96 filesystem: simplify ambient number bound check 2024-11-17 13:04:44 +03:00
229f1560b0 engine: fix some possible off by one errors 2024-11-17 13:04:20 +03:00
8f7f311f60 engine: mod_bmodel: simplify wadlist parser 2024-11-17 06:28:02 +03:00
721c8043f1 public: optimize COM_FileExtension 2024-11-17 06:20:52 +03:00
31a86d8af2 engine: use new Q_splitstr to work with single character delimited strings 2024-11-17 05:35:36 +03:00
ac7617990a public: add Q_splitstr function 2024-11-17 05:34:29 +03:00
0813d2c7ce engine: mod_bmodel: merge Mod_LoadColoredLightmap and Mod_LoadDeluxemap into a single function 2024-11-17 04:59:52 +03:00
0ceb0d9e11 engine: provide compatible replacement for CompareFileTime function 2024-11-17 04:33:13 +03:00
30db748dcb engine: net_http: don't consider EISCONN an error, just proceed to next step 2024-11-17 03:13:39 +03:00
399d549d0c engine: net_ws: request Winsock 2 2024-11-17 03:13:39 +03:00
77fb2d0eb2 engine: net_ws: fix misleading error when comparing IPv6 addresses 2024-11-15 16:41:42 +03:00
ea88bb88b2 engine: add secondary master server 2024-11-15 15:25:40 +03:00
190e4a5e8a engine: client: don't kill entity's beams if this entity number was never used on client
Fixes issue when beam was sent over to client before it's start point entity
(due to PVS, for example)
2024-11-15 08:07:21 +03:00
823dc3d46f engine: net_http: don't consider EALREADY on connect() an error 2024-11-14 22:55:27 +03:00
779cb2f721 engine: server: use calloc in SV_AllocString, allocate strings at stringspool preventing memory leaks. Fix strings deduplication on 64-bits. 2024-11-13 23:36:53 +03:00
88c42d50f2 engine: server: always allocate svgame.stringspool, it's used to track temp string allocations like in SV_CopyString
Potentially fixes memory leakage on 64-bit when game uses instanced baselines or consistency lists
2024-11-13 23:35:45 +03:00
a749bb8ef1 engine: server: reset str64 statistics on server deactivate 2024-11-13 23:32:05 +03:00
723cd8e26c engine: server: adjust 64-bit string pool size depending on max_edicts value (65k for each 1024 edicts) 2024-11-13 23:30:54 +03:00
a6592e7776 public: add test to check that pair Q_buildos and Q_buildarch return expected (for this build) data 2024-11-12 21:24:48 +03:00
4342689e73 engine: net_http: fix build with dedicated server 2024-11-12 14:46:06 +03:00
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
Vladimir
199e226758
Documentation updates and additions (#1875)
* Documentation: actualize and prettify entity tools instructions

* Documentation: added article about NAT bypass feature

* Documentation: updated GoldSrc protocol support article
2024-11-11 10:29:24 +03:00
16ed6cbdcb engine: mark some functions as never returning nullptr 2024-11-07 16:11:58 +03:00
b51d1a4e2e public: mark some functions as never returning nullptr 2024-11-07 16:11:40 +03:00
534adc9630 common: xash3d_types: add returns nonnull attribute 2024-11-07 15:46:10 +03:00
d15949d2e8 Rename _format to FORMAT_CHECK 2024-11-07 14:24:07 +03:00
43609bc77c mainui: update 2024-11-07 14:12:21 +03:00
3917e096ea engine: client: the most important change since forever, move downloading message a bit to the right so it looks better on 640x480 2024-11-07 14:12:10 +03:00
d1a571201b engine: client: s_mix: attempt to fix S_InterpolateCubic2x buffer overflow 2024-11-07 14:12:10 +03:00
8a8cdd2927 engine: client: another possible null pointer dereference 2024-11-07 14:12:10 +03:00
3ef4acecb5 Documentation: ports: clarify support for some merged but not tested ports. Add Dreamcast port repository by @maximqaxd 2024-11-07 11:23:21 +03:00
e8c1fc958f mainui: update 2024-11-07 10:18:16 +03:00
08bc4ccec4 3rdparty: opus: wscript: implement looking for C99 VLA or alloca 2024-11-07 10:15:19 +03:00
6ae62e3bb1 engine: platform: posix: include sys/filio.h to have FIONBIO declaration for networking code 2024-11-07 07:42:07 +03:00
397f2f208a engine: wscript: link libsocket on Solaris 2024-11-07 07:41:37 +03:00
8bebf698ef ref: fix out of bound access when the entity is marked as player but has invalid number
It's possible when client.dll passes a self allocated entity and wants to draw
it as player but doesn't initialize or set the entity number correctly.
2024-11-07 07:18:14 +03:00
6a2a2c33ee engine: client: don't go out of bounds if studio model don't have any sequences
Fixes models/null.mdl in Master Sword Rebirth. It's technically a valid model, though
completely useless for renderer.
2024-11-07 07:13:20 +03:00
0adda483c5 public: add definitions for Solaris 2024-11-07 07:12:30 +03:00
d8eb918cea filesystem: rename IVFileSystem009 to IFileSystem to avoid UBsan errors when debugging a mod that calls this interface using original headers 2024-11-06 19:46:22 +03:00