Alibek Omarov
|
639eaa9416
|
engine: split HTTP client into a separate file
|
2024-10-27 17:07:35 +03:00 |
|
Alibek Omarov
|
2656eb1aeb
|
engine: fix A2S_GOLDSRC_INFO, it must always include Source Engine Query and a null terminator
|
2024-10-26 20:24:31 +03:00 |
|
Alibek Omarov
|
fa1e92b127
|
engine: request file from server if HTTP locations failed
|
2024-10-26 20:24:31 +03:00 |
|
Alibek Omarov
|
3956e3863e
|
engine: make Netchan_TransmitBits accept const data
|
2024-10-26 19:19:37 +03:00 |
|
Alibek Omarov
|
267a70d621
|
engine: common: don't print svc/clc_nop with net_recv/send_debug
|
2024-10-26 05:18:09 +03:00 |
|
Alibek Omarov
|
cd4f4d5ad4
|
engine: common: fix hpkextract command
|
2024-10-26 05:15:09 +03:00 |
|
Alibek Omarov
|
fe429fe213
|
engine: common: net_ws: fix HTTP request when server have custom port and/or doesn't have slash at the end of URL. Set Accept: */* just in case.
|
2024-10-26 05:14:51 +03:00 |
|
Alibek Omarov
|
a3e26a21a7
|
engine: common: net_chan: as we expect pfnBlockSize to be always set, use it to determine if netchan was initialized or not
|
2024-10-21 02:30:49 +03:00 |
|
Alibek Omarov
|
fee236a050
|
engine: common: net_ws: make NET_IsLocalAddress inline
|
2024-10-19 14:08:27 +03:00 |
|
Alibek Omarov
|
e3e4bcc015
|
engine: global refactoring of connectionless packets, now they can be customized from single protocol.h header
|
2024-10-19 14:05:00 +03:00 |
|
Alibek Omarov
|
2d546ccbf7
|
engine: implement CL_MsgInfo for dedicated server
|
2024-10-18 03:13:43 +03:00 |
|
Alibek Omarov
|
da76abda75
|
engine: even more refactorings to avoid global cls.legacymode usage, now with GoldSrc server autodetection
|
2024-10-16 07:31:27 +03:00 |
|
Alibek Omarov
|
12edd782c6
|
engine: common: net_chan: always rely on pfnBlockSize being non-null
|
2024-10-16 06:59:33 +03:00 |
|
Alibek Omarov
|
0b59fa9416
|
engine: swap Cvar_VariableInteger and simple integer checks for performance
|
2024-10-16 06:57:46 +03:00 |
|
Alibek Omarov
|
e7564420c9
|
engine: fix some ubsan warnings (alignment, integer limits...)
|
2024-10-16 00:32:22 +03:00 |
|
Alibek Omarov
|
23a5ed71de
|
engine: easier MSG_EndBitWriting byte padding
|
2024-10-15 06:14:37 +03:00 |
|
Alibek Omarov
|
245dc97cfb
|
engine: semi-correct printing GoldSrc client messages
|
2024-10-15 06:12:31 +03:00 |
|
Alibek Omarov
|
ece204c30f
|
engine: common: add cvars net_send_debug and net_recv_debug to print server/client messages to console
|
2024-10-15 06:11:57 +03:00 |
|
Alibek Omarov
|
5402a9611e
|
engine: common: fix discarded const qualifier
|
2024-10-14 19:41:36 +03:00 |
|
Alibek Omarov
|
43e06ccd45
|
engine: common: make some simple functions inlined
|
2024-10-14 19:20:47 +03:00 |
|
Alibek Omarov
|
f52c825bf5
|
engine: make some global variables static and const, make even more functions static if possible
|
2024-10-14 19:19:46 +03:00 |
|
Alibek Omarov
|
bf8b709372
|
engine: move pm_debug particle functions to client, as they are never used on server
|
2024-10-14 19:11:26 +03:00 |
|
Alibek Omarov
|
5bcd573821
|
engine: remove goldsrc meta delta table reinitialization
|
2024-10-14 06:54:41 +03:00 |
|
Alibek Omarov
|
c5a291d9c7
|
engine: minor refactoring
|
2024-10-14 05:17:21 +03:00 |
|
Alibek Omarov
|
232a8c1148
|
engine: common: net_ws: don't expect more than 5 splits for GoldSrc protocol
|
2024-10-14 05:17:03 +03:00 |
|
Alibek Omarov
|
0b2cc066dd
|
engine: fix signed integers encoding with alternate format for GoldSrc protocol
|
2024-10-11 20:36:09 +03:00 |
|
Alibek Omarov
|
1d64635783
|
engine: correctly check for cls.legacymode, as it's not a boolean anymore
|
2024-10-11 00:08:21 +03:00 |
|
Alibek Omarov
|
fe2a4d0428
|
engine: common: net_encode: remove DT_SIGNED_GS flag just in case
|
2024-10-10 23:40:23 +03:00 |
|
Alibek Omarov
|
6bdc1941e6
|
engine: common: netchan: only compress with BZip2 when it's efficient
|
2024-10-10 23:40:23 +03:00 |
|
Alibek Omarov
|
18afaf0eaf
|
engine: client: more accurate clc_move for GoldSrc protocol
|
2024-10-10 23:38:55 +03:00 |
|
Alibek Omarov
|
8d731b5d15
|
engine: common: fix for dedicated again
|
2024-10-08 16:41:25 +03:00 |
|
Alibek Omarov
|
38c0dc4551
|
3rdparty: bzip2: properly use stdio-free version, don't include tests and utils to the build
|
2024-10-08 15:39:56 +03:00 |
|
Alibek Omarov
|
9970c56218
|
engine: common: disable bzip2 for dedicated server, it's not used there
|
2024-10-08 12:14:37 +03:00 |
|
Alibek Omarov
|
ccbe370c8e
|
engine: client: add support for parsing GoldSrc messages
|
2024-10-08 04:07:03 +03:00 |
|
Alibek Omarov
|
9706e47643
|
engine: client: refactor and implement GoldSrc-specific parsing bits in common message parsing code
|
2024-10-08 03:28:02 +03:00 |
|
Alibek Omarov
|
ba7c789ec9
|
engine: common: add GoldSrc delta support
|
2024-10-08 03:28:02 +03:00 |
|
Alibek Omarov
|
d128997d40
|
engine: common: add GoldSrc bitbuf operations, add support for GoldSrc signed integers
|
2024-10-08 03:28:02 +03:00 |
|
Alibek Omarov
|
61342547ce
|
engine: common: add support for GoldSrc split packet
|
2024-10-08 03:28:02 +03:00 |
|
Alibek Omarov
|
c1a5f173b8
|
engine: common: add GoldSrc netchan support
|
2024-10-08 03:28:02 +03:00 |
|
Alibek Omarov
|
f5c5b7b2c8
|
engine: common: add buffer munge functions
|
2024-10-08 03:28:02 +03:00 |
|
Alibek Omarov
|
03bf6cb719
|
engine: client: get rid of PROTOCOL_GOLDSRC_VERSION, as connprotocol_t enum does it's job
|
2024-10-08 03:27:32 +03:00 |
|
Alibek Omarov
|
3a1bb12830
|
engine: client: rename CL_LegacyMode to CL_Protocol
|
2024-10-08 03:27:09 +03:00 |
|
Alibek Omarov
|
5efa68757e
|
engine: remove unused svc_deltapacketbones
|
2024-10-08 03:27:09 +03:00 |
|
Alibek Omarov
|
afaf5bf3ea
|
engine: improve security a little bit by properly checking customization files starting with \!MD5
Implement basic test for COM_IsSafeFileToDownload
Move COM_ParseFileSafe test to libpublic
|
2024-10-08 03:22:53 +03:00 |
|
SNMetamorph
|
50c805826f
|
engine: implemented handling SIGTERM signal for proper stopping dedicated server
|
2024-10-08 01:05:26 +03:00 |
|
Alibek Omarov
|
6c531c14e6
|
engine: common: cvar: compatibility hack for mods that depend on HL25 widescreen FOV
Fixes Natural Selection 3.3 beta 9.
|
2024-10-04 19:09:43 +03:00 |
|
Alibek Omarov
|
e11635d15c
|
engine: server: slight refactoring, hide client calls under XASH_DEDICATED, remove useless dedicated stub
|
2024-10-04 01:22:59 +03:00 |
|
Alibek Omarov
|
7ccf651fd0
|
engine: cvar: implement safer cvar unlinking in case when game deallocates cvar
|
2024-10-03 15:32:14 +03:00 |
|
Alibek Omarov
|
67af41cce8
|
engine: common: net_ws: more minor refactoring, avoid memcpy for same type structs
|
2024-10-02 23:30:42 +03:00 |
|
Alibek Omarov
|
e2c96e62e1
|
engine: common: net_ws: drop IPv4 mapped as IPv6 support, it's an artifact from dual-stacking experiments and not used anymore
|
2024-10-02 23:26:28 +03:00 |
|